Given a natural three-digit number
a. Form a number
b such that: the number of hundreds in it would be equal to the sum of the digits of the number of units and tens of the number
a, tens in
b is equal to 2 times the number of tens in
a, and put the number 0 instead of ones.
Example
| test number |
Input |
Output |
| 1 |
473 |
1090 |