#include<bits/stdc++.h>
using namespace std;
#define e "
"
int main()
{
string food, name;
int age;
getline(cin,name);// for space
cin>>age;
cin.ignore();// to ignore the newline character
getline(cin,food);
cout<<name<<" "<<age<<" "<<food<<e;
return 0;
}