Problem:
 Score : 100 points    Problem Statement As a New Year's gift, Dolphin received a string s of length 19 . The string s has the following format: [five lowercase English letters],[seven lowercase English letters],[five lowercase English letters] . Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him.      Constraints  The length of s is 19 .  The sixth and fourteenth characters in s are , .  The other characters in s are lowercase English letters.         Input The input is given from Standard Input in the following format:  s       Output Print the string after the conversion.        Sample Input 1 happy,newyear,enjoy      Sample Output 1 happy newyear enjoy  Replace all the commas in happy,newyear,enjoy with spaces to obtain happy newyear enjoy .       Sample Input 2 haiku,atcoder,tasks      Sample Output 2 haiku atcoder tasks       Sample Input 3 abcde,fghihgf,edcba      Sample Output 3 abcde fghihgf edcba

Solution (Python):
s = input()
print(s.replace(',',' '))

Solution (Python):
s = str(input())
print(s.replace(',', ' '))

Solution (Python):
S = input()
print(S.replace(',', ' '))

Solution (Python):
s = input()
print(s.replace(',',' '))

Solution (Python):
s=input()
result=''
for i in s:
    if i==',':
        result+=' '
    else:
        result+=i
print(result)

Solution (Python):
s = input()
print(s.replace(",", " "))

Solution (Python):
s = input()
print(s[:5] + " " + s[6:13] + " " + s[14:])

Solution (Python):
s=input()

print(s[:5]+' '+s[6:13]+' '+s[14:])

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
for s in input().split(','):
  print(s,end=' ')

Solution (Python):
s,t,u = input().split(",")

print(s+" "+t+" "+u)

Solution (Python):
s = input()

print(s.replace(',',' '))

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
S = list(input())
S[5], S[13] = ' ', ' '
print(''.join(S))

Solution (Python):
x, y, z = input().split(",")
print(x, y, z)

Solution (Python):
S = input()
ans = [S[0:5], S[6:13], S[14:22]]
print(' '.join(ans))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
a,b,c = input().split(',')
print(a + ' ' + b + ' ' + c)

Solution (Python):
a,b,c = map(str,input().split(','))
print(a,b,c)

Solution (Python):
s = input()
s = s.replace(",", " ")
print(s)

Solution (Python):
s_in = input()
s_out = s_in.replace(",", " ", 2)
print(s_out)

Solution (Python):
s = input()
print(s.replace(","," "))

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s = list(map(str, input().split(',')))
print(' '.join(s))

Solution (Python):
s = input().split(',')
print(s[0],s[1],s[2])

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
s=input().split(",")
print(s[0],s[1],s[2])

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
s = input()
print(s.replace(","," "))

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
def main():
    s = input()
    l = s.split(',')
    print(" ".join(l))

if __name__ == '__main__':
    main()

Solution (Python):
S = input()
print(S.replace(',', ' '))

Solution (Python):
print(*input().split(","))

Solution (Python):
s = input()
s = s.replace(',', ' ')
print(s)

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s = input()
print(s.replace(",", " "))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):

s = input()
print(s.replace(',', ' '))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):

s=input().split(",")
l=" ".join(s)
print(l)

Solution (Python):
a = input().split(",")

for i in range(3):
  print(a[i],end=" ")

Solution (Python):
print(" ".join(input().rstrip().split(",")))

Solution (Python):
s =input()
print(s[:5]+" "+s[6:13]+" "+s[14:])

Solution (Python):
a=input()
print(a.replace(',',' '))

Solution (Python):
print(*input().split(','))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
s=input()
print (s[:5]+' '+s[6:13]+' '+s[14:19])

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
a, b, c = input().split(',')
print(a, b, c)

Solution (Python):
s=input()
for i in range(19):
  if s[i]==',':
    print(' ',end='')
  else:
    print(s[i],end='')

Solution (Python):
s=input()
result=''
for i in s:
    if i==',':
        result+=' '
    else:
        result+=i
print(result)

Solution (Python):
a,b,c = input().split(',')
print(a+' '+b+' '+c)

Solution (Python):
print(" ".join(input().split(',')))

Solution (Python):
s = input()
print(s.replace(',',' '))

Solution (Python):
s = list(input().split(","))
print(*s)

Solution (Python):
s = input()

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

Solution (Python):
s = input() 
print(s.replace(',',' '))

Solution (Python):
a, b, c=map(str, input().split(','))
print(a, b, c)

Solution (Python):
s = list(input())
s[5]=s[13]=' '
print(''.join(s))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
a,b,c = input().split(',')
print(a,b,c)

Solution (Python):
print(input().replace(","," "))

Solution (Python):
def main():
    s = input()
    print(s.replace(",", " "))


if __name__ == "__main__":
    main()

Solution (Python):
s=str(input())
for i in range(len(s)):
    if s[i]==",":
        s=s[:i]+" "+s[i+1:]
print(s)

Solution (Python):


import sys






























def main():
    mod = 1000000007                
    inf = float('inf')              
    
    sys.setrecursionlimit(10**6)    
    def input(): return sys.stdin.readline().rstrip()
    def ii():    return int(input())
    def mi():    return map(int, input().split())
    def mi_0():  return map(lambda x: int(x)-1, input().split())
    def lmi():   return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():    return list(input())
    
    
    L = input().split(',')
    print(' '.join(L))



if __name__ == "__main__":
    main()

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
s = input()
print(s.replace(","," "))

Solution (Python):

import sys
input = sys.stdin.readline









S = input().strip()

print(S.replace(",", " "))

Solution (Python):
x = list(input().split(","))
print("{0} {1} {2}".format(x[0], x[1], x[2]))

Solution (Python):
s = str(input())

for i in range(len(s)):
  if s[i] == ",":
    s = s[:i]+" "+s[i+1:]
print(s)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
from sys import stdin
def S(): return stdin.readline().rstrip()

s = S()

print(s.replace(',',' '))

Solution (Python):
s=input()
print(*s.split(','))

Solution (Python):
a, b, c = input().split(",")

print(a, b, c)

Solution (Python):
print(*input().split(','))

Solution (Python):

import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1

def main():
    print(input().replace(',',' '))

if __name__ == '__main__':
    main()

Solution (Python):
x = input().split(',')

print(*x)

Solution (Python):
a, b, c = input().split(sep=',')

print(a, b, c)

Solution (Python):
s = list(map(str, input().split(",")))
print(*s)

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s=input()
print (s.replace(","," "))

Solution (Python):
S=input()
print(S[0:5],S[6:13],S[14:19])

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
print(*input().split(","))

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
s = input().replace(","," ")
print(s)

Solution (Python):
a, b, c = input().split(',')
print(a + ' ' + b + ' ' + c)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
l, m, r = input().split(",")
print(l, m, r)

Solution (Python):
s=input()
s2=s.replace(","," ")
print(s2)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
s = input()
s = s.replace(","," ")
print(s)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
print(*input().split(','))

Solution (Python):
def main():
 str =input()
 print(str.replace(',',' '))
  
main()

Solution (Python):
a,b,c = input().split(',')
print(a,b,c)

Solution (Python):
s = input()
print(*s.split(','))

Solution (Python):


a, b, c = input().split(',')

print(a, b, c)

Solution (Python):
s = str(input())

def Main(s):
    s = s.replace(',', ' ')
    return s

print(Main(s))

Solution (Python):
s = input().split(sep=",")
print(' '.join(s))

Solution (Python):
def main():
    s = input()
    ans = s.replace(",", " ")
    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):

"""
Created on Thu May 14 17:35:47 2020

@author: shinba
"""

s = input().split(",")

print(" ".join(s))

Solution (Python):
s=input()
s=s.replace(","," ")
print(s)

Solution (Python):
s=input()
s=s.replace(","," ")
print(s)

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s = input()

s = s.replace(',', ' ')
print(s)

Solution (Python):
a, b, c = input().split(',')
print(a, b, c)

Solution (Python):
s = input()
print(' '.join(s.split(',')))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
import sys
import math
import bisect

def main():
    s = list(input())
    for i in range(len(s)):
        if s[i] == ',':
            s[i] = ' '
    print(''.join(s))

if __name__ == "__main__":
    main()

Solution (Python):
s=input()
a=list(s.split(","))
print(*a)

Solution (Python):

s=input()
a=list(s.split(","))
print(*a)

Solution (Python):
s = input()

s = s.replace(',', ' ')
print(s)

Solution (Python):

print(input().replace(',', ' '))

Solution (Python):
s = input().split(',')
print(*s)

Solution (Python):
s = input()
s1 = s[0:5]
s2 = s[6:13]
s3 = s[14:]

print("{} {} {}".format(s1,s2,s3))

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
S = input().split(',')
print(' '.join(S))

Solution (Python):
S = input()

ans = S.replace(","," ")

print(ans)

Solution (Python):
Sentence = input()
Sentence = Sentence.split(',')
Sentence = ' '.join(Sentence)
print(Sentence)

Solution (Python):
Word1, Word2, Word3 = input().split(',')

print(Word1 + ' ' + Word2 + ' ' + Word3)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
s=str(input())
print(s.replace(',', ' '))

Solution (Python):
s=str(input())
s=list(s)
s[5]=" "
s[13]=" "
print("".join(map(str, s)))

Solution (Python):
a = str(input())
print(a.replace(",", " "))

Solution (Python):
s = input()
print(*s.split(","))

Solution (Python):
s = input()
result = s.replace(",", " ")

print(result)

Solution (Python):
s=list(input().split(','))
for i in s:
    print(i)

Solution (Python):
haiku = input().split(",")
print(haiku[0], haiku[1], haiku[2])

Solution (Python):
print(*input().split(","))

Solution (Python):
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

print(input().replace(",", " "))

Solution (Python):
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections
MOD = 10**9 + 7

s = input().split(",")
print(*s)

Solution (Python):
s = input().split(",")
print(" ".join(s))

Solution (Python):
s = list(input())

for i in range(len(s)):
    if s[i] == ',':
        s[i] = ' '
    
print(''.join(s))

Solution (Python):
S =input()
a = S.replace(',',' ')
print(a)

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
import re
s = input()
print(*re.split("[,]",s))

Solution (Python):
def main():
    print(input().replace(',',' '))

if __name__ == '__main__':
    main()

Solution (Python):
s = input()
print(s[0:5], s[6:13], s[14:19])

Solution (Python):
a=input()
l=a.split(",")
print(l[0]+" "+l[1]+" "+l[2])

Solution (Python):
s = input()
print(s.replace(",", " "))

Solution (Python):
s = input()
print(s.replace(',',' '))

Solution (Python):
print(*input().split(","))

Solution (Python):

def ABC_51_A():
    s = input()
    s = list(s)
    s[5] = ' '
    s[13] = ' '
    s = ''.join(s)
    print(s)


if __name__ == '__main__':

    ABC_51_A()

Solution (Python):
print(input().replace(","," "))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
x=input().split(',')
print(x[0],x[1],x[2])

Solution (Python):
print(' '.join(input().split(',')))

Solution (Python):


s=input()
s = (s.replace(","," "))

print(s)

Solution (Python):


s = input()

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

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, log2
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7
 
s = input()

for i in s.split(","):
	print(i,"", end="")
print()

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s,t,u = input().split(',')
print("{} {} {}".format(s,t,u))

Solution (Python):
s = input()
print(s.replace(',',' '))

Solution (Python):
print(" ".join(input().split(",")))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
l = input().split(',')
print(' '.join(l))

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
S=input()
print(S.replace(","," "))

Solution (Python):
def main():
    s = input()
    a = s.split(',')
    print(*a)


if __name__ == '__main__':
    main()

Solution (Python):
import re
print(re.sub(r'\,'," ",input()))

Solution (Python):
s = input().split(",")
A = s[0]
B = s[1]
C = s[2]
print(A + " " + B + " " + C)

Solution (Python):
import sys
sys.setrecursionlimit(10**6) 
import math
from copy import copy, deepcopy
from operator import itemgetter
from bisect import bisect_left, bisect, bisect_right

from collections import deque 


from collections import Counter

from itertools import accumulate

from heapq import heapify,heappop,heappush



def input(): return sys.stdin.readline()[:-1]
def printl(li): print(*li, sep="\n")
def argsort(s, return_sorted=False): 
    inds=sorted(range(len(s)), key=lambda k: s[k])
    if return_sorted: return inds, [s[i] for i in inds]
    return inds

def main():
    mod = 10**9+7
    s=input()
    l=s.split(",")
    print(*l)
    

    
    
    
    
    






if __name__ == "__main__":
    main()

Solution (Python):
s = list(input())
s[5] = " "
s[13] = " "
print("".join(s))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
S = input().split(',')

print(*S,sep=' ')

Solution (Python):
print(input().replace(","," "))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
ra = range
enu = enumerate


def read_ints():
    return list(map(int, read().split()))


def read_a_int():
    return int(read())


def read_tuple(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(tuple(map(int, read().split())))
    return ret


def read_col(H):
    '''
    H is number of rows
    A列、B列が与えられるようなとき
    ex1)A,B=read_col(H)    ex2) A,=read_col(H) 
    '''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return tuple(map(list, zip(*ret)))


def read_matrix(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return ret
    


MOD = 10**9 + 7
INF = 2**31  

from collections import defaultdict, Counter, deque
from operator import itemgetter
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  

s = list(input().split(','))
print(*s)

Solution (Python):
print(' '.join(input().split(',')))

Solution (Python):
s = input().split(",")
print(s[0],s[1],s[2])

Solution (Python):
a,b,c = map(str,input().split(","))
print(a,b,c)

Solution (Python):
s = input().split(',')
print(*s)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
a,b,c=input().split(",")

print(a,b,c)

Solution (Python):
s=input()
print(s[0:5],s[6:13],s[14:20])

Solution (Python):
s = input().split(",")
print(' '.join(s))

Solution (Python):
S = input().strip()
x = S[:5]+" "+S[6:13]+" "+S[14:]
print(x)

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
s = str(input())
s = s.replace(',', ' ')
print (s)

Solution (Python):
s = input()

for i in s:
    if i == ',':
        print(' ', end='')
    else:
        print(i, end='')

Solution (Python):
s = input().split(",")
print(" ".join(s))

Solution (Python):
def resolve():
  s = input()
  print(s.replace(',', ' '))
  return

if __name__ == "__main__":
  resolve()

Solution (Python):

s=input()
s=s.replace(","," ")
print(s)

Solution (Python):
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

s = list(input())
n = len(s)
for i in range(n):
    if s[i] == ',':
        s[i] = ' '
print(''.join(s))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
s = input().replace(',',' ')
print(s)

Solution (Python):
print(*input().split(','))

Solution (Python):
print(input().replace(","," "))

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    s = input()
    res = s.replace(","," ")
    print(res)


if __name__ == '__main__':
    resolve()

Solution (Python):
s = input().split(",")
print(" ".join(s))

Solution (Python):
def main():
    print(input().replace(",", " "))


if __name__ == '__main__':
    main()

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
S = input().split(',')
print(*S)

Solution (Python):
s = input().split(',') 
print(*s)

Solution (Python):
S = input().split(',')
print(*S)

Solution (Python):
S = input().split(',')
print(*S)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s = input().split(',')
print(' '.join(s))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
S=input()
print(S.replace(","," "))

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7
import numpy as np

S = input()

print(S[:5], end = "")
print(" ", end = "")
print(S[6:13], end = "")
print(" ", end = "")
print(S[14:])

Solution (Python):
s=input()
a=s.split(",")
print(a[0],a[1],a[2])

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
s =input()
ss = s.replace(","," ")

print(ss)

Solution (Python):
s = input().split(',')

for a in s:
    print(a, end=' ')

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
a,b,c = input().split(',')
print(a+' '+b+' '+c)

Solution (Python):
s=input().split(",")
print(*s)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
s = input()

new_s = s.replace(',',' ')

print(new_s)

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):

def resolve():
    print(input().replace(",", " "))


if '__main__' == __name__:
    resolve()

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
a,b,c=input().split(',')
print(a+' '+b+' '+c)

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
a,b,c=input().split(",")
print(a+" "+b+" "+c)

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
l = input().split(',')
print(l[0], l[1], l[2])

Solution (Python):
a,b,c=(input().split(","))
print(a,b,c)

Solution (Python):

s = input()
print(s.replace(',',' '))

Solution (Python):
a,b,c=map(str,input().split(","))
print(a+" "+b+" "+c)

Solution (Python):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7

u=input().rstrip().split(",")
for U in u:
    print(U,end=" ")

Solution (Python):
s = input().split(",")
t = " ".join(s)
print(t)

Solution (Python):
s=input().split(",")
print(*s)

Solution (Python):
s = input().split(",")
print(s[0] + " " + s[1] + " " + s[2])

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
print(*input().split(","))

Solution (Python):
s = input()
print(s[:5]+' '+s[6:13]+' '+s[14:])

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
def resolve():
    s=input().split(',')
    print(s[0],s[1],s[2])
resolve()

Solution (Python):
def resolve():
    s=input()
    print(s[:5],s[6:13],s[14:])
resolve()

Solution (Python):
def resolve():
    s=input()
    print(s.replace(',',' '))
resolve()

Solution (Python):
def resolve():
    a,b,c=input().split(',')
    print(a,b,c)
resolve()

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
s = input()

print(s[:5],s[6:13],s[14:])

Solution (Python):
print(*input().split(","))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
a=input()
print(a.replace(',',' '))

Solution (Python):
s = input().split(",")
print(s[0], s[1], s[2])

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
s = input()
s1, s2, s3 = s.split(",")
print(s1, s2, s3)

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
S = input()
print(S[:5] + " " + S[6:13] + " " + S[14:19])

Solution (Python):
Haiku = input().replace(',',' ')

print(Haiku)

Solution (Python):
s = input()
a = s.rstrip().split(',')
print(a[0],a[1],a[2])

Solution (Python):
s = input()
print(" ".join(s.split(',')))

Solution (Python):
a,b,c = map(str,input().split(","))

print(a +" " + b +" " + c)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
print(*input().split(","))

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
a=input().replace(',',' ')
print(a)

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
s = input().split(',')
print(*s)

Solution (Python):
s=str(input())
print(s[:5]+" "+s[6:13]+" "+s[14:])

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
s=input().split(',')
print(s[0]+' '+s[1]+' '+s[2])

Solution (Python):
s = input()
ans = []
for i in range(len(s)):
    if i == 5 or i == 13:
        ans.append(" ")
    else:
        ans.append(s[i])
print("".join(map(str, ans)))

Solution (Python):
s=list(input())
s[5]=" "
s[13]=" "
t=""
for i in range(len(s)):
  t+=s[i]
print(t)

Solution (Python):
print(str(input()).replace(","," "))

Solution (Python):
s = input().split(",")
print(*s)

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
s=list(input())
s[5]=" "
s[13]=" "
print("".join(s))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
def resolve():
	s = input().split(",")

	print(" ".join(s))
resolve()

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
s=input()
s=s.replace(","," ")
print(s)

Solution (Python):
S=str(input())
print(S[0:5]+' '+S[6:13]+' '+S[14:19])

Solution (Python):
s = input()
print(s[0] + s[1] + s[2] + s[3] + s[4] + " " + s[6] + s[7] + s[8] + s[9] + s[10] + s[11] + s[12] + " " + s[14] + s[15] + s[16] + s[17] + s[18])

Solution (Python):
s = list(input().split(","))
s = " ".join(s)
print(s)

Solution (Python):
s = input()

print(s[0:5], s[6:13], s[14:19])

Solution (Python):
x, y, z = input().split(",")
print(x, y, z)

Solution (Python):
import re
moji = str(input())
print(re.sub(",", " ", moji))

Solution (Python):
a,b,c = input().split(',')
print(a,b,c)

Solution (Python):
chars = [str(e) for e in input().split(',')]
print(chars[0],chars[1],chars[2])

Solution (Python):
x = list(map(str,input().split(',')))
name = [x[0], x[1], x[2]]
print(' '.join(x))

Solution (Python):
if __name__ == '__main__':
	S = (str(input()))
	print(S.replace(',', ' '))

Solution (Python):
s=input()
print(s[:5],s[6:13],s[14:])

Solution (Python):

print(input().replace(",", " "))

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
print(input().replace(",", " "))

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
a= input()

print(a.replace(","," "))

Solution (Python):
print(input().replace(',',' '))

Solution (Python):
s=input()
print(s.replace(',',' '))

Solution (Python):
s1,s2,s3=map(str,input().split(","))
print(s1,s2,s3)

Solution (Python):
s1,s2,s3=map(str,input().split(","))
print(s1,s2,s3)

Solution (Python):

t1,t2,t3=map(str,input().split(","))
print(t1,t2,t3)

Solution (Python):
happy,newyear,enjoy = map(str,input().split(","))
print(happy,newyear,enjoy)

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
'''
s = input()
print(s)
'''
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
print(input().replace(',', ' '))

Solution (Python):
print(*input().split(','))

Solution (Python):
s = input().split(",")
print(" ".join(s))

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
s = input()

print(s.replace(',',' '))

Solution (Python):
import sys

stdin = sys.stdin
inf = 1 << 60
mod = 1000000007

ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

s = ns()

print(s.replace(',', ' '))

Solution (Python):
import sys
in1 = sys.stdin.readlines()

print(in1[0].replace(',',' '))

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
A = input().split(",")

print(A[0] +" "+ A[1] +" "+ A[2])

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
first, middle, last = input().split(",")
print(first, middle, last)

Solution (Python):
X,Y,Z=input().split(",")
print(X,Y,Z)

Solution (Python):
a,b,c=input().split(",")
print(a,b,c)

Solution (Python):
A=input().split(",")
print(*A)

Solution (Python):
icase=0
if icase==0:
    s=input()
    ss=s[0:5]+" "+s[6:13]+" "+s[14:19]
    print(ss)

Solution (Python):
def main():
    s = input()
    s = s.replace(",", " ")
    print(s)
main()

Solution (Python):
s=input()
print(s.replace(","," "))

Solution (Python):
s = input()

print(s.replace(',', ' '))

Solution (Python):
s = input()

ans = s.split(',')

print(ans[0]+ ' ' + ans[1] + ' ' + ans[2])

Solution (Python):
s=input()
t=s.replace(","," ")
print(t)

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
s = list(input())

s[5],s[13] = " "," "

print("".join(s))

Solution (Python):
a, b, c = input().split(",")
print(a, b, c)

Solution (Python):
line = input().split(',')

for a in line:
  print(a,end = ' ')

Solution (Python):
s = list(input().split(","))

print(s[0],s[1],s[2])

Solution (Python):
s = input().split(',')

print(*s)

Solution (Python):
print(*input().split(','))

Solution (Python):


nim = input()
replace_report = nim.replace(',', ' ')
print(replace_report)

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
n = input()

print(n.replace(",", " "))

Solution (Python):
n=str(input())
for i in n:
    if i==",":
        n=n.replace(","," ")
print(n)

Solution (Python):
s1, s2, s3 = input().split(',')
print(s1,s2,s3)

Solution (Python):
s = input().split(",")
print(*s)

Solution (Python):
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()
    S = S.replace(",", " ")
    print(S)


if __name__ == "__main__":
    main()

Solution (Python):
print(' '.join(input().split(',')))

Solution (Python):
s = input()
print(s.replace(","," "))

Solution (Python):
a = input()
print(a.replace(',', ' '))

Solution (Python):
s = input()
print(s.replace(',', ' '))

Solution (Python):
S = input()

print(S.replace(',', ' '))

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
a,b,c = input().split(",")
print(a,b,c)

Solution (Python):
sentence = input()
print(sentence.replace(",", " "))

Solution (Python):
s=input()

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

Solution (Python):

s = input().replace(',', ' ')
print(s)

Solution (Python):
s = input()
print(s.replace(","," "))