AtCoder Beginner Contest 051
翻译中…
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.
翻译中…
样例
Input #1
happy,newyear,enjoy
Output #1
happy newyear enjoy
Replace all the commas in `happy,newyear,enjoy` with spaces to obtain `happy newyear enjoy`.
Input #2
haiku,atcoder,tasks
Output #2
haiku atcoder tasks
Input #3
abcde,fghihgf,edcba
Output #3
abcde fghihgf edcba
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。