#include<iostream> using namespace std; int main() { int a,b,c; scanf("%d/%d/%d",&a,&b,&c); if(b<10||(b==10&&c<29))cout<<"No. It's not too late."; else cout<<"QAQ"; }
#include<iostream> using namespace std; int main() { int a,b,c; scanf("%d/%d/%d",&a,&b,&c); if(b<10||(b==10&&c<29))cout<<"No. It's not too late."; else cout<<"QAQ"; }