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