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