#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <string>
using namespace std;
int main()
{
int b;
string a;
cin>>a;
stringstream ss;
ss<<a;
ss>>b;
cout<<b;
return 0;
}
#include <sstream>
#include <stdlib.h>
#include <string>
using namespace std;
int main()
{
int b;
string a;
cin>>a;
stringstream ss;
ss<<a;
ss>>b;
cout<<b;
return 0;
}