def calc(N,K,M): ans = 1 for i in range(K): ans /= (i+1) if i>0: ans *= N-K+1+i ans /= M if ans>1: return 'Straight' return 'Flush' def solve(): Q = int(input()) ans = [0]*Q for i in range(Q): N, M, K = map(int, input().split()) ans[i] = calc(N,K,M) return ans print(*solve(),sep='\n')