

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
def check(a):
    if a == 12: return True
    if a % 10 in [1, 7, 9]: return False
    if a // 10 in [1, 2, 7, 9]: return False
    return True
a = int(input())
print('YES' if check(a) else 'NO')
