#include using namespace std; void solve(int H,int W){ vector> C(H,vector(W,-2)); for(int t=0; ; t++){ if(t == H) break; for(int k=0; k= 0) cout << "sepa "; else cout << "ryota "; } int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int T; cin >> T; while(T--){ long long H,W; cin >> H >> W; long long n = min(H,W); long long b = n*(n-1)/2,w = n*(n+1)/2; if(H <= W) b += (W-H)*H; else w += (H-W)*W,w -= W,b += W; if(b < w) cout << "ryota\n"; else cout << "sepa\n"; } }