include "stdafx.h"
include
include
include<conio.h>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string result_str, str;
cin >> result_str;
while (cin>>str)
{
result_str = result_str + " "+str;
if (getchar() == '
')
break;
}
cout << result_str << endl;
return 0;
}