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