Store
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've decided to take advantage of this promotion and purchase some items.
Write a program that calculates the total amount you will need to pay for the three selected items.
Input
A single line contains three non-negative integers, representing the prices of the selected items. Each number does not exceed 30,000.
Output
Output a single integer, which is the maximum amount the cashier can charge for this purchase, based on the promotion's rules.