#include using namespace std; #define REP(i,N) for(int i=1;i=a*1000000+b*1000+c) printf("YES\n"); else printf("NO\n"); return 0; }