

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
# k a n
# one two three four five six seven eight nine
# x                           x           x   
# ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen
# x   x             x        x        x       x       x         x        x
# twenty ...
# x
# thirty ...
# same as one ...
# forty ...
# same as one ...
# fifty ...
# same as one ...
# sixty ...
# same as one ...
# seventy ...
# x
# eighty ...
# same as one ...
# ninety ...
# x

banned = [
        [1, 7, 9],
        [10, 11, 13, 14, 15, 16, 17, 18, 19],
        list(range(20, 30)),
        [31, 37, 39],
        [41, 47, 49],
        [51, 57, 59],
        [61, 67, 69],
        list(range(70, 80)),
        [81, 87, 89],
        list(range(90, 100))
        ]

ans = []
for l in banned:
    for x in l:
        ans.append(x)

n = int(input())
if n in ans:
    print('NO')
else:
    print('YES')
