#K52302. Replace Spaces with Underscores

    ID: 29279 Type: Default 1000ms 256MiB

Replace Spaces with Underscores

Replace Spaces with Underscores

You are given a string that contains lowercase letters and space characters. Your task is to replace all the spaces in the string with underscores.

Example:
Input: hello world
Output: hello_world

This problem tests your ability to perform simple string manipulation. If the input string contains n spaces, then each of these spaces should be replaced by an underscore (_).

For a clear understanding, note that if the input string is represented as s, then the output should be:

s' = \text{replace}(s, \text{' '}, \text{'_'})

inputFormat

The input consists of a single line containing a string s which consists of lowercase letters and space characters.

The string may include leading or trailing spaces. You must read the complete input from stdin.

outputFormat

Print the modified string where every space has been replaced by an underscore. Write the result to stdout.

## sample
hello
hello