Problem Statement
In a test, you correctly answered $1$ problem worth $A$ points per $1$ problem, and correctly answered $B$ problems worth $300$ points per $1$ problem.
Output the total score of the problems you answered correctly.
Constraints
- $1000 \le A \le 32000$.
- $1 \le B \le 10$.
- All input values are integers.
Input
The input is given in the following format:
A B
Output
Output the total score of the problems you answered correctly.
Do not output anything other than the answer. (Do not output sentences prompting for input, etc.)
For the output format, you may also refer to Practice Problems and Their Sample Solutions.
Sample Input $1$
1000 1
Sample Output $1$
1300
In the test, you correctly answered $1$ problem worth $1000$ points per $1$ problem, and correctly answered $1$ problem worth $300$ points per $1$ problem.
The total score of the problems you answered correctly is $1000 \times 1 + 300 \times 1 = 1300$. Therefore, output $1300$.
Sample Input $2$
8000 2
Sample Output $2$
8600
In the test, you correctly answered $1$ problem worth $8000$ points per $1$ problem, and correctly answered $2$ problems worth $300$ points per $1$ problem.
The total score of the problems you answered correctly is $8000 \times 1 + 300 \times 2 = 8600$. Therefore, output $8600$.
Sample Input $3$
32000 3
Sample Output $3$
32900
In the test, you correctly answered $1$ problem worth $32000$ points per $1$ problem, and correctly answered $3$ problems worth $300$ points per $1$ problem.
The total score of the problems you answered correctly is $32000 \times 1 + 300 \times 3 = 32900$. Therefore, output $32900$.
Sample Input $4$
1000 10
Sample Output $4$
4000
In the test, you correctly answered $1$ problem worth $1000$ points per $1$ problem, and correctly answered $10$ problems worth $300$ points per $1$ problem.
The total score of the problems you answered correctly is $1000 \times 1 + 300 \times 10 = 4000$. Therefore, output $4000$.