Score : 100 points
You are parking at a parking lot. You can choose from the following two fee plans:
Find the minimum fee when you park for N hours.
Input is given from Standard Input in the following format:
N A B
When the minimum fee is x yen, print the value of x.
7 17 120
119
Thus, the minimum fee is 119 yen.
5 20 100
100
The fee might be the same in the two plans.
6 18 100
100