#include using namespace std; using ll=long long; int main() { cin.tie(0)->sync_with_stdio(0); ll t;cin>>t; while(t--) { ll h,w;cin>>h>>w; if((h+w)%2==0)cout<<"ryota\n"; else cout<<"sepa\n"; } }