#abc281b. [abc281_b]Sandwich Number

[abc281_b]Sandwich Number

Problem Statement

You are given a string SS consisting of uppercase English letters and digits. Determine whether SS satisfies the following condition.

  • SS is a concatenation of the following characters and string in the order listed.
    • An uppercase English letter
    • A string of length 66 that is a decimal representation of an integer between 100000100000 and 999999999999, inclusive
    • An uppercase English letter

Constraints

  • SS consists of uppercase English letters and digits.
  • The length of SS is between 11 and 1010, inclusive.

Input

The input is given from Standard Input in the following format:

SS

Output

If SS satisfies the condition in the problem statement, print Yes; otherwise, print No.


Sample Input 1

Q142857Z

Sample Output 1

Yes

SS is a concatenation of Q, 142857, and Z in this order.
Q and Z are uppercase English letters, and 142857 is a string of length 66 that is a decimal representation of an integer between 100000100000 and 999999999999, so SS satisfies the condition.


Sample Input 2

AB912278C

Sample Output 2

No

AB is not an uppercase English letter, so SS does not satisfy the condition.


Sample Input 3

X900000

Sample Output 3

No

The last character of SS is not an uppercase English letter, so SS does not satisfy the condition.


Sample Input 4

K012345K

Sample Output 4

No

012345 is not a string of length 66 that is a decimal representation of an integer between 100000100000 and 999999999999, so SS does not satisfy the condition.