#AHOI2007A. 密码箱 (Password Box)
密码箱 (Password Box)
Description
Little Coco got a password box from nowhere. She heard that there's a treasure map about a treasure burried down long time ago inside the box so she want to open it to find that map. The box will be opened if you type in the correct password. After some deciphering, she found out that those icons at the back of the box represent a number and the relationship between this number and the correct password. Let this number be , then the following rule will be fullfil:
Little Coco knows that there maybe more than one that meets above conditions, and the password must be one of those . Can you help Coco finding out those number? (It is guaranteed that are all positive integers).
Input Format
A single line containing one integer .
Output Format
Contains all numbers that meet the conditions in increasing order, one each line. If there's no such , you must print one line containing "None" (without the quote).
12
1
5
7
11
Constraints
For data, .