#C17. Title Case Converter

    ID: 44933 Type: Default 1000ms 256MiB

Title Case Converter

Title Case Converter

You are given an input string consisting of one or more words separated by spaces. Your task is to convert the string so that the first letter of each word is in uppercase and the remaining letters are in lowercase.

For example, given the string hello world, the output should be Hello World.

Note: Use the built-in functions where applicable. If you need to refer to any formulas, use the LaTeX format (e.g., $f(x)=x$).

inputFormat

The input consists of a single line containing a string, which may include both uppercase and lowercase letters. Words are separated by one or more spaces.

outputFormat

Output a single line: the transformed string where the first letter of each word is uppercase and the remaining letters are lowercase.

## sample
hello
Hello