#include<iostream>
#include<vector>
#define MAX 100000
using namespace std;
void pre()
{
bool v[MAX];
for(int i=2;i<MAX;i++)v[i]=true;
for(int i=2;i<MAX;i++)
{
if(v[i])
for(int j=i;j*i<MAX;j++)
v[j*i]=false;
}
}
int main()
{
pre();
int i;
cin>>i;
cout<<i;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPHZlY3Rvcj4KI2RlZmluZSBNQVggMTAwMDAwCnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIHByZSgpCnsKYm9vbCB2W01BWF07CQoJZm9yKGludCBpPTI7aTxNQVg7aSsrKXZbaV09dHJ1ZTsKCWZvcihpbnQgaT0yO2k8TUFYO2krKykKCXsKCQlpZih2W2ldKQoJCWZvcihpbnQgaj1pO2oqaTxNQVg7aisrKQoJCXZbaippXT1mYWxzZTsKCX0KfQppbnQgbWFpbigpCnsKCXByZSgpOwoJaW50IGk7CiAgICBjaW4+Pmk7CiAgICBjb3V0PDxpOwoJcmV0dXJuIDA7Cn0=