n,a,b=map(int,input().split()) print(["ryota","sepa"][(n-1)%(a+b)==0 or (n-1)%(a+b)>a])