

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 long long MOD = 1e9 + 7;
const long long INF = 1e9 + 9;
int main(void) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  vector<int> yes = {2,  3,  4,  5,  6,  8,  12, 30, 32, 33, 34, 35, 36,
                     38, 40, 42, 52, 62, 82, 43, 53, 63, 83, 44, 54, 64,
                     84, 45, 55, 65, 85, 46, 56, 66, 86, 48, 58, 68, 88};
  vector<int> no = {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, 51, 61,
                    71, 81, 91, 72, 92, 73, 93, 90, 94, 95, 96, 97, 98, 99,
                    74, 75, 76, 47, 57, 67, 77, 87, 78, 49, 59, 69, 79, 89};
  for (auto x : yes) {
    if (x == n) {
      cout << "YES\n";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
