传统题 2000ms 256MiB

Haiku

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Problem Statement

As a New Year's gift, Dolphin received a string ss of length 1919.
The string ss has the following format: [five lowercase English letters],[seven lowercase English letters],[five lowercase English letters].
Dolphin wants to convert the comma-separated string ss into a space-separated string.
Write a program to perform the conversion for him.

Constraints

  • The length of ss is 1919.
  • The sixth and fourteenth characters in ss are ,.
  • The other characters in ss are lowercase English letters.

Input

The input is given from Standard Input in the following format:

s 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

haiku,atcoder,tasks

Output 2

haiku atcoder tasks

Input 3

abcde,fghihgf,edcba

Output 3

abcde fghihgf edcba

AtCoder-ABC051

未参加
状态
已结束
规则
ACM/ICPC
题目
4
开始于
2024-11-17 19:00
结束于
2024-11-17 21:00
持续时间
2 小时
主持人
参赛人数
4