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?
Three natural numbers , , are the prices of the three products (1 \le a, b, c \le 10000).
Output the minimum amount to be paid.
Example 1