T = int(input()) print('\n'.join('ryota' if int(input()) == 2 else 'sepa' for _ in range(T)))