#include <stdio.h>
int main()
{
int N, i, j;
int a[6];
scanf("%d", &N);
int m,n;
for (i = 0; i < N; i++)
{
for (j = 0; j < 6; j++)
scanf("%d", &a[j]);
m=a[0] + a[1] + a[2];
n=a[3] + a[4] + a[5];
if (m==n)
printf("You are lucky!\n");
else
printf("Wish you good luck.\n");
}
}