#t471. 特殊回文数
特殊回文数
Special Palindrome
Problem Description
is a very special number: it reads the same from left to right and from right to left.
Given a positive integer , find all such -digit and -digit decimal numbers whose digits sum to ().
Input Format
The input consists of one line containing a positive integer .
Output Format
Output the qualifying integers in ascending order, one integer per line.
Sample Input
52
Sample Output
899998
989989
998899