#include using namespace std; int main() { int c; do { c = getchar(); if (c == '.' || c == '-') { continue; } else { if (c == ',') { cout << " ,"; continue; } } putchar(c); } while (c != EOF && c != '\n'); return 0; }