#abc203b. [abc203_b]AtCoder Condominium
[abc203_b]AtCoder Condominium
Problem Statement
A condominium AtCoder has floors, called the -st floor through the -th floor. Each floor has rooms, called the -st room through the -th room.
Here, both and are one-digit integers, and the -th room on the -th floor has the room number i0j
. For example, the -nd room on the -st floor has the room number .
Takahashi, the manager, got interested in the sum of the room numbers of all rooms in the condominium, where each room number is seen as a three-digit integer. Find this sum.
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
1 2
Sample Output 1
203
The condominium has two rooms and . We have .
Sample Input 2
3 3
Sample Output 2
1818