

Input

The input contains a single integer a (1 ≤ a ≤ 99).

Output

Output "YES" or "NO".

Examples

Input


5


Output


YES


Input


13


Output


NO


Input


24


Output


NO


Input


46


Output


YES
print("YES" if"1011111010001000000000000000001011111010101111101010111110101011111010000000000010111110100000000000"[int(input())]=='1' else"NO")