Discounts#7337

Discounts

1 second
64 megabytes
Very easy

In an electronics supermarket, if you believe the TV advertisement, there is a discount system: out of two purchased products, only the cost of the more expensive product is paid in full, and the other is given for free. What is the minimum amount you need to pay to buy all three products, if the price of each is known?

Input

Three natural numbers , , are the prices of the three products (1 \le a, b, c \le 10000).

Output

Output the minimum amount to be paid.

Examples

Example 1

Loading
Loading