include<sstream>
string s;
getline(cin, s);
stringstream ssin(s);
int a, b;
string str;
double c;
ssin >> a >> str >> b >> c;
#include<cstdio>
char s[1000];
fgets(s, 1000, stdin);
int a, b;
char str[1000];
double c;
sscanf(s,"%d%s%d%lf", &a, str, &b, &c);
printf("%d\n%s\n%d\n%lf\n", a, str, b, c);