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