#C12302. Capitalizing Words in a String
Capitalizing Words in a String
Capitalizing Words in a String
Given a string containing multiple words, your task is to transform it by capitalizing the first letter of each word and converting all other letters to lowercase.
For example, the string "gOOD to SEE yoU!" should be transformed to "Good To See You!". This problem is a typical string manipulation exercise that tests your ability to handle basic text formatting.
inputFormat
The input consists of a single line read from standard input (stdin). It contains a string which may include letters, spaces, and special characters.
outputFormat
Output the transformed string to standard output (stdout), where the first letter of each word is in uppercase and all remaining letters are in lowercase.
## sampleGOOD TO SEE YOU!
Good To See You!