

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;
int n;
bool YES[105] = {0, 0, 1, 1, 1, 1, 1, 0, 1, 0};
int main() {
  cin >> n;
  for (int i = 10; i <= 29; i++) {
    if (i == 12)
      YES[i] = true;
    else
      YES[i] = false;
  }
  for (int j = 30; j < 100; j += 10) {
    if (j == 70 or j == 90)
      YES[j] = false;
    else
      YES[j] = true;
  }
  for (int i = 1; i <= 9; i++) {
    if (i == 1 or i == 7 or i == 9) {
      for (int j = 30; j < 100; j += 10) {
        YES[j + i] = false;
      }
    } else {
      for (int j = 30; j < 100; j += 10) {
        if (j == 70 or j == 90)
          YES[j + i] = false;
        else
          YES[i + j] = true;
      }
    }
  }
  if (YES[n])
    puts("YES");
  else
    puts("NO");
  return 0;
}
