#include<iostream>
using namespace std;

int main(){
	//iotreamの高速化
	cin.tie(0),ios::sync_with_stdio(false);
	int N;
	cin >> N;
    if (N != 1) cout << "Petr" << "\n";
    else cout << "square1001" << "\n";
	return 0;
}