s = raw_input() res = "" for c in s: if c in ['.', '-']: continue if c == ',': res += ' ' res += c print(res)