N = input() print "square1001" if N % 2 else "Petr"