G - Group Trip

Time limit: 1 s
Memory limit: 128 MiB
Languages: C, C++, Java, Python, ... (details)

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?



Input

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$

Output

Print an integer representing the minimum total travel expense.

Sample test(s)

Input
4 2 9
Output
8
Input
4 2 7
Output
7
Input
4 2 8
Output
8