Three digit numbers#4101

Three digit numbers

1 second
128 megabytes
Medium

Find all three digit numbers with sum of digits equal to .

Input

One integer n~(0 \le n \le 28).

Output

Print in the first line the number of found three digit numbers. In the next lines print these numbers in increasing order.

Examples

Example 1

Loading
Loading