n = int(input()) if n == 1: print("square1000") else: print("Petr")