UpUp
Practice
3.5 (84 votes)
Approved
Easy
Open
Problem
87% Success 15692 Attempts 20 Points 1s Time Limit 256MB Memory 1024 KB Max Code

You are given a string S. S consists of several words separated by one or more spaces. Word consists of Latin letters as well as other symbols (but not spaces).
In each word which starts from lowercase Latin letter replace starting letter with uppercase Latin letter.

Input
The only line contains S

Output
Output one line with modified string S.

Constraints
1 <= length of S <= 30 000

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:20
22 votes
Tags:
AlgorithmsEasyHiringString Manipulation
Points:30
29 votes
Tags:
AlgorithmsApprovedImplementationMediumOpenTrees
Points:20
17 votes
Tags:
AlgorithmsBasic ProgrammingEasyString Manipulation