

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 kanban(n):
    c, d = n // 10, n % 10
    if n == 1 or n == 7 or n == 9:
        return "NO"
    elif c == 3 or c == 4 or c == 5 or c == 6 or c == 8:
        if d == 1 or d == 7 or d == 9:
            return "NO"
        return "YES"
    elif c == 2 or c == 7 or c == 9:
        return "NO"
    elif c == 1:
        if d == 2:
            return "YES"
        else:
            return "NO"
    return "YES"


print(kanban(int(input())))
