Robertinho has been considering buying another keyboard, one of his favorite objects. Since he is going to travel abroad and knows that some products can cost much less outside the country, he wants help deciding whether it is worth buying the new keyboard there.
In Brazil, where he lives, the keyboard costs $$$C$$$ reais, the local currency. In Nlogônia, the country he will visit, the same keyboard costs $$$K$$$ nlogarian dollars. Given that the exchange rate is $$$T$$$ reais per nlogarian dollar, after conversion, the cost of the purchase abroad is equivalent to $$$K \times T$$$ reais.
Given the information about the current exchange rate $$$T$$$, the cost in Brazil $$$C$$$, and the cost abroad $$$K$$$, determine the smallest amount (in reais) that Robertinho can pay for the product.
The input consists of a single line containing three integers $$$T$$$, $$$C$$$, and $$$K$$$ ($$$1 \leq T, C, K \leq 1000$$$), representing, respectively, the exchange rate, the price of the product in Brazil, and the price of the product abroad in the foreign currency.
Print a single line containing an integer: the smallest amount in reais that Robertinho can pay for the product.
5 30 5
25
10 10 2
10
Explanation for example 1
In this case, with a conversion rate of $$$T=5$$$ reais per nlogarian dollar, the purchase options are:
Therefore, the smallest amount Robertinho can pay is 25 reais.
| Название |
|---|


