#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <typeinfo>
using namespace std;
void SplitString(const string& s, vector<string>& v, const string& c)
{
string::size_type pos1, pos2;//可以是整型
pos2 = s.find(c);
pos1 = 0;
while (string::npos != pos2)
{
v.push_back(s.substr(pos1, pos2 - pos1));//the length of substr
pos1 = pos2 + c.size();
pos2 = s.find(c, pos1);
}
if (pos1 != s.length())
v.push_back(s.substr(pos1));
}
int parseInt(string& s)
{
int v=0;
int num=0;
for (int i = s.size() - 1; i > 0; i--)
{
v += (s[i]-'0')*pow(10,num);
num++;
}
if (s.front() == '-')
v = 0 - v;
else
v+=(s.front()-'0')*pow(10,num);
return v;
}
void str2int(const string& string_temp,int& int_temp)
{
stringstream stream(string_temp);//
stream >> int_temp;
}
int main()
{
string s;
getline(cin,s);
vector<string> vs;
SplitString(s,vs," ");//
vector<int> num(vs.size());
for(int i=0;i<vs.size();i++)
str2int(vs[i],num[i]);
for(int i=0;i<num.size();i++)
cout<<num[i]<<endl;
//cout<<typeid(s).name()<<endl;
return 0;
}