Capitalized?

AtCoder
IDabc338_a
Time2000ms
Memory256MB
Difficulty
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. ## 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. ## Input The input is given from Standard Input in the following format: $S$ [samples]
Samples
Input #1
Capitalized
Output #1
Yes

The first character `C` of `Capitalized` is uppercase, and all other characters `apitalized` are lowercase, so you should print `Yes`.
Input #2
AtCoder
Output #2
No

`AtCoder` contains an uppercase letter `C` that is not at the beginning, so you should print `No`.
Input #3
yes
Output #3
No

The first character `y` of `yes` is not uppercase, so you should print `No`.
Input #4
A
Output #4
Yes
API Response (JSON)
{
  "problem": {
    "name": "Capitalized?",
    "description": {
      "content": "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 al",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc338_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given a non-empty string $S$ consisting of uppercase and lowercase English letters. Determine whether the following condition is satisfied:\n\n*   The first character of $S$ is uppercase, and al...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments