#include #define REP(i,n) for(int i=0,i##_len=int(n);i>s; int ls = s.back(); switch(ls) { case 2: case 3: case 7: case 8: cout<<"NO"<