N,A,B = map(int,input().split()) X = (N-1) % (A+B) + 1 Y = X // A if N == 2: print("ryota") elif X > B: print("sepa") else: if Y % 2 == 0: print("ryota") else: print("sepa")