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:
# -*- coding: utf-8 -*-

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = input().split(',')
print(s[0] + ' ' + s[1] + ' ' + s[2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split(",")
n = 0
for i in a:
    n += 1
    if(n<3):
        print(i,end=" ")
    else:
        print(i)

Submission status: Accepted

Solution code:
a,b,c = input().split(sep = ",")
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 = list(input().split(','))
print(S[0] + ' ' + S[1] + ' ' + S[2])

Submission status: Accepted

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

def main():
	S = input()
	S = list(S)
	
	S[5] = " "
	S[13] = " "
			
	print("".join(S))
	
if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re


def main() -> None:
    s = input()
    print(re.sub(',', ' ', s))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())

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

print(''.join(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
s = stdin.readline().rstrip()
print(s.replace(',', ' '))

Submission status: Accepted

Solution code:
# coding: utf-8
a = input()
b = ''
for i in range(2):
    b = a.replace(',', ' ')
print(b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
# ABC 051 A - Haiku
a,b,c =map(str,input().split(","))
print(a +" "+b+" "+c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

xs = s.split(",")
ans = " ".join(xs)

print(ans)
print()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x=input()
def fun():
     print(11)
     print(22)
     print(33)
     print(34)
     print(23)
x=x.replace(',',' ')
print(x)

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:
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(',')
ans = ""
for i in s:
    ans += i + " "
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
""" AtCoder """

s = input()

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

Submission status: Accepted

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

ans = ""

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def execute(s):
    return s.replace(',', ' ')


if __name__ == '__main__':
    print(execute(input()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
h = list(map(str, input().split(',')))
ans = ' '.join(h)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str_s = input()

li_s = str_s.split(",")

print("{} {} {}".format(*li_s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = ''
for i in a:
    ans+=i
    ans+=' '
print(ans[:-1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split(',')
print('{} {} {}'.format(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:
s = ' '.join(input().split(','))
print(s)

Submission status: Accepted

Solution code:
def main():
    #a, b, c = map(str, input().split())
    s = input().replace(',', ' ')
    print(s)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from statistics import mean, median,variance,stdev
import sys
import math

x = input().split()
#y = input().split()
a = []
#for i in range(len(x)):
#   a.append(int(x[i]))

print(x[0].replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split(",")
#print(s)
#exit()
#s[5]=str(' ')
#s[13]=str(' ')
#print(s)
t=[]
for i in range(len(s)):
    print(s[i]+' ', end="")

Submission status: Accepted

Solution code:
#-*- coding: utf-8 -*-
s = str(input())
print("{}".format(s.replace(","," ")))

Submission status: Accepted

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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
arr = raw_input().split(",")

print (" ").join(arr)

Submission status: Accepted

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

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

Submission status: Accepted

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


"""
https://beta.atcoder.jp/contests/abc009/tasks/abc51_1
"""

import sys
import math
from inspect import currentframe

def debug(*args):
    names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args), file=sys.stderr)

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

Submission status: Accepted

Solution code:
s = input().rstrip()

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

Submission status: Accepted

Solution code:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def bisearch(L, target):
    low = 0
    high = len(L) - 1
    
    while low <= high:
        mid = (low + high) // 2
        guess = L[mid]
        if guess == target:
            return True
        elif guess < target:
            low = mid + 1
        elif guess > target:
            high = mid - 1
    if guess != target:
        return False

# --------------------------------------------

dp = None


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


main()

Submission status: Accepted

Solution code:
haiku = input().split(",")
for (i, line) in enumerate(haiku):
    print(line, end = "")
    if i <= 1:
      print(" " , end = "")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

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 = [i for i in input().split(',')]
print(' '.join(S))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
s=input()
print(s.replace(',',' '))

Submission status: Accepted

Solution code:
S = list( input().split(","))
ans = ''
for i in range(3):
    ans += S[i] + " "
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

s.replace(',',' ')

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

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:
#! /usr/bin/python3
# Haiku

"""
    s の長さは 19 である。
    s の 6 文字目と 14 文字目は , である。
    それら以外の s の文字は英小文字である。
"""

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8
print(input().replace(",", " "))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

#print(s)



first = s[0:5]
second = s[6:13]
third = s[14:19]


print(first + " " + second + " " + third)

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(s)

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()
p = s.replace(',',' ')
print(p)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a,b,c)

Submission status: Accepted

Solution code:
# coding: utf-8
from __future__ import unicode_literals
from __future__ import print_function
import os
import sys

def main():
    s = sys.stdin.read()
    sys.stdout.write(s.replace(",", " "))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=list(input())
s[5]=' '
s[13]=' '
ss=''
for i in s:
    ss+=i
print(ss)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
haiku = input()

newHaiku = haiku.replace(',', ' ')

print(newHaiku)

Submission status: Accepted

Solution code:
s = input()

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

print(t)

Submission status: Accepted

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

Submission status: Accepted

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

def main():
    s = input()
    arry = s.split(',')
    print(' '.join(arry))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 文字列の入力
s = raw_input()
dst = s.replace(',', ' ')
# 出力
print(dst)

Submission status: Accepted

Solution code:
S = input()
S = list(S)
S[5] = " "
S[13]= " "

print("".join(S))

Submission status: Accepted

Solution code:
s = input()

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline()
print(s.replace(',', ' '))

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def main():
    s = input()


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

if __name__ == "__main__":
        main()

Submission status: Accepted

Solution code:
s = input()

x = s.split(',')
print(x[0], x[1], x[2])

Submission status: Accepted

Solution code:
# vim: set fileencoding=utf-8 :

# 長さ19
s = str(raw_input())
print(s.replace(","," "))

Submission status: Accepted

Solution code:
# input
s = input()

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

Submission status: Accepted

Solution code:
from collections import defaultdict
import sys,heapq,bisect,math,itertools,string
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7


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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = input()

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

print(s)

Submission status: Accepted

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

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:
S = input().split(",")
print(S[0] + " " + S[1] + " " + S[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=[i for i in input().split(",")]
a=""
for j in range(len(s)):
    a=a+s[j]+" "
print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
a = []
for i in range(len(s)):
  a.append(s[i])
a.pop(5)
a.pop(-6)

a1 = a[0]+a[1]+a[2]+a[3]+a[4]
a2 = a[5]+a[6]+a[7]+a[8]+a[9]+a[10]+a[11]
a3 = a[12]+a[13]+a[14]+a[15]+a[16]

print(a1 +" "+ a2 +" "+ a3)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
n=input()
n=n.replace(","," ")
print(n)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

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

Submission status: Accepted

Solution code:
ss = raw_input().split(',')
ans = ''
for s in ss:
    ans += s + ' '
print ans

Submission status: Accepted

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

s = list(input())

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

S = ""
for i in s:
    S = S + i

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:
s=input()
s=list(s)
for i in range (len(s)):
    if s[i]==',':
        s[i]=' '
s_changed=''.join(s)
print (s_changed)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

print(N.replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# AtCoder Beginner Contest
# Problem A

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][0]

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:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

print(ns().replace(","," "))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = input()
for i in range(0, 5):
	print(l[i], end="")
print(" ", end="")
for j in range(6, 13):
	print(l[j], end="")
print(" ", end="")
for k in range(14, 19):
	print(l[k], end="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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()
t=s.replace(',',' ')
print(t)

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

s[0:5]+ s[6:13] + s[14:19]

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

Submission status: Accepted

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

for e in s:
    print(e, end=" ")

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from sys import stdin, stdout
def readLine_str_list():return list(map(str, stdin.readline().split(',')))
def main():
    s = readLine_str_list()
    print(' '.join(s))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
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:
a, b, c = map(str, raw_input().split(","))

print " ".join([a, b, c])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = raw_input().strip().split(',')
ans = ''
for x in a:
	ans += x
	ans += ' '
ans = ans[:-1]
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:



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

Submission status: Accepted

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



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

if __name__ == "__main__": main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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()
x = s.split(',')
print(x[0]+' '+ x[1] + ' ' + x[2])

Submission status: Accepted

Solution code:
s = (input())

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

Submission status: Accepted

Solution code:
from collections import defaultdict


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def ris(): return list(input())
def pli(a): return "".join(list(map(str, a)))

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

Submission status: Accepted

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

Submission status: Accepted

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