parsed = "" s = raw_input() for i in s: if i == ",": parsed += " ," elif i != "." and i != "-": parsed += i print parsed