100 atcoder#ABC203B. [ABC203B] AtCoder Condominium
[ABC203B] AtCoder Condominium
Score : points
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.
1 2
203
The condominium has two rooms and . We have .
3 3
1818