
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?
Three non-negative integers are given, representing the number of vanilla, chocolate, and fruit cakes, respectively. Each number does not exceed .
Print the maximum number of cakes that Dima can take.
Example 1