EasyRating 900
Sum of Round Numbers
A round number is a non-zero digit followed by zeros (like 7, 40, 900). Write n as a sum of the fewest round numbers, largest first.
Input
One integer n (1 ≤ n ≤ 10⁹).
Output
The count, then the numbers.
Sample 1
Input
5009
Output
2 5000 9
Sample 2
Input
7
Output
1 7
Output appears here