n = input() print('square1001' if n==1 else 'Petr')