10034: ABC338 —— A - Capitalized?
[Creator : ]
Description
You are given a non-empty string $S$ consisting of uppercase and lowercase English letters. Determine whether the following condition is satisfied:
- The first character of $S$ is uppercase, and all other characters are lowercase.
- The first character of $S$ is uppercase, and all other characters are lowercase.
Input
The input is given from Standard Input in the following format:
```
$S$
```
```
$S$
```
Output
If the condition is satisfied, print `Yes`; otherwise, print `No`.
Constraints
- $1 \leq |S| \leq 100$ ($|S|$ is the length of the string $S$.)
- Each character of $S$ is an uppercase or lowercase English letter.
- Each character of $S$ is an uppercase or lowercase English letter.
Sample 1 Input
Capitalized
Sample 1 Output
Yes
The first character C of Capitalized is uppercase, and all other characters apitalized are lowercase, so you should print Yes.
Sample 2 Input
AtCoder
Sample 2 Output
No
AtCoder contains an uppercase letter C that is not at the beginning, so you should print No.
Sample 3 Input
yes
Sample 3 Output
No
The first character y of yes is not uppercase, so you should print No.
A
Yes