3273: 报数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:1

Description

Input

Output

Sample Input Copy

4
6
33
69
300

Sample Output Copy

8
36
80
-1

HINT