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



Sample input:
happy,newyear,enjoy


Sample output:
happy newyear enjoy

Submission status: Accepted

Solution code:
s = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':

    ABC_51_A()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 置き換え　replace("前","後")

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

print(s)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

s = input()

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

Submission status: Accepted

Solution code:
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()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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#2分探索
#bisect_left(l,x), bisect(l,x)#aはソート済みである必要あり。aの中からx未満の要素数を返す。rightだと以下
from collections import deque 
#deque(l), pop(), append(x), popleft(), appendleft(x)
##listでqueの代用をするとO(N)の計算量がかかってしまうので注意
from collections import Counter#文字列を個数カウント辞書に、
#S=Counter(l),S.most_common(x),S.keys(),S.values(),S.items()
from itertools import accumulate#累積和
#list(accumulate(l))
from heapq import heapify,heappop,heappush
#heapify(q),heappush(q,a),heappop(q) #q=heapify(q)としないこと、返り値はNone
#import fractions#古いatcoderコンテストの場合GCDなどはここからimportする

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)
    #w.sort(key=itemgetter(1),reversed=True)  #二個目の要素で降順並び替え

    #N = int(input())
    #N, K = map(int, input().split())
    #A = tuple(map(int, input().split())) #1行ベクトル
    #L = tuple(int(input()) for i in range(N)) #改行ベクトル
    #S = tuple(tuple(map(int, input().split())) for i in range(N)) #改行行列






if __name__ == "__main__":
    main()

Submission status: Accepted

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

print(*S,sep=' ')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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
    # return [list(map(int, read().split())) for _ in range(H)] # 内包表記はpypyでは遅いため


MOD = 10**9 + 7
INF = 2**31  # 2147483648 > 10**9
# default import
from collections import defaultdict, Counter, deque
from operator import itemgetter
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  # , insort_left, insort_right
# https://atcoder.jp/contests/abc051/tasks/abc051_a
s = list(input().split(','))
print(*s)

Submission status: Accepted

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

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
  resolve()

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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()

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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:])

Submission status: Accepted

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

Submission status: Accepted

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

print(ss)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = input()

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

print(new_s)

Submission status: Accepted

Solution code:

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


if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2020-04-29
s = input()
print(s.replace(',',' '))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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=" ")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(Haiku)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc051/tasks/abc051_a
print(input().replace(",", " "))

Submission status: Accepted

Solution code:
a= input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
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(',', ' '))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

ans = s.split(',')

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())

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

print("".join(s))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(*s)

Submission status: Accepted

Solution code:
# solution

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

Solution code:
# coding: utf-8
s = input().replace(',', ' ')
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = input().split(',')
ans = ' '.join(li)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(map(str,input()))
print(''.join(s[0:5]) +" " + ''.join(s[6:13]) + " " + ''.join(s[14:19]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

Solution code:
a = input()
A = a.replace(","," ")
print(A)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
def main():
  print(s.replace(',',' '))
if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline().rstrip()

def main():
    t = s.replace(',', ' ')
    print(t)

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
# ABC 051: A – Haiku
s = input()
print(s.replace(",", " "))

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
import re
s = input()
print(re.sub(',',' ',s))

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    s = input()

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

Submission status: Accepted

Solution code:
s = list(input())

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

print("".join(s))

Submission status: Accepted

Solution code:
# -*- coding: utf -8 -*-
# A - Haiku
# 標準入力の取得
s = input()

# カンマ⇒スペースに変換した値を出力
print(s.replace(",", " "))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s1,s2,s3=list(map(str,input().split(',')))
print(s1 , s2 , s3)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    s=SI()
    print(s.replace(","," "))
    
main()

Submission status: Accepted

Solution code:
f, s, ff = map(str, input().split(','))
print(f, s, ff)

Submission status: Accepted

Solution code:
S = input().split(",")

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

Submission status: Accepted

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

print(a,b,c,sep=' ')

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

Solution code:
s=raw_input()
a=""
for i in s:
  if i==",":
    a+=" "
  else:
    a+=i
print a

Submission status: Accepted

Solution code:
s = input()

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

print(s)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().rstrip("\r\n").split(',')
print(*s)

Submission status: Accepted

Solution code:
#ABC051.A
s = input()
ans = s.replace(","," ")
print(ans)

Submission status: Accepted

Solution code:


def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    S=list(input())
    S[5]=" "
    S[13]=" "
    print(''.join(map(str, S)))
    
main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
#abc051 a 
s=input()
print(s.replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w = input().split(",")
print(" ".join(w))

Submission status: Accepted

Solution code:
print raw_input().replace(',', ' ')

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    print(' '.join(input().split(',')))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Haiku
s=input()
print(s.replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split(",")

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

Submission status: Accepted

Solution code:
S=input().split(",")
print(*S)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())
s[5] = " "
s[13] = " "
print(*s, sep="")

Submission status: Accepted

Solution code:
A = input()
A = A.replace(',',' ')

print(A)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
ss = input()

print(ss.replace(',', ' '))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import os


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    a, b, c = map(str, sys.stdin.readline().split(","))
    print(a, b, c)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A
s = list(map(str, input().split(',')))

for i in range(3):
    print(s[i], end=' ')

Submission status: Accepted

Solution code:
s=' '
s= input ()
b=s.replace("," ," ")
print (b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#051_A
a,b,c=input().split(sep=',')
print(a,b,c)

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline

if __name__ == "__main__":
    s = readline().rstrip().decode('utf-8')
    print(s.replace(","," "))

Submission status: Accepted

Solution code:
s = input().replace(',', ' ')

print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split(",")
print(*a)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

#----------
s = input().strip()
#----------

temp_list=s.split(",")
print(" ".join(temp_list))

Submission status: Accepted

Solution code:
N = list(input().split(","))
print(N[0],N[1],N[2])

Submission status: Accepted

Solution code:
s = str(input())
ans = s.split(',')
for i in range(len(ans)):
    if i < len(ans) - 1:
        print(ans[i], end=' ')
    else:
        print(ans[i])

Submission status: Accepted

Solution code:
li = input().split(',')
print(*li)

Submission status: Accepted

Solution code:
s=list(input())
s[5]=" "
s[13]=" "
print(*s,sep="")

Submission status: Accepted

Solution code:
a = str(input())

a = a.replace(","," ")

print(a)

Submission status: Accepted

Solution code:
s = input()
x = 1+2
x = 1+2
x = 1+2
x = 1+2
x = 1+2
x = 1+2

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

print (s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split(",")
for ss in s:
    print(ss, end=" ")

Submission status: Accepted

Solution code:
#ABC051 A

s = input()

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

Submission status: Accepted

Solution code:
print(*input().split(sep=','))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C=input().split(',')
print(A,B,C)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#adfjklsdjsfljfl;kdjldkjflkdsdfjksfjdklsfjdkjsfdjf
print(input().replace(',', ' '))

Submission status: Accepted

Solution code:
s = input().replace(",", " ")
print(s)
'''
000000000000000000000000000000000000000000
'''

Submission status: Accepted

Solution code:
def main():
    s = input()

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
ans=""
for i in range(len(s)):
    if s[i]==",":
        ans=ans+" "
    else:
        ans=ans+s[i]
print(ans)

Submission status: Accepted

Solution code:
phrase = input()

if len(phrase) > 19:
    print("error")
else:
    print(phrase.replace(","," "))

Submission status: Accepted

Solution code:
s=input()
ns=""

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
haiku = input()
print(str(haiku).replace(',', ' '))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
for c in s:
  if c == ',':
    print(' ', end='')
  else:
    print(c, end='')
print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())
print(s[:5], end=" ")
print(s[6:13], end=" ")
print(s[14:], end=" ")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 051
# A - Haiku
s = input()
print(s.replace(',',' '))