#include using namespace std; int main() { ios_base::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; }