#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using llu = long long unsigned;

vector<ll> dx = { 0, 0, -1, 1};
vector<ll> dy = {-1, 1,  0, 0};

#define MOD 1000000007
int main() {
    int n;
    cin >> n;
    string ret = "Petr";
    if (n==1) {
        ret = "square1001";
    }
    cout << ret << endl;
    return 0;
}