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