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