#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int T;cin >> T;
int cat[6];
while(T --){
for(int i = 0;i < 6;i ++){
cin >> cat[i];
}
sort(cat,cat + 6);
if(cat[4] + cat[5] > cat[1] + cat[2] + cat[3])
cout << "Grandpa Shawn is the Winner!" << endl;
else
cout << "What a sad story!" << endl;
}
return 0;
}
bestcoder#4_A
最新推荐文章于 2016-08-13 10:57:38 发布