Tuck-shop
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
![prb1286](https://static.e-olymp.com/content/50/50e525c90048ff6129043670dcdf670a33d6fe2d.jpg)
In the school cafeteria to the end of lessons there were some cakes: a vanilla, b chocolate and c fruit. Dima is going to buy cakes before closing the buffet. What is the maximum possible number of cakes can choose Dima?
Input
Three non-negative integers are given - the appropriate amount of cakes, each does not exceed 20000.
Output
Print the maximum possible number of cakes that Dima can choose.
Examples
Input #1
Answer #1
Submissions 24K
Acceptance rate 70%