#include<bits/stdc++.h>
using namespace std;
int main(){
string s,s1;
int h=0;
getline(cin,s);
for(int i=0;i<s.size();i++){
if(s[i]==' ') h++;
else s1+=s[i];
}
for(int i=0;i<h;i++) cout<<" ";
cout<<s1;
return 0;
}
/**************************************************************
Problem: 1102
User: linzihang
Language: C++
Result: Accepted
Time:23 ms
Memory:2076 kb
****************************************************************/