Олимпиадный тренинг

Задача 3955. New number - 2


Задача

Темы: Целые числа
Given a natural three-digit number a. Form the number b, such that: the number of hundreds in it would be equal to the hundreds digit of the number a, increased by the units digit of the number a, set the number of tens in b to zero, and instead of units put the number of tens of the number a.

Sample input and output
test number Input Output
1 473 707