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