print("Petr" if int(input()) > 1 else "square1001")