N, a, b = map(int, input().split()) md = (N - 1) % (a + b) + 1 print("ryota" if md <= a else "sepa")