#include<bits/stdc++.h> using namespace std; bool act(long long x1){ int m; if(x1%62==0) return 1; while(x1>0){ m=x1%100; x1/=10; if(m==62) return 1; } } int main(){ long long x; cin>>x; if(act(x)) cout<<"Yes"; else cout<<"No"; return 0; }