Fito is travelling with a group of N friends (including Fito). Each person can travel by train or taxi. The train will cost each person $A$ pesos. The taxi will cost a total of $B$ pesos. How much is our minimum total travel expense?

The input contains only one line with the three integers $N$, $A$ and $B$.

$1 \leq N \leq 20$

$1 \leq A \leq 50$

$1 \leq B \leq 50$

Print an integer representing the minimum total travel expense.

Input

4 2 9

Output

8

Input

4 2 7

Output

7

Input

4 2 8

Output

8