for _ in range(int(input())): N, M, K = map(int, input().split()) x = M / (N - K + 1) for i in range(K): x *= (N - i) / M / (i + 1) if x > 1: print('Straight') else: print('Flush')