QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#593900#4673. Knights of Light and DarknessZhaoZiLongAC ✓5ms3716kbC++23394b2024-09-27 16:45:372024-09-27 16:45:40

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3580kb

input:

3
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
! -1

result:

ok impossible!

Test #2:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

4
No
No

output:

? L 1 2
? L 3 4
! 2

result:

ok 

Test #3:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

6
No
No
No

output:

? L 1 2
? L 3 4
? L 5 6
! 3

result:

ok 

Test #4:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

7
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #5:

score: 0
Accepted
time: 2ms
memory: 3692kb

input:

651
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #6:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

407
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #7:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

111
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #8:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

629
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #9:

score: 0
Accepted
time: 2ms
memory: 3568kb

input:

949
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #10:

score: 0
Accepted
time: 3ms
memory: 3620kb

input:

409
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #11:

score: 0
Accepted
time: 2ms
memory: 3576kb

input:

833
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #12:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

749
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #13:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

595
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #14:

score: 0
Accepted
time: 2ms
memory: 3628kb

input:

365
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #15:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

555
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #16:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

92
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #17:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

705
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #18:

score: 0
Accepted
time: 3ms
memory: 3676kb

input:

415
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #19:

score: 0
Accepted
time: 2ms
memory: 3560kb

input:

381
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #20:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

904
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #21:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

1000
No
No
Yes
No
Yes
No
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
Yes
No
Yes
Yes
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #22:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

970
No
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #23:

score: 0
Accepted
time: 5ms
memory: 3572kb

input:

953
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #24:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:

180
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
No
No
Yes
No
No
No
No
No
Yes
No
No
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #25:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

593
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #26:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

496
Yes
No
No
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
No
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
No
No
No
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
No
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #27:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

176
No
No
Yes
Yes
No
No
No
Yes
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
No
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
No
Yes
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #28:

score: 0
Accepted
time: 0ms
memory: 3716kb

input:

553
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #29:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

186
No
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #30:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

469
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #31:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

566
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #32:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

974
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
Yes
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #33:

score: 0
Accepted
time: 3ms
memory: 3572kb

input:

845
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #34:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

293
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #35:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

588
Yes
No
No
No
No
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #36:

score: 0
Accepted
time: 2ms
memory: 3556kb

input:

933
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #37:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

666
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
No
Yes
No
No
No
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
No
No
No
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #38:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

299
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #39:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

549
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #40:

score: 0
Accepted
time: 2ms
memory: 3700kb

input:

709
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #41:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

939
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #42:

score: 0
Accepted
time: 3ms
memory: 3572kb

input:

461
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #43:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

33
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #44:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

804
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #45:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

536
No
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
No
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #46:

score: 0
Accepted
time: 2ms
memory: 3612kb

input:

797
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #47:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

486
Yes
No
No
Yes
No
No
No
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
No
No
No
No
No
Yes
No
No
No
Yes
Yes
No
Yes
No
No
No
No
No
No
No
Yes
No
No
No
No
No
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #48:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

281
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #49:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

68
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
No
No
No
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #50:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

710
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #51:

score: 0
Accepted
time: 4ms
memory: 3640kb

input:

847
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #52:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

8
No
No
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
! 4

result:

ok 

Test #53:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

362
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #54:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

446
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #55:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

331
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #56:

score: 0
Accepted
time: 5ms
memory: 3632kb

input:

931
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #57:

score: 0
Accepted
time: 2ms
memory: 3624kb

input:

197
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #58:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

585
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #59:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

500
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #60:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

546
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
No
No
No
No
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
No
No
Yes
No
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
Yes
Yes
Yes
No
No
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
Yes
No...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #61:

score: 0
Accepted
time: 2ms
memory: 3568kb

input:

347
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #62:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

163
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #63:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

873
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #64:

score: 0
Accepted
time: 2ms
memory: 3648kb

input:

327
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #65:

score: 0
Accepted
time: 3ms
memory: 3616kb

input:

531
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #66:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

204
No
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
No
No
Yes
No
No
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #67:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

107
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #68:

score: 0
Accepted
time: 3ms
memory: 3632kb

input:

431
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #69:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

19
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #70:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

582
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
No
No
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
No
No
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #71:

score: 0
Accepted
time: 2ms
memory: 3628kb

input:

335
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #72:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

464
No
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
No
No
Yes
No
No
No
No
Yes
No
No
No
No
No
No
Yes
No
No
Yes
No
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #73:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

348
No
No
No
No
Yes
No
No
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
No
Yes
Yes
No
Yes
No
Yes
No
No
No
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #74:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

13
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #75:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

780
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
No
No
Yes
No
No
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
Yes
No
Yes
Yes
No
No
No
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #76:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

49
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #77:

score: 0
Accepted
time: 4ms
memory: 3568kb

input:

669
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #78:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

877
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #79:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

470
Yes
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
No...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #80:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

849
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #81:

score: 0
Accepted
time: 4ms
memory: 3688kb

input:

613
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #82:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

614
No
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #83:

score: 0
Accepted
time: 2ms
memory: 3692kb

input:

209
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #84:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

44
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
! 22

result:

ok 

Test #85:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

876
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
No
No
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
No
Yes
No
No
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #86:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

938
No
No
No
Yes
Yes
No
No
Yes
No
No
No
No
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #87:

score: 0
Accepted
time: 3ms
memory: 3688kb

input:

551
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #88:

score: 0
Accepted
time: 2ms
memory: 3592kb

input:

897
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #89:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

572
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
Yes
No
No
Yes
No
Yes
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
No
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #90:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

220
Yes
No
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #91:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

52
Yes
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
! 26

result:

ok 

Test #92:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

460
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
No
No
No
Yes
Yes
Yes
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
Yes
No
Yes
No
Yes
No
No
No
No
Yes
Yes
Yes
No
No
No
No
No
No
Yes
No
No
Yes
No
Yes
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #93:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

952
Yes
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
No
No
Yes
No
No
No
No
No
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
No
Yes
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #94:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

280
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
No
No
No
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #95:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

312
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
No
No
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #96:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

805
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #97:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

32
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
No
No
No
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
! 16

result:

ok 

Test #98:

score: 0
Accepted
time: 3ms
memory: 3564kb

input:

545
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #99:

score: 0
Accepted
time: 2ms
memory: 3572kb

input:

667
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #100:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

443
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #101:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

810
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
Yes
No
Yes
No
Yes
Yes
No
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #102:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

229
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #103:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

400
No
No
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
Yes
No
Yes
Yes
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #104:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

672
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
No
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #105:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

664
No
Yes
No
Yes
Yes
No
No
No
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
No
Yes
No
No
No
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
No
No
Yes
Yes
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
No
No
Yes
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #106:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

17
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #107:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

886
No
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
Yes
No
No
Yes
No
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #108:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

758
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
No
Yes
Yes
No
Yes
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #109:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

648
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Yes
No
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
Yes
No
No
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #110:

score: 0
Accepted
time: 3ms
memory: 3632kb

input:

413
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #111:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

410
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
No
No
Yes
No
No
No
Yes
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #112:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

395
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #113:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

650
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
No
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Yes
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #114:

score: 0
Accepted
time: 2ms
memory: 3684kb

input:

211
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #115:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

538
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
No
No
Yes
No
No
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
Yes
Yes
Yes
No
No
No
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #116:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

323
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #117:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

27
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #118:

score: 0
Accepted
time: 3ms
memory: 3692kb

input:

485
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #119:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

900
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
No
Yes
No
No
No
No
Yes
No
Yes
No
No
No
No
Yes
No
No
No
Yes
No
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
No
No
Yes
No
No
No
No
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #120:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

440
No
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #121:

score: 0
Accepted
time: 3ms
memory: 3676kb

input:

533
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #122:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

619
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #123:

score: 0
Accepted
time: 0ms
memory: 3700kb

input:

361
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #124:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

14
Yes
Yes
No
Yes
No
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
! 7

result:

ok 

Test #125:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

64
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #126:

score: 0
Accepted
time: 2ms
memory: 3628kb

input:

659
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #127:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

839
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #128:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

518
Yes
Yes
Yes
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes
No
No

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #129:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

238
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
No
No
No
No
No
Yes
Yes
No
Yes
No
No
No
Yes
No
Yes
No
No
No
No
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
No
No
Yes
No
No
No
No
Yes
No
Yes
Yes
No
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #130:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

782
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
No
No
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
No
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #131:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

831
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #132:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

855
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #133:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

958
No
Yes
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
No
No
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
No
N...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #134:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

35
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #135:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

878
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
No
Yes
No
No
No
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
No
Yes
No
Yes
No
No
No
No
No
Yes
No
No
No
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #136:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

534
No
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
No
No
No
No
Yes
Yes
No
No
Yes
No
No
No
No
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
No
No
Yes
Yes
Ye...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #137:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

475
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #138:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

922
No
No
No
Yes
Yes
Yes
Yes
No
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #139:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

644
Yes
No
Yes
Yes
No
Yes
No
Yes
No
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
Yes
No
No
No
No
No
Yes
No
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
No
No
No
No
No
No
No...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #140:

score: 0
Accepted
time: 4ms
memory: 3568kb

input:

687
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #141:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

655
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #142:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

872
Yes
No
No
Yes
Yes
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
No
No
Yes
Yes
No
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Y...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #143:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

859
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #144:

score: 0
Accepted
time: 5ms
memory: 3624kb

input:

811
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #145:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

83
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #146:

score: 0
Accepted
time: 1ms
memory: 3684kb

input:

55
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Y...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #147:

score: 0
Accepted
time: 3ms
memory: 3628kb

input:

477
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #148:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

392
No
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
Yes
No
Yes
No
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
No
Yes
No
No
Yes
No
No
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
N...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #149:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

596
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No
No
Yes
No
No
No
Yes
No
No
No
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
Yes
No
Yes
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
No
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
No
Yes
No
Yes
No
No
No
Yes
Yes
Yes
No
No
No
Yes
No...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #150:

score: 0
Accepted
time: 2ms
memory: 3696kb

input:

403
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #151:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

454
No
No
Yes
No
Yes
Yes
No
No
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
No
No
No
Yes
No
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
No
No
No
No
No
Yes
No
Yes
Yes
No
Yes
No
No
No
Yes
Yes
Yes
No
No
No
No
No
No
No
No
Yes
No
No
No
Yes
No
Yes
No
No
No
Yes
No
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No
...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok 

Test #152:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

707
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
...

output:

? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L 1 1
? L ...

result:

ok impossible!

Test #153:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

638
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
Yes
No
No
Yes
Yes
No
No
No
No
Yes
No
Yes
No
No
Yes
No
No
No
No
No
No
Yes
No
Yes
No
No
Yes
No
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
No
No
Yes
Yes...

output:

? L 1 2
? L 3 4
? L 5 6
? L 7 8
? L 9 10
? L 11 12
? L 13 14
? L 15 16
? L 17 18
? L 19 20
? L 21 22
? L 23 24
? L 25 26
? L 27 28
? L 29 30
? L 31 32
? L 33 34
? L 35 36
? L 37 38
? L 39 40
? L 41 42
? L 43 44
? L 45 46
? L 47 48
? L 49 50
? L 51 52
? L 53 54
? L 55 56
? L 57 58
? L 59 60
? L 61 62...

result:

ok