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