print(["square1001","Petr"][int(input())-1])