#include #include using namespace std; int Q; double F[1<<17]; main() { for(int i=1;i<1<<17;i++)F[i]=F[i-1]+log(i); cin>>Q; for(;Q--;) { int N,M,K; cin>>N>>M>>K; double now=F[N]-F[N-K]-F[K]-log(N-K+1)-(K-1)*log(M); cout<<(now<0?"Flush":"Straight")<