Weak Beats

AtCoder
IDabc323_a
Time2000ms
Memory256MB
Difficulty
You are given a string $S$ of length $16$ consisting of `0` and `1`. If the $i$\-th character of $S$ is `0` for every even number $i$ from $2$ through $16$, print `Yes`; otherwise, print `No`. ## Constraints * $S$ is a string of length $16$ consisting of `0` and `1`. ## Input The input is given from Standard Input in the following format: $S$ [samples]
Samples
Input #1
1001000000001010
Output #1
No

The $4$\-th character of $S=$ `1001000000001010` is `1`, so you should print `No`.
Input #2
1010100000101000
Output #2
Yes

Every even-positioned character in $S=$ `1010100000101000` is `0`, so you should print `Yes`.
Input #3
1111111111111111
Output #3
No

Every even-positioned character in $S$ is `1`. Particularly, they are not all `0`, so you should print `No`.
API Response (JSON)
{
  "problem": {
    "name": "Weak Beats",
    "description": {
      "content": "You are given a string $S$ of length $16$ consisting of `0` and `1`. If the $i$\\-th character of $S$ is `0` for every even number $i$ from $2$ through $16$, print `Yes`; otherwise, print `No`.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc323_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given a string $S$ of length $16$ consisting of `0` and `1`.\nIf the $i$\\-th character of $S$ is `0` for every even number $i$ from $2$ through $16$, print `Yes`; otherwise, print `No`.\n\n## Con...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments