There are n students going to travel. And hotel has two types room:double room and triple room. The price of a double room is p2 and the price of a triple room is p3
Now you need to calulate the minimum total cost of these students.
The first line has three integers n, p2, p3
Output the minimum total cost.
1<=n<=10^9
1<=p2,p3<=10^9