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.

Three natural numbers $a$, $b$, $с$ are the prices of three products $(1≤a,b,с≤10000)$.

The price you will have to pay.

Input #1

Answer #1