#t67. 病毒检测

病毒检测

Virus Detection

Problem Description

Scientists are now working intensively on isolating and testing the novel coronavirus. But how do we recognise a virus?

Country CC has discovered a feature of a certain virus: it hides inside a gene sequence. If you find 55 consecutive increasing numbers in the sequence that are all multiples of both 66 and 1010, then the X1Y1X1Y1 virus is detected in that gene!

Please use a for loop in C/C++ or Python to help the scientists finish this urgent and difficult task.

Input Format

The first line contains a positive integer  n \,n\,, the length of the gene sequence (at most 10001000).

Then  n \,n\, integers follow consecutively, the digits of the gene sequence (non-negative integers less than 10001000).

Output Format

If a virus exists, print Yes on the first line, then on the second line print one integer: the position of the first number of the virus in the sequence.

If no virus exists, simply print No.

Sample Input 1

8
1 2 3 4 5 6 7 8

Sample Output 1

No

Sample Input 2

10
1 4 6 0 60 90 120 150 9 10

Sample Output 2

Yes
4