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())

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

print("".join(s))

Submission status: Accepted

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

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

print(str)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print('{} {} {}'.format(s[0], s[1], s[2]))

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

print(*l)

Submission status: Accepted

Solution code:
c=input()
ans=c.replace(","," ",2)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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

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.replace(","," "))

Submission status: Accepted

Solution code:
import sys
from fractions import gcd
import bisect
 
stdin = sys.stdin
 
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
s = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]

s = stdin.readline().split(",")
print(*s, sep=" ")

Submission status: Accepted

Solution code:
#!/usr/bin/env python
s = raw_input()
print(s.replace(",", " "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    s = list(input())
    a=[]
    b=[]
    c=[]
    for i in range(5):
        a+=s[i]
    for i in range(7):
        b+=s[i+6]
    for i in range(5):
        c+=s[i+14]
    
    a=''.join(a)
    b=''.join(b)
    c=''.join(c)
    
    print(a,b,c)
        
main()

Submission status: Accepted

Solution code:
a = str(input())

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

Submission status: Accepted

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

print(a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def conv_haiku(comma):
    space_rep=comma.replace(","," ")
    return(space_rep)

haiku_pre=input()
print(conv_haiku(haiku_pre))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())

s[5] = s[13] = " "
print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
print(input().replace(',',' '))

Submission status: Accepted

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

Submission status: Accepted

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

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:
print (input().replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

resolve()

Submission status: Accepted

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

Submission status: Accepted

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

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:
a = input().split(",")

print(" ".join(a))

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, sep=(' '))

Submission status: Accepted

Solution code:

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

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


if __name__ == '__main__':
    a, b, c = input().split(',')
    print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Tmp = []
Tmp = input().rstrip().split(',')
 
sA = (Tmp[0])
sB = (Tmp[1])
sC = (Tmp[2])
 
print(sA + ' ' + sB +' ' + sC)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

Solution code:
a = str(input())

print(a.replace(',', ' '))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(str, input().split(",")))
ans = ""
for i in S:
    ans += i + " "
print(ans)

Submission status: Accepted

Solution code:


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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
print(input().replace(',', ' '))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)


def solve(s: str):
    ret = ''
    for c in s:
        if c == ',':
            ret += ' '
        else:
            ret += c
    print(ret)
    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:
mozi = input()
print(mozi.replace(","," "))

Submission status: Accepted

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

import sys
import copy

sys.setrecursionlimit(1000000)

# input = sys.stdin.readline

# ~~~~~~~~~~~~~~~~~~~~~_(＾～＾ ｣ ∠)_~~~~~~~~~~~~~~~~~~~~~

s = input().rstrip()

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

Submission status: Accepted

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

import sys
import copy

sys.setrecursionlimit(1000000)

# input = sys.stdin.readline

# ~~~~~~~~~~~~~~~~~~~~~_(＾～＾ ｣ ∠)_~~~~~~~~~~~~~~~~~~~~~

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

print(*s)

Submission status: Accepted

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

# input
s = input()

# solve & output
print(s.replace(',', ' '))

Submission status: Accepted

Solution code:
s=str(input())
cadena=""
for i in range(len(s)):
  if i==5 or i==13:
    cadena+=" "
  else:
    cadena+=s[i]
print(cadena)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#A
def A():
    a = input()
    print(" ".join(a.split(",")))
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

ans = ""

s = input()

for i in s:

    if i == ",":
        ans += " "

    else:
        ans += i

print (ans)

Submission status: Accepted

Solution code:
s=input()
l=len(s)
s_list=list(s)
for i in range(l):
    if s_list[i]==",":
        s_list[i]=" "
new="".join(s_list)
print(new)

Submission status: Accepted

Solution code:
def main():
    s=list(input().split(','))
    print(s[0],s[1],s[2])
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
# -*- coding: utf-8 -*-
import sys
from operator import itemgetter
# gcd
from fractions import gcd
# 切り上げ，切り捨て
from math import ceil, floor
# リストの真のコピー（変更が伝播しない）
from copy import deepcopy
# 累積和。list(accumulate(A))としてAの累積和
from itertools import accumulate
# l = ['a', 'b', 'b', 'c', 'b', 'a', 'c', 'c', 'b', 'c', 'b', 'a']
# S = Counter(l)  # カウンタークラスが作られる。S=Counter({'b': 5, 'c': 4, 'a': 3})
# print(S.most_common(2))  # [('b', 5), ('c', 4)]
# print(S.keys())  # dict_keys(['a', 'b', 'c'])
# print(S.values())  # dict_values([3, 5, 4])
# print(S.items())  # dict_items([('a', 3), ('b', 5), ('c', 4)])
from collections import Counter
import math
from functools import reduce
# input関係の定義
input = sys.stdin.readline


def ii(): return int(input())


def mi(): return map(int, input().rstrip().split())


def lmi(): return list(map(int, input().rstrip().split()))


def li(): return list(input().rstrip())


# template



def solve(s: list):
    print(*s)


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)
    word = list(input().rstrip().split(','))
    solve(word)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#x, y = map(int,input().split())
#ls = list(map(int,input().split()))
#n = int(input())
s = input()
#x, y = input().split()

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

Submission status: Accepted

Solution code:
s = input()

a = s[0:5]
b = s[6:13]
c = s[14:19]

print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
for i, s in enumerate(S):
    if i == 5 or i == 13:
        print(" ", end="")
    else:
        print(s, end="")
print()

Submission status: Accepted

Solution code:
s = list(input())
for i in range(19):
    if(s[i]==","):
        s[i]=' '

print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

haikus = input().split(",")
for haiku in haikus:
    print(haiku)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
str = input()

print(str.replace(","," "))

Submission status: Accepted

Solution code:
A, B, C = input().split(",")
print("{} {} {}".format(A, B, C))

Submission status: Accepted

Solution code:

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

ans = ''
for i, si in enumerate(s):
    ans += si
   
    ans += ' ' if len(s)-1 != i else '\n'

print(ans)

Submission status: Accepted

Solution code:
r=input().rstrip().split(',')
for i in range(0,len(r)):
    print(r[i],end=' ')

Submission status: Accepted

Solution code:
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

S = s()
print(' '.join(S.split(',')))

Submission status: Accepted

Solution code:
a = input()

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

print(b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


abc()

Submission status: Accepted

Solution code:

s = input()

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

Submission status: Accepted

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

s = input()

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

Submission status: Accepted

Solution code:
string = input().split(",")
print("{0} {1} {2}".format(string[0], string[1], string[2]))

Submission status: Accepted

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

for i in range(5):
    ans += s[i]

ans += ' '

for i in range(7):
    ans += s[i + 6]

ans += ' '

for i in range(5):
    ans += s[i + 14]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
ls = []
for i,j in enumerate(s):
    if i == 5 or i == 13:
        ls.append(" ")
    else:
        ls.append(j)
print("".join(ls))

Submission status: Accepted

Solution code:
s = input()

if len(s) != 19:
    exit()

if s[5] != "," or s[13] != ",":
    exit()

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

Submission status: Accepted

Solution code:
s = input()

table = str.maketrans({',': ' '})
print(s.translate(table))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

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

Submission status: Accepted

Solution code:
print("".join([" " if i=="," else i for i in input()]))

Submission status: Accepted

Solution code:
print(input().translate(str.maketrans(',',' ')))

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

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


solve()

Submission status: Accepted

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

Submission status: Accepted

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

letter = " ".join(haiku)

print(letter)

Submission status: Accepted

Solution code:
print(input().strip().replace(",", " ", -1))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - Haiku
https://atcoder.jp/contests/abc051/tasks/abc051_a

"""
import sys


def solve(s):
    return s.replace(',', ' ')


def main(args):
    s = input()
    ans = solve(s)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/bin/python3

import re

haiku = input()

print(re.sub(
    r'(.{5}),(.{7}),(.{5})', r'\1 \2 \3', haiku))

Submission status: Accepted

Solution code:
# 入力
string = input()

#　計算と出力
print(string.replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

S = input().split(',')
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:
s=input()
S=s.split(',')
print(' '.join(S))

Submission status: Accepted

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

Submission status: Accepted

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

def solve(s):
    print(s.replace(",", " "))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#N = int(input())
#A = [int(x) for x in input().split()]
#a, b, c = map(int, input().split())
#name1 = str(input())
#alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}
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:
a,b,c = map(str,input().split(','))
print(a,b,c)

Submission status: Accepted

Solution code:
s=str(input())

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

print(S)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
	main()

Submission status: Accepted

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

print(*s)

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:
import sys
input = sys.stdin.readline

print(' '.join(input().split(',')))

Submission status: Accepted

Solution code:
def read_input():
    s = input().strip()

    return s


def submit():
    s = read_input()
    print(s.replace(',', ' '))

if __name__ == '__main__':
    submit()

Submission status: Accepted

Solution code:
s=input().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 (S[0]+' '+S[1]+' '+S[2])

Submission status: Accepted

Solution code:
s = input()

ans = ''
for i in range(19):
    if i != 5 and i != 13:
        ans += s[i]
    else:
        ans += ' '

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(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:
# -*- coding: utf-8 -*-

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import functools

import os
import sys

sys.setrecursionlimit(10000)
INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def Yesif(cond):
    print('Yes' if cond else 'No')


def YESIF(cond):
    print('YES' if cond else 'NO')


def yesif(cond):
    print('yes' if cond else 'no')


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits

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()))
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:
print(input().rstrip().replace(",", " "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    A = list(map(str, input().strip().split(',')))

    return ' '.join(A)


if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

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:
s1,s2,s3=map(str,input().split(','))
print('{} {} {}'.format(s1,s2,s3))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

text = stdin.readline().rstrip()
print(text.replace(',', ' '))

Submission status: Accepted

Solution code:
s=str(input())
s1=s[:5]
s2=s[6:13]
s3=s[14:]
print('{} {} {}'.format(s1,s2,s3))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())
s[5] = " "
s[13] = " "
ans = map(str,s)

print("".join(ans))

Submission status: Accepted

Solution code:
from functools import reduce

def main():
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    # 1e10

    # 初期値用:十分小さい数(-100億)
    # -1e10
    
    # 1文字のみを読み込み
    # 入力:2
    a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    a = a.replace(',',' ')
    print(a)
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

print(a,b,c)

Submission status: Accepted

Solution code:
def haiku(s: str)->str:
    return s[:5] + ' ' + s[6:13] + ' ' + s[14:]


if __name__ == "__main__":
    s = input()
    ans = haiku(s)
    print(ans)

Submission status: Accepted

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

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:
a = input().split(",")
print(" ".join(a))