#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); long long n, a, b; cin >> n >> a >> b; n -= 2; n %= a + b; if(n < b){ if((n / a) % 2){ cout << "sepa" << endl; }else{ cout << "ryota" << endl; } }else{ cout << "sepa" << endl; } return 0; }