#include <bits/stdc++.h>
using namespace std;

int main()
{
int n;

	ios::sync_with_stdio( false );
	cin.tie( 0 );

	cin >> n;

	if( n == 1 )
		cout << "square1001" << endl;
	else
		cout << "Petr" << endl;

	return 0;
}