#include<iostream>
#include<string>
using namespace std;
int main(){
    string s;
    getline(cin,s);
    
    string word="";
    for(int i=0;i<s.length();i++){
        if(s[i]! = ' '){
            word = " ";
        }
    }
    cout<<word;
    return 0;
}