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