#include <iostream> #include <cstdio> using namespace std; int main(){ int c; while((c=cin.get())!=EOF){ if(c!='.' && c!='-'){ if(c==',') cout<<" ,"; else cout<<(char)c; } } }