from itertools import accumulate import math U = 10 ** 5 + 10 log = [0] + [math.log10(i) for i in range(1, U + 1)] log_acc = list(accumulate(log)) def test(): N, M, K = map(int, input().split()) f = log[M] + (log_acc[N]-log_acc[N-K]) - log_acc[K] s = K * log[M] + log[N - K + 1] if f > s: return "Straight" else: return "Flush" Q = int(input()) ans = [test() for _ in range(Q)] print("\n".join(ans))