#B4245. Space to Comma Converter

    ID: 11902 Type: Default 1000ms 256MiB

Space to Comma Converter

Space to Comma Converter

This problem requires you to convert space-separated integers into a comma-separated output. In many programming languages, inputs are typically space-delimited, whereas some data processing software uses commas as delimiters. You are to write a program that takes one line of space-separated integers and outputs the same integers separated by commas.

inputFormat

A single line containing one or more integers separated by spaces (e.g. '1 2 3').

outputFormat

A single line with the input integers separated by commas (e.g. '1,2,3').

sample

1 2 3
1,2,3