N,A,B = list(map(int,input().split())) """ def naive(N,A,B): def f(n): if(n >= N):return True if(g(n+A)):return True if(g(n+B)):return True return False def g(n): if(n >= N):return False if(not f(n+A)):return False if(not f(n+B)):return False return True for i in range(1,N+1): print(i,"🔶" if f(i) else "🔷") while(True): N,A,B = list(map(int,input().split())) naive(N,A,B) """ N -= 1 N %= (A+B) print("sepa" if N < A else "ryota")