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