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