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