A. Valentine's Present
time limit per test
1 second
memory limit per test
64 megabytes
input
stdin
output
stdout

Shokri is at a number store and wants to buy his love, Shakira a present for valentine's day (of course a number).

He knows that Shakira, only loves a number if and only if it's a multiply of holy number 31 .

The salesman recommended him a number n, and unfortunately Shokri is unable to check if Shakira loves it.

Your tasks is to accept the number n, if and only if Shakira will love it, using language Autolan.

Your program's order mustn't exceed 107 .

Input

Input is a number n, 1 ≤ n ≤ 101000 .

Output

Your program should accept the number n, if and only if Shakira will love it, using language Autolan.

Examples
Input
31
Output
Accepted
Input
31294034
Output
Rejected
Input
31294035
Output
Accepted