#include <sstream>
#include <iostream>
using namespace std;
int main(){
string s;
getline(cin, s);
stringstream ssin(s); //ssin是变量名字可以任意取
int a, b;
string str;
double c;
//while(ssin >> str) //类似于cin的用法 当不知道有多少个数据的时候可以用这个方式全部读取
ssin >> a >> str >> b >> c;
cout << a << endl << str << endl << b << endl << c;
return 0;
}