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