import sys from math import log class Combination: def __init__(self, n_max): # O(n_max + log(mod)) f = 0 self.fac = fac = [f] for i in range(1, n_max+1): f += log(i) fac.append(f) def __call__(self, n, r): if not 0 <= r <= n: return 0 return self.fac[n] - self.fac[r] - self.fac[n-r] def main(): comb = Combination(101010) Q = int(sys.stdin.buffer.readline()) m = map(int, sys.stdin.buffer.read().split()) Ans = [] for N, M, K in zip(m, m, m): if comb(N, K) < log(M) * (K-1) + log(N-K+1): Ans.append("Flush") else: Ans.append("Straight") print("\n".join(Ans)) main()