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