n = int(input()) print("Petr" if n == 2 else "square1001")