

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>
using namespace std;
const int N = int(300000) + 5;
long long int t, n, m, q, k, cnt, sum, x, y, z, l, r, ans;
string s;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cin >> x;
  int a[] = {1,  7,  9,  10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
             23, 24, 25, 26, 27, 28, 29, 31, 37, 39, 41, 47, 49, 51, 57,
             59, 61, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81,
             87, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99};
  y = sizeof(a) / sizeof(a[0]);
  for (long long int i = 0; i < y; i++) {
    if (a[i] == x) {
      cout << "NO";
      return 0;
    }
  }
  cout << "YES";
  return 0;
}
