#P198. 【例33.1】 卡(qia)常数
【例33.1】 卡(qia)常数
Description
A Kaprekar number is a unique type of number. It must be a four-digit number. When split into two parts, the tens and units digits form a new number , and the thousands and hundreds digits form a new number . If equals the original number, then it is a Kaprekar number.
For example, is split into and , and , so is a Kaprekar number.
Now, please help find all Kaprekar numbers.
Input Format
None
Output Format
Output a single line containing all Kaprekar numbers, separated by spaces.
Sample
NoneNone