#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef pair P; typedef bitset<16> BS; const ll MOD = 1E+09 + 7; const ll INF = 1E18; const int MAX_N = 1E+05; int Q; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin >> Q; for (int i = 1; i <= Q; i++) { int N, M, K; cin >> N >> M >> K; if (M + 1 < N - K + 2) { cout << "Flush\n"; } else { cout << "Straight\n"; } } /* for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { cout << "i = " << i << ", j = " << j << ", dp = " << dp[i][j] << "\n"; } } */ return 0; }