Money On Me
Time limit2sMemory limit2048 MB
Given counts of 1000-yen and 10000-yen bills, the task is to print the total amount of money in yen.
- Level
Easy1 of 10
- Topics
- Implementation, Math
- Solved
- No attempts yet
Problem
Bi Taro has bills of 1 000 yen and bills of 10 000 yen. Print the total amount of money he has, without the unit (yen).
Input
The input is given in the following format.
A
B
Output
Print the amount of money Bi Taro has, without the unit (yen). Print only the answer. Do not print any prompt for input or any other text.
Constraints
1 ≦ A ≦ 100.1 ≦ B ≦ 100.- All input values are integers.