

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
#include <bits/stdc++.h>
#pragma GCC optimize(3)
using namespace std;
char buf[1 << 21], *p1 = buf, *p2 = buf;
template <class T>
inline void read(T &x) {
  x = 0;
  char c =
      (p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 1 << 21, stdin), p1 == p2)
           ? EOF
           : *p1++);
  bool f = 0;
  for (; !isdigit(c);
       c = (p1 == p2 &&
                    (p2 = (p1 = buf) + fread(buf, 1, 1 << 21, stdin), p1 == p2)
                ? EOF
                : *p1++))
    f ^= c == '-';
  for (; isdigit(c);
       c = (p1 == p2 &&
                    (p2 = (p1 = buf) + fread(buf, 1, 1 << 21, stdin), p1 == p2)
                ? EOF
                : *p1++))
    x = (x << 3) + (x << 1) + (c ^ 48);
  x = f ? -x : x;
}
template <class T>
inline void write(T x) {
  if (x < 0) putchar('-'), x = -x;
  if (x > 9) write(x / 10);
  putchar(x % 10 + 48);
}
const long long FFF = 6666;
long long n;
int main() {
  if (fopen("aaa.in", "r")) {
    freopen("aaa.in", "r", stdin);
    freopen("aaa.out", "w", stdout);
  }
  ios::sync_with_stdio(false);
  read(n);
  if ((n % 10 == 9 || n / 10 == 9 || n % 10 == 7 || n / 10 == 7 ||
       n % 10 == 1) ||
      (n >= 10 && n < 30) && n != 12) {
    puts("NO");
  } else {
    puts("YES");
  }
  return 0;
}
