

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 main() {
  string s;
  cin >> s;
  if (s == "12") {
    cout << "YES";
    return 0;
  }
  if (s.size() == 1) {
    if (s != "1" && s != "7" && s != "9") {
      cout << "YES";
      return 0;
    }
    cout << "NO";
    return 0;
  } else {
    if (s[0] == '1' || s[0] == '7' || s[0] == '9' || s[0] == '2') {
      cout << "NO";
      return 0;
    }
    if (s[0] != '1' && s[0] != '7' && s[0] != '9') {
      if (s[1] == '1' || s[1] == '7' || s[1] == '9') {
        cout << "NO";
        return 0;
      }
      cout << "YES";
      return 0;
    }
    cout << "YES";
    return 0;
  }
  return 0;
}
