#include <cstdio>
#include <algorithm>
using namespace std;

char c;

int main(){


while((c = getchar()) != '\n'){
    if(c == ',') printf(" ,");
    else if(c != '-' && c != '.') printf("%c", c);
}

return 0;
}