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