import sys from math import log from itertools import accumulate def I(): return int(sys.stdin.readline().rstrip()) def MI(): return map(int,sys.stdin.readline().rstrip().split()) A = [0]+[log(i) for i in range(1,10**5+1)] SA = list(accumulate(A)) Q = I() for _ in range(Q): N,M,K = MI() if SA[N]-SA[N-K]-SA[K]+log(M) < K*log(M)+log(N-K+1): print('Flush') else: print('Straight')