Store#1473

Store

1 second
64 megabytes
Very easy

In one of the largest stores in our city, a New Year's promotion has been announced. When you buy three items, you only pay for two, and the third one is free. However, the key detail of this promotion, as always, is in the fine print: the items you pay for are not chosen by you, but by the cashier. Naturally, the cashier will select the two most expensive items. You have decided to take advantage of this promotion and buy some items.

Write a program that determines how much you will have to pay for the three selected items.

Input

A single line contains three non-negative integers — the prices of the selected items. Each number does not exceed .

Output

Output a single integer — the maximum amount the cashier can charge for this purchase according to the promotion's rules.

Examples

Example 1

Loading
Loading