#include<cstdio> #include<cstring> #include<cmath> #include<vector> #include<algorithm> using namespace std; int main() { int T; scanf("%d",&T); while(T--) { int x; for(int i=1;i<=8;i++) scanf("%d",&x); printf("BQG is happy!\n"); } return 0; }
#include<cstdio> #include<cstring> #include<cmath> #include<vector> #include<algorithm> using namespace std; int main() { int T; scanf("%d",&T); while(T--) { int x; for(int i=1;i<=8;i++) scanf("%d",&x); printf("BQG is happy!\n"); } return 0; }