#include int main() { int n, a[6], i, j; scanf("%d", &n); while (n--) { for (i = 0; i < 6; ++i) { scanf("%d", &a[i]); } for (i = 0; i < 5; ++i) { for (j = i+1; j < 6; ++j) { if (a[i] < a[j]) { a[i] ^= a[j]; a[j] ^= a[i]; a[i] ^= a[j]; } } } if (a[0] + a[1] > a[2] + a[3] + a[4]) { puts("Grandpa Shawn is the Winner!"); } else { puts("What a sad story!"); } } return 0; }