print((function (s) return s=="1" and "square1001" or "Petr" end)(io.stdin:read("*l")))