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