Score : $100$ points
There is a hotel with the following accommodation fee:
Tak is staying at this hotel for $N$ consecutive nights. Find his total accommodation fee.
The input is given from Standard Input in the following format:
$N$ $K$ $X$ $Y$
Print Tak's total accommodation fee.
5 3 10000 9000
The accommodation fee is as follows:
Thus, the total is $48000$ yen.
2 3 10000 9000