您当前处于兼容模式。某些功能在此模式下不可用。我们强烈建议在现代浏览器上切换为标准模式以获得更好的体验。 标准模式 隐藏

#t470. 回文数

回文数

Palindrome Numbers

Problem Description

12211221 is a very special number: it reads the same from left to right and from right to left. Write a program to find all such 4-digit decimal numbers.

Input Format

This problem has no input.

Output Format

Output the 4-digit decimal numbers satisfying the condition in ascending order.

Sample Input

(none)

Sample Output

1001
1111
1221
...