N = int(input()) print('square1001' if N == 1 else 'Petr')