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