N,A,B=map(int, input().split()) N-=2 c=N%(A+B) if B<=c: print('sepa') else: if (c//A)%2==1: print('sepa') else: print('ryota')