# No.692 square1001 and Permutation 1 n = int(input()) if n == 1: print('square1001 ') else: print('Petr ')