n, a, b = map(int, input().split()) n -= 2 n %= a + b print('sepa' if n >= b or n // a % 2 == 1 else 'ryota')