#include <iostream> #include <cmath> using namespace std; string s; long long n,p; int main() { cin >> s; n = stof(s); p = s.find("62"); if(p != -1 || n % 62 == 0) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }