print(['Petr', 'square1001'][input() == '1'])