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:
# 入力　文字列
haiku = input()

#出力　カンマをスペースに
new_haiku = haiku.replace(",", " ")

print(new_haiku)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
usrInput = input().split(",")
for n in range(3):
  print(usrInput[n],end = " ")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input().split()
print(str[0].replace(","," "))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


def main():
    S = input().split(',')
    print(*S)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 31, Jan, 2020
"""

import sys
import itertools

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S = readline().decode('utf8').split(',')
print(*S, sep=' ')

Submission status: Accepted

Solution code:
s = input()

l = s.split(',')

l_space = ' '.join(l)

print(l_space)

Submission status: Accepted

Solution code:
import sys

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

print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

ans = ' '.join(s.split(','))

print(ans)

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


def solve(s: str):
    print(" ".join(s.split(",")))
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    s = next(tokens)  # type: str
    solve(s)


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:
def main():
    from sys import stdin, setrecursionlimit
    #setrecursionlimit(10**9)
    #n = int(stdin.readline()[:-1])   
    r = stdin.readline()[:-1]
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    #n = int(r)
    #a = r.split()
    #a,b,c = r.split()
    #a = list(map(int, r.split()))
    #a,b,c,d = map(int, r.split())
    #a = [int(s[i]) for i in range(1, n+1)]
    #a = [list(map(int, r.split())) for i in range(1,n+1)]
    #res = 0

    print(r.replace(',',' '))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(str(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 = input()

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

print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
s=list(input().split(","))
print(*s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re

text = input()
text_mod = re.sub(','," ",text)
print (text_mod)

Submission status: Accepted

Solution code:
s = input()

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

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(',')
print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lst = input().split(',')
print(' '.join([str(_) for _ in lst]))

Submission status: Accepted

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

print(" ".join(a))

Submission status: Accepted

Solution code:
import sys


def solve(inp):
    S = inp.readline().strip()

    return S.replace(",", " ")


def main():
    result = solve(sys.stdin)
    if result:
        print(result)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = list(input())

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

print("".join(s))

Submission status: Accepted

Solution code:
st = input()

st = st.replace(","," ")

print(st)

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 051 - A
# -*- encoding: UTF-8 -*-
s = input().split(",")

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:


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

Submission status: Accepted

Solution code:
s = list(map(str,input().split(",")))
for i in range(len(s)):
	print(s[i],end=" ")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): #最小公倍数
    return a/gcd(a,b)*b

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): #素因数分解
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

def main():
    s = input()
    t = []
    for i in range(19):
        if i==5 or i==13:
            t.append(' ')
        else:
            t.append(s[i])
    print(''.join(t))
    return

if __name__=='__main__':
    main()

Submission status: Accepted

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

print(s[0], end=" ")
print(s[1], end=" ")
print(s[2])

Submission status: Accepted

Solution code:
S=list(input())

for i in range(len(S)):
    if S[i] == ",":
        S[i] = " "

print(*S, sep="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
a = s.split(",")
for aa in a:
    print(aa)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
s = input().rstrip().split(",")
print(*s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re

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

Submission status: Accepted

Solution code:
s = str(input())
ans = ''

for i in range(19):
    
    if i==5 or i==13:
        ans += ' '

    else:
        ans += s[i]

print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-S
s = list(str(input()))

for i in range(len(s)):
    if s[i] == ',':
        print(' ', end = "")
    else:
        print(s[i], end = "")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf')
ans = 0 ;count = 0 ;pro = 1

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

Submission status: Accepted

Solution code:
import sys

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

s = " ".join(s)

print(s)

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline().rstrip().split(',')

def main():
    return s

if __name__ == '__main__':
    ans = main()
    print(*ans, sep=' ')

Submission status: Accepted

Solution code:
def solve():
    S = input()
    return S.replace(",", " ")


if __name__ == '__main__':
    res = solve()
    print(res)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list( map( str, 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().split(',')
print(" ".join(s))

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:
s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
s = input()

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a = list(input().split(','))
for i in a:
    print(i, end=" ")

Submission status: Accepted

Solution code:
s=input().split(",")
for i in range(3):
	print(s[i],end=" ")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import stdin

s = stdin.readline().rstrip()

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

Submission status: Accepted

Solution code:
s = input()

a = s[:5]

b = s[6:13]

c = s[14:]

print (a,b,c)

"""
インデックスが分からなくなることは慣れても頻繁にあります。
そんなときは一度紙に書いてみるとわかりやすくなりますよ！
"""

Submission status: Accepted

Solution code:
s=list(input())
for i in range(5):
    print(s[i],end='')
print(' ',end='')
for i in range(7):
    print(s[i+6],end='')
print(' ',end='')
for i in range(5):
    print(s[i+14],end='')

Submission status: Accepted

Solution code:
# ABC051a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

print(*input()[:-1].split(','))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split(",")
for i in a:
    print(i,end=" ")

Submission status: Accepted

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

for sentence in sentences:
    print(sentence, end=' ')

Submission status: Accepted

Solution code:
s = input().split(",")
for i in range(len(s)):
    if i != 0:
        print(" ", end="")
    print(s[i], end="")
print()

Submission status: Accepted

Solution code:
##### 解けた #####

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s = input()

hairetu = list(s)
hairetu[5] = " "
hairetu[13] = " "

ans = "".join(hairetu)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(s1 + " " + s2 + " " + s3)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

#入力
s = input()

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

Submission status: Accepted

Solution code:
n = input()

#文字の置き換え
print(n.replace(',' , ' '))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!python3.4.3

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

print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# python3 (3.4.3)
import sys
input = sys.stdin.readline

# main
S = input().rstrip()

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

Submission status: Accepted

Solution code:
S=list(map(str,input().split(",")))
print(" ".join(map(str,S)))

Submission status: Accepted

Solution code:
def examA():
    s = sys.stdin.readline().split(",")
    print(" ".join(map(str,s)))

import sys
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Submission status: Accepted

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

Submission status: Accepted

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

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()
print(s[0:5]+' '+s[6:13]+' '+s[14:19])

Submission status: Accepted

Solution code:
#51
Haiku = str(input())
print(Haiku.replace(","," "))

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = map(str, input().split(','))
for s in li:
  print(s, end=" ")

Submission status: Accepted

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

print(" ".join(inp))

Submission status: Accepted

Solution code:
s = input()
print("{0} {1} {2}".format(s[0:5], s[6:13], s[14:]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=input().split(",")
print("{0} {1} {2}".format(a,b,c))

Submission status: Accepted

Solution code:
# 実行時間制限: 2 sec / メモリ制限: 256 MB
s = input().split(',')
print('{} {} {}'.format(s[0], s[1], s[2]))

Submission status: Accepted

Solution code:
a = str(input())

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

print(a)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = input().split(',')
st = a + ' ' + b + ' ' + c
print(st)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(str(input()))

del s[5]
del s[12]
s.insert(5,' ')
s.insert(13,' ')

print(''.join(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split(",")
s = " ".join(s)
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[:5]+" "+s[6:13]+" "+s[14:])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(str,input().split(",")))
tmp = " ".join(S)
print(tmp)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,t,u=input().split(',')
print(s+' '+t+' '+u)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = input()
for i in s:
  if i == ',':
    i = ' '
  print(i,end="")

print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import collections
import itertools
import functools
import math

if __name__ == "__main__":
    print("".join((input().replace(',', ' '))))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
k = []
ans = ""
for i in range(19):
  k.append(s[i])
for i in range(19):
  if k[i] == ",":
    k[i] = " "
  ans += k[i]
print(ans)

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re

s = input()

ans = re.sub(',', ' ', s)
print(ans)

Submission status: Accepted

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

s = input()

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

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    s = str(input().rstrip('\n'))
    print(s.replace(",", " "))


if __name__ == '__main__':
    slove()

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    print(" ".join(input().split(",")))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_ = input().replace(",", " ")

print(input_)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
comma_haiku = input().split(",")
space_haiku = " ".join(comma_haiku)
print(space_haiku)

Submission status: Accepted

Solution code:
print(input().rstrip().replace(',', ' '))

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
def do():
    s=list(map(str,input().split(',')))
    print(*s)
if __name__ == '__main__':
    do()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

for s in S:
    print(s + ' ' , end='')

Submission status: Accepted

Solution code:
s=input()
print("{} {} {}".format(s[0:5],s[6:13],s[14:19]))

Submission status: Accepted

Solution code:
for i in input().split(","):
    print(i)

Submission status: Accepted

Solution code:
s = input()

print('{} {} {}'.format(s[:5], s[6:13], s[14:]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
#coding:utf-8
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
for i in range(len(s)):
  print(s[i] if i != 5 and i != 13 else ' ', end ='')

Submission status: Accepted

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

Submission status: Accepted

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

print(" ".join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(*s)

Submission status: Accepted

Solution code:
s=list(input())

s[5]=' '
s[13]=' '

ans=''

for i in s:
    ans+=i
    
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
for i in range(len(s)):
  print(s[i] if i != 5 and i != 13 else ' ' , end ='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(input())
a[5]=" "
a[13]=" "
for i in range(19):
        print(a[i], end='')

Submission status: Accepted

Solution code:
s=list(map(str,input().split(",")))
n=len(s)
for i in range(n):
    if i==n-1:
        print(s[i])
    else:
        print(s[i],end=" ")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = [str(x) for x in input().split(',')]
print(" ".join(s))

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
a,b,c=input().split(",")

print(a,b,c)

Submission status: Accepted

Solution code:
s = list(input())
if len(s) == 19 and s[5] == s[13] == ',':
    s[5] = ' '
    s[13] = ' '
    print(''.join(s))
else:
    print('hoge!')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(''.join(' ' if c==',' else c for c in input()))

Submission status: Accepted

Solution code:
import sys
import copy
import string
from _bisect import *
from collections import *
from operator import itemgetter
from math import factorial
"""
from fractions import gcd
def lcm(x, y):
    return (x * y) // gcd(x, y)
"""
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

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

Submission status: Accepted

Solution code:
s=input()

print(" ".join(s.split(',')))

Submission status: Accepted

Solution code:
s = input()


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    s = input()
    t = ""
    for i in range(len(s)):
        if s[i] == ",": t += " "
        else: t += s[i]
    return t
if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = input().split(',')
##' '.join([a,b,c])
print(' '.join([a,b,c]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = [str(i) for i in input().split(",")]

print(' '.join(map(str, s)))

Submission status: Accepted

Solution code:
print(input().strip().replace(',', ' '))

Submission status: Accepted

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