#abc080a. [abc080_a]Parking
[abc080_a]Parking
Problem Statement
You are parking at a parking lot. You can choose from the following two fee plans:
- Plan : The fee will be yen (the currency of Japan) when you park for hours.
- Plan : The fee will be yen, regardless of the duration.
Find the minimum fee when you park for hours.
Constraints
- All input values are integers.
Input
Input is given from Standard Input in the following format:
Output
When the minimum fee is yen, print the value of .
Sample Input 1
7 17 120
Sample Output 1
119
- If you choose Plan , the fee will be yen.
- If you choose Plan , the fee will be yen.
Thus, the minimum fee is yen.
Sample Input 2
5 20 100
Sample Output 2
100
The fee might be the same in the two plans.
Sample Input 3
6 18 100
Sample Output 3
100