N = input() N = N % 3 if N == 1: print("square1001") else: print("Petr")