Given a list of words, put each word into title case: its first letter uppercase and every other letter lowercase. Then print the words back in the same order separated by single spaces.
Input format
Line 1: an integer n, the number of words.
Line 2: n space-separated words made of English letters (any mix of cases).
Output format
One line: the n title-cased words separated by single spaces.
Constraints
- 1 <= n <= 1000
- 1 <= length of each word <= 100