if int(raw_input()) == 1: print "square1001" else: print "Petr"