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