2878: ABC192B - uNrEaDaBlE sTrInG
จำกัดหน่วยความจำ:128 MB
จำกัดเวลา:1.000 S
Judge Style:Text Compare
Creator:
ส่ง:11
แก้ได้:5
คำอธิบาย
Problem Statement
We call a string hard-to-read when its odd-positioned (1-st, 3-rd, 5-th, ... from the beginning) characters are all lowercase English letters and its even-positioned characters (2-nd, 4-th, 6-th, ... from the beginning) are all uppercase English letters.Determine whether a string SS is hard-to-read.
Constraints
- SS consists of uppercase and lowercase English letters.
- The length of SS is between 11 and 10001000 (inclusive).
ข้อมูลนำเข้า
Input
Input is given from Standard Input in the following format:S
ข้อมูลส่งอออก
Output
If S is hard-to-read, print Yes; otherwise, print No.
ตัวอย่างข้อมูลนำเข้า Copy
dIfFiCuLt
ตัวอย่างข้อมูลส่งออก Copy
Yes