eolymp
bolt
Try our new interface for solving problems
Problems

Title String

Title String

A common word-processing task is capitalizing the first letter of each word in a string. You are given a string containing lowercase words separated by one or more space characters. Print identical string except with the first character of each word is capitalized. \InputFile String containing words of lowercase letters $'a' - 'z'$, separated by one or more space characters. The length of the string is no more than $50$ characters. \OutputFile Print the string identical to input, where the first character of each word is capitalized.
Time limit 1 second
Memory limit 128 MiB
Input example #1
introduction to algorithms
Output example #1
Introduction To Algorithms