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