SDE Path

Capitalize the First Letter

Easy

Capitalize the First Letter

Uppercase only the first letter of a lowercase word.

Input format

A single line with one lowercase word S.

Output format

Print S with its first letter changed to uppercase and the rest unchanged.

Constraints

  • Values fit in a 64-bit signed integer
  • Trailing whitespace and a trailing newline are ignored by the judge

Read from stdin, write to stdout. Sample cases below show the exact format.

Sample cases

Example 1
Input
hello
Expected output
Hello
Example 2
Input
code
Expected output
Code