import sys import math import collections import bisect import itertools import decimal import copy # import numpy as np # sys.setrecursionlimit(10 ** 6) INF = 10 ** 20 # MOD = 10 ** 9 + 7 # MOD = 998244353 ni = lambda: int(sys.stdin.readline().rstrip()) ns = lambda: map(int, sys.stdin.readline().rstrip().split()) na = lambda: list(map(int, sys.stdin.readline().rstrip().split())) na1 = lambda: list(map(lambda x: int(x) - 1, sys.stdin.readline().rstrip().split())) # ===CODE=== # nCrの左項にはn以外も来るバージョン、1!~(n-1)!を保持 def prepare(n, MOD): f = 1 factorials = [1] for m in range(1, n + 1): f *= m f %= MOD factorials.append(f) inv = pow(f, MOD - 2, MOD) invs = [1] * (n + 1) invs[n] = inv for m in range(n, 1, -1): inv *= m inv %= MOD invs[m - 1] = inv return factorials, invs def main(): # 使い方 lim = 10 ** 5 + 1 MOD = 2147483647 facts, invs = prepare(lim, MOD) q = ni() for _ in range(q): a, b, c = ns() straight = pow(b, c) * (a - c + 1) flash = a * (facts[b] * invs[c] * invs[b - c] % MOD) if straight > flash: print("Flush") else: print("Straight") if __name__ == '__main__': main()