100 atcoder#ABC192B. [ABC192B] uNrEaDaBlE sTrInG
[ABC192B] uNrEaDaBlE sTrInG
Score : points
Problem Statement
We call a string hard-to-read when its odd-positioned (-st, -rd, -th, ... from the beginning) characters are all lowercase English letters and its even-positioned characters (-nd, -th, -th, ... from the beginning) are all uppercase English letters.
Determine whether a string is hard-to-read.
Constraints
- consists of uppercase and lowercase English letters.
- The length of is between and (inclusive).
Input
Input is given from Standard Input in the following format:
Output
If is hard-to-read, print Yes
; otherwise, print No
.
dIfFiCuLt
Yes
The odd-positioned characters are all lowercase and the even-positioned characters are all uppercase, so it is hard-to-read.
eASY
No
The -rd character is not lowercase, so it is not hard-to-read.
a
Yes