Discounts
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
In the electronics supermarket, if you believe the TV advertisement, there is a system of discounts: 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 smallest amount you have to pay to buy all three products, if the price of each is known.
Input
Three natural numbers , , are the prices of three products .
Output
The price you will have to pay.
Examples
Input #1
Answer #1
Submissions 20K
Acceptance rate 37%