n = int(input()) winner = "Petr" if n == 1: winner = "square1001" print(winner)