School canteen#1286

School canteen

1 second
128 megabytes
Very easy
prb1286

In the school cafeteria, by the end of the lessons, several cakes remained: vanilla, chocolate, and fruit. Dima wants to buy some cakes before the cafeteria closes. What is the maximum number of cakes Dima can take?

Input

Three non-negative integers are given, representing the number of vanilla, chocolate, and fruit cakes, respectively. Each number does not exceed .

Output

Print the maximum number of cakes that Dima can take.

Examples

Example 1

Loading
Loading