#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int test_case, L, W, H, c = 0;
cin >> test_case;
while(test_case--)
{
cin >> L>>W>>H;
c++;
if(L>20||W>20||H>20)
cout <<"Case "<< c <<": "<<"bad"<<endl;
else
cout <<"Case "<< c <<": "<<"good"<<endl;
}
return 0;
}
No comments:
Post a Comment