Katya knows that the travel time from home to the metro on a scooter is $$$t$$$ seconds.
The cost of the ride on the scooter from company W is calculated as follows: first, the number of full minutes spent on the trip is determined, then this time is multiplied by 60 and used to calculate the cost at the rate of $$$c_1$$$ cents per second.
The cost of the ride on the scooter from company Y is calculated differently: first, the cost of the trip is calculated at the rate of $$$c_2$$$ cents per second, and then this amount is rounded up to the nearest whole euro.
Help Katya understand what is the minimum cost she can get to the metro on a scooter from one of these companies.
Recall that there are 100 cents in one euro.
The first line contains three integers $$$t$$$, $$$c_1$$$, and $$$c_2$$$ — the travel time in seconds, the fare in cents per second on the scooter from company W, and the fare in cents per second on the scooter from company Y ($$$1 \le t \le 1000$$$, $$$10 \le c_1, c_2 \le 20$$$).
Output the minimum cost of the ride in cents.
473 10 11
4200