Three digit numbers#4101

Three digit numbers

1 segundo
128 megabytes
Media

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

Entrada

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

Salida

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

Ejemplos

Ejemplo 1

Loading
Loading