#C13549. Normalize String

    ID: 43099 Type: Default 1000ms 256MiB

Normalize String

Normalize String

You are given a string. The task is to normalize the string by removing all leading and trailing white spaces and converting all the characters to lower case.

Functionality:

  • If the input string has extra spaces at the beginning or at the end, they should be removed.
  • All the letters in the string should be converted to lower-case.

For example, if the input string is " Hello World ", the normalized output should be "hello world".

The solution should read input from stdin and print the normalized string to stdout.

Note: In a contest environment, you can assume that the input provided will always be a valid string.

inputFormat

The input consists of a single line containing a string s. The string may have leading and/or trailing white spaces and a mixture of uppercase and lowercase letters.

Input is provided via stdin.

outputFormat

Output the normalized string after removing all leading and trailing white spaces and converting all characters to lower-case. The output should be printed to stdout.

## sample
 Hello World
hello world