n = int(input()) print('Petr' if n != 1 else 'square1001')