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