import sys

lines = sys.stdin.readlines()

for linea in lines:

    c = linea.split()

    c = list(map(str,c))

list(c)

sent_str= c[0]

x = sent_str.replace(",", " ")

print(x)
#!/usr/bin/env python

s = input()

print((s.replace(",", " "))) 
import sys

lines = sys.stdin.readlines()
for linea in lines:
    c = linea.split()
    c = list(map(str, c))
list(c)
sent_str = c[0]
x = sent_str.replace(",", " ")
print(x)

#!/usr/bin/env python
s = input()
print((s.replace(",", " ")))

-import sys - -lines = sys.stdin.readlines() -for linea in lines: -    c = linea.split() -    c = list(map(str, c)) -list(c) -sent_str = c[0] -x = sent_str.replace(",", " ") -print(x) +#!/usr/bin/env python +s = input() +print((s.replace(",", " ")))