Q=int(input()) for i in range(Q): N,M,K=map(int,input().split()) if M>=N: print("Flush") else: print("Straight")