N, A, B = map(int, input().split()) if ((N-1)%(A+B) == 0): print("sepa") else: print("ryota")