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