P25467 [AtCoder] [ABC011B] Name Correction
入门
题目描述

Problem Description

As a novice programmer, you have been tasked with creating a program that performs simple string manipulation. Given a name as input, the program should format it correctly.

The correct format for a name is as follows:

  • The first character should be an uppercase letter.
  • The subsequent characters should be lowercase letters.

Create a program that meets these requirements.

Input Format

The input is given from the standard input in the following format:

$ S $

  • The first line contains the name $S\ (1\ ≦\ |S|\ ≦\ 12)$.
  • It is guaranteed that all characters in $ S $ are either lowercase or uppercase letters.

Output Format

Output the correctly formatted string in one line. Ensure that a newline is included at the end of the output.

Sample Input and Output

Sample Input #1

taKahAshI

Sample Output #1

Takahashi

Sample Input #2

A

Sample Output #2

A

Notes/Hints

Sample Explanation 1

The first character is uppercase, and the rest are lowercase.

Sample Explanation 2

The name can also be a single character. If the input string is already in the correct format, you can output it as is.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
taKahAshI
样例输出
Takahashi