import sys readline = sys.stdin.readline from math import log Q = int(readline()) mx = 101010 logfact = [1] * (mx + 1) for i in range(mx): logfact[i + 1] = logfact[i] + log(i + 1) for _ in range(Q): N, M, K = map(int, readline().split()) if N == K: F = log(M) else: F = log(M) + logfact[N] - logfact[K] - logfact[N - K] S = K * log(M) + log(N - K + 1) print("Flush") if F < S else print("Straight")