n, a, b = map(int, input().split()) n -= 2 n %= a + b if n < b: print("sepa" if (n // a) % 2 else "ryota") else: print("sepa")