

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
nkanban = ['1','7','9']

a = input()
a = list(a)

if len(a) == 1:
    if a[0]=='1' or a[0]=='7' or a[0]=='9':
        print('NO')
    else:
        print('YES')
else:
    if a[0] == '1' and a[1] == '2':
        print('YES')
    elif a[0] == '3' and a[1] != '1' and a[1]!='7' and a[1]!='9':
        print('YES')
    elif a[0] == '4' and a[1] != '1' and a[1]!='7' and a[1]!='9':
        print('YES')
    elif a[0] == '5' and a[1] != '1' and a[1]!='7' and a[1]!='9':
        print('YES')
    elif a[0] == '6' and a[1] != '1' and a[1]!='7' and a[1]!='9':
        print('YES')
    elif a[0] == '8' and a[1] != '1' and a[1]!='7' and a[1]!='9':
        print('YES')
    else:
        print('NO')