print("Petr" if input() != "1" else "square1001")