#yuki692 n=int(raw_input()) if n==1: print 'square1001' else: print 'Petr'