x=input() if x==1: print("square1001\n") else: print("Petr\n")