QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#61647#4669. Genetic ModificationsQAQQWQWA 18ms4360kbC++111.5kb2022-11-14 13:28:122022-11-14 13:28:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3408kb

input:

BBAAABBAAABAAA
BAAB

output:

YES
2 5 8 11 

result:

ok good solution

Test #2:

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

input:

ABABABABAB
ABAB

output:

NO

result:

ok no solution

Test #3:

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

input:

BBAAAAABBAAAAAABBABAABBBBBAABBBAAABABBABABBBAAABBAAAABBBBBABAABBBAABBBBBBBABBABABBAAAABBAAAABAAAABBABAAAAAAABBBBAAAAAABAABABBAAAAABBBBAABABABAAAAABBBABABBAABABBBBAABAABBBBBABBABABBAAABBAAAABBBABBABAAAABBBAABAAABBBAAAAAAAAAAAAABABBAABBBBABABAABBBBABAABBAAABABBBBAAAAAAAABBAAAABBABABABBBAAABAABBABBAAAA...

output:

NO

result:

ok no solution

Test #4:

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

input:

BABABAABABBABAAAAABAABBAAAAABABABBABABBBBBBBAAAAAAABAAAAABAABBABBABABBBABBBAAAABBBABABBAAAABBBAABBBBBBBAAAABAAAABBBBABBAABAABBBAABBBBABAABABBBBAABABBABBAABAABBBBBAAABBAABABBBBAABABBABAABAAAABBABABAABBBABBBBABABABABAAABBABABABABBABAABBBBABAABBABBBBABABBABBBBBAABBBBBAAABAABAAAABBBBBABBABABABBBBABBBABA...

output:

YES
1 2 4 5 6 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 63 64 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 83 85 86 87 88 89 90 91 92 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 11...

result:

ok good solution

Test #5:

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

input:

BAABBBBBBAAABABABAAAAABAABBAAABBAABBBAABABBBABBABBBABBBBABAABAAAAABBBBBBBABABABAABABAABAABBBBBBABABABABBABBBBAABAABBAAABABBAAAAAAABBAAAAAAAABAAABABBAAABABABBBABAAABBBAABAABBABBBBBBBBBABBBABBBABBAABAABBABABBBBAAAABABAABAABABBABBABBBBBAABABABBBBBABAABBABABAABBABAABABBBBABABBBBBBABBBABABBAAABBAAABBABBA...

output:

NO

result:

ok no solution

Test #6:

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

input:

BBAABBAAABBBBAAABABBBABBBAABABAABBBABABBBAABBBBBBABBBAABABBBAAAAABABBABAABBAABABAABBAAABBBABAABBBAABAABABABBBBAABBBBBBBBBBBABBABABABBABBAAAAAAABAABABAABBABBABABBBBBAABBABBAABAABBBABBABBAABBBAAABBAAABABBBBBAAAABBAAABBAABABBABAABBBBAABBBAAAAAABBBAAAAABBBAAAABAABAAABBBAAABABBBABBBBBBBBAABABBABBBABAABAA...

output:

NO

result:

ok no solution

Test #7:

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

input:

BABBBBAABAAAAAABAAAAAABBABBABABAAABAAABAAAAABABAABABAABBBAAAABABBABAAABBBABAABBAABBBAABABBBABBBBBAAAABBAAABBBABBABBBAAABAABABABBABABABABBBAABABABAABBBBBAABAABBABAABABBBBBAABBAABABBAAABAAABABBBABABBBBAAABAABBBAABAABABBAABABAAAAABBBBAABABBBBBBABBBBBABBBABABBBAAAAAAABBAABAAAABAAAABBAABAABAABAABBBABBBAB...

output:

YES
1 2 3 7 8 10 11 16 17 18 19 23 24 26 27 29 30 31 32 33 35 36 37 38 40 41 45 47 48 50 51 53 54 58 62 64 66 67 68 69 71 72 74 76 78 80 82 85 86 87 88 89 92 93 94 95 96 98 99 102 104 105 107 108 109 111 112 114 117 118 119 121 123 124 125 126 127 129 130 132 133 134 135 136 137 139 140 141 142 143 ...

result:

ok good solution

Test #8:

score: 0
Accepted
time: 6ms
memory: 3720kb

input:

AABABBAAAAABBAAAAABBBAAAAABBAABBBBBABBABABBAAAABAAABAABAAABBABBABBABAABBBBBBBAABABBBBBAAABABABABBBAABABABAAAAABBAABAABAABABABABBAABBBAABAABBAAAABBBBBBBBABBBBABAAAABAABBABABAAABABABBBAAABAAAABBBAAABBBAAABABBBAAABBBAAABBBBABAABAAABABAABABBAAAABBBAAABBBAABAAABABABBBBAABBABABBBBAAABAABBBBABBAABBBAAAABAA...

output:

NO

result:

ok no solution

Test #9:

score: 0
Accepted
time: 9ms
memory: 4056kb

input:

BBAAAAAABAAABBBAABABABAABABAAABABAAAAABBBAAAABBABBABAAABABAAAABBAABBBBBBBAABABABBBBABBABAABBBABAAAABBABABBBAABBAABBBABBABBAABBBAAABBABABAAAAAABBBABBBAABAAAABAAAABAAABAAAAAAABAAAAABBABBBAAAAABBBAAABBBABBBBBAAABBAABAAABAAABBBAABBABBAABAAABBAAABAAAAABAAABBBABAAABABAAAAAAAABBBAAAAAABAAABAAABBABABBABABBA...

output:

YES
1 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 34 35 36 39 40 41 42 43 44 46 47 49 51 52 53 54 55 56 57 58 59 60 61 62 63 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 100 101 102 103 104 105 106 108 110 111 114 115 ...

result:

ok good solution

Test #10:

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

input:

BABBABBABBBAAABABBBBAAAABBBABBBAABBAAAAABBBBABBBAABAAAAAABAABAABABABBABABBBBBBBAAABAABABBBBABBAABBAAAABBBAAABAABBBBAABABBABBABBABAAAAABBABABBABBABBAABABBABBBBBAAAABABABAABAAABABBBAABBAAABAABBBBABAABBBBBBABBABAABBAAABBBBBBAABABABABAAABAABBAABAABABAABBBBBBBBABABABBBABABBBABABAAAAABBBBBAAAAAAABBBBABABA...

output:

NO

result:

ok no solution

Test #11:

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

input:

AAABBAAABABBBBBABBAAAAABABBABBBABABBAAABAABBBABBBAABBBBABBBAAABBBBBABAABBABABBBABAAABBAAABBBBBABBBBAAAABBAAABBBBABABAAAAAAAABBAAABAABBBABAAABBAAAAABABABABABABAABBBABBBBAABBAABBBBABBBBBBBBBBBAABAAABABBABAAABABABBABBBABBAABABAABBBBABAABAABABBABABBBBABAAABABABBAAABABABAAABBBAAABABAABBBBABAABBBAAABBBBBA...

output:

YES
1 2 4 6 7 9 10 11 12 13 14 16 17 19 20 21 22 24 25 28 29 30 31 33 35 37 38 40 41 43 46 47 48 50 51 52 53 54 55 57 60 61 63 64 65 66 67 68 69 72 74 75 77 78 80 82 85 87 90 91 92 93 94 96 100 101 102 103 106 109 110 113 114 115 117 125 127 128 129 130 131 133 136 137 138 139 140 141 143 144 148 14...

result:

ok good solution

Test #12:

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

input:

BAABBAABBBAABBAABAABABABBABBABABBAAAAABBBBBBABBABAAABBAAAAABBBABABABBABBBAAABABAABBABABAABAABBBAABBAAAABBBBABBBBBBBBBABAABBABAAABAAAABBABAABABBBBBBBABBAAAAAABABABBBABABBBABABABABBAAAAAAAABABBABBBABABBBBABAAABBBBBABBAAABAABABBBAABABABBBBAABBBBBABABBBBABABBAAABABAABABAAAABABBABAAAAABBBABAAABABABAABAAA...

output:

NO

result:

ok no solution

Test #13:

score: 0
Accepted
time: 6ms
memory: 3608kb

input:

BBAAAAABBBBBABAAAABABAAABBBABBBAABAAABAAABABAABBABAABABBBBBABABABAAAABABAAABABABBAABBABBBBBAABBABBABBABABBBAAABABBBBBBBBBBABBBBBABAAAABBABBAABBBBBAABAAABBAABABBBBBAAAAABAABABAAAAAAABBBBBAABBBBAABABAAABABABAABBAAABAABBAAABBBABAABAABAABBAABBABBABAABABBABBBABABAAABBABBBBAAABAAABBBBBBABABBBBBBAAAABAABAB...

output:

NO

result:

ok no solution

Test #14:

score: 0
Accepted
time: 7ms
memory: 3608kb

input:

BBBAAABABBBABAABBAAABAABAAABABABAAAAABABABBABAAABBABBAAABAABBBABABABBABBBAAAAABAABBBABBBBAABBBBBABAABBABABBBABBBBBAABABBAAAABBABABBAAABBBAAAABAAABAABBBBBABBBBABABABAAAABAAAAAAAABABBBABAAABBAAAABBAABAAAABABABAAAABAAAAABBBBBABAABAAAAAAAAAABABABBBBBAAABABAABABAABBBAABABBAABAAABAAAABABABAAABABBAAAABABAA...

output:

YES
1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 43 44 45 46 47 49 51 52 54 55 56 57 58 59 60 63 64 65 66 67 68 69 70 71 72 74 75 76 77 79 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 104 106 107 108 110 111 112 11...

result:

ok good solution

Test #15:

score: 0
Accepted
time: 6ms
memory: 3520kb

input:

BBBABABABBBABAABAAAABBAABABBAABAABBBBAAAAABABBABABBBBBABABBBBABBBABBBBBABBBAABABAABAABBBBBBABAAABAABAABAABBBBBBBBBBAABABAABBAAABBAABBBBBBABBAABBBAAAABBBBAAAABAAAABBBAAAABAAABBBBAABABAAAAAABABAABAAAAABBBBBBAAABAABABBABBBAAABABBBAABBBBBBBBAAABABABBABABAABBBABAABAAAABABBBBBBBAAABAABBBBBBBAAABABABBBAAAA...

output:

NO

result:

ok no solution

Test #16:

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

input:

BABAAABAAABABBAAAAABBBABAABBABABABBBBBABABAABBAABAABAAAAAABABBBABABAABBBABAABBAABBBABBBAAAAAABBABAAAAAABAABABABBBBABABBABBBBBBBBBBBBBBAAAABAAABBBBBBBABBABBBAABBBBBBBAAAAABABBBAABAABABABBBBAAAABAAAABBABABBBABBABBABBBAAABBBABBBABBABBAABABAAABBAAABAAAAABAAAABABAABBABAAAAABAAAAABBABBBABBABBAAABABAAABAAA...

output:

NO

result:

ok no solution

Test #17:

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

input:

BBBBABBBABBAAAABBBBBBBBBBBABAABBAAAABBBABAAABABBBBABAAAAAABABABBABBBAAAAAAAABBABABBBABAABBABBAABABAABBAABBBBBABAABBBBAABBAABBBBAABABAAABBAAAAABABABAABAAABBBAABBABABBBAAAAAAAABAABABABBAABABABBBBBBBABABAAABBBBAAABABBAABBBBAAAAAAABBAAAABBAABBABBAAAABBAABABABBBAAAAABBAABABBBBAABBAABABBAAABBBAAABABAABBBA...

output:

YES
1 2 5 6 9 10 11 16 17 27 28 29 31 32 33 34 37 38 39 40 42 43 45 47 48 49 51 53 54 55 56 59 61 62 65 66 69 77 78 79 81 85 86 89 90 92 93 94 95 96 98 101 102 103 104 110 112 113 118 120 122 123 128 129 131 132 136 137 138 139 140 143 144 146 148 150 151 154 155 156 159 161 163 167 175 178 180 181 ...

result:

ok good solution

Test #18:

score: 0
Accepted
time: 7ms
memory: 3968kb

input:

BBABABAABBBBBABBBAAAABABBAAABBBBBBBBBBABAABABBAAABAAAABBBBAABBABABBBBAABBBBBBBBAAABABBABAAABBBAAAAAABBBBABBBAABBAAABAAAABABBBBAABAAABBAABABABBBABBBABBABBABBABABABBBBAABAAAAAAAAAAABBBABBBAAABBBBABAABBBBABAAAABAABBBAAABABAABABAABABABBAAABABBAABAAABBAAABABABAABAABABBAABBBAAABAABBAABAAABBAABAABBABAAAABA...

output:

YES
1 2 3 5 7 9 10 11 12 14 15 16 18 19 20 21 22 24 25 26 27 29 30 31 32 33 34 35 39 40 43 44 45 47 48 49 50 51 52 53 55 56 57 58 61 63 64 65 66 67 68 70 72 73 74 75 76 77 78 80 81 82 84 85 86 87 88 89 92 93 95 96 97 98 99 101 102 103 104 106 109 110 111 112 113 114 115 116 117 118 121 122 123 124 1...

result:

ok good solution

Test #19:

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

input:

BAABABBAAAAABAABBABBBBBBBBABBABABABAABABAABAABBBAAAABAABBAAABBBBBABABAABBBBAAAABAAABBBAAABABBAAABBAAABBBBABBBBBABABABBBABBBAAAABBABBAABAAABBBABAAAAABABAAABABAABBBAAABAABAABABAAAAAABBBABABBBBBBBABAAAAAABAAABAAAAABBABAABBBABBBBAABAABAABAABBBBAAABBABAABBAABBAABBAABBABBAAAABBBABABBBAAAAAAABAABBAAAAABBAB...

output:

NO

result:

ok no solution

Test #20:

score: 0
Accepted
time: 6ms
memory: 3848kb

input:

AAABBBBBBAAAAABABAAAABABABBAABAABBAAABBAAAABABBBBABABBBABAAABBBBABABABAAABAAABAABABBAABBABAAABABABABAABBAAAABBBBAAAAABBAABBBBAABABBBBBABAABAABBBAABABAABABBAAAAABAABBABAABABABAABBABAABBABBBBBABABBBAABABAABBBBAABBAABABBAABAAAABAABABAAAAABBBABBABAABBABABAABAAABAAABBAABAAAAAABBAAAAAAAAABABBBBBABBAAAAABB...

output:

YES
1 4 5 10 15 16 18 22 23 25 26 28 30 31 33 35 36 38 40 44 46 50 51 53 54 55 56 57 58 61 65 67 69 71 74 75 78 79 81 83 85 87 89 90 91 94 95 96 97 99 100 103 105 106 107 108 109 110 113 118 120 122 123 124 125 126 128 129 130 135 136 137 138 139 140 141 145 146 147 148 149 152 153 156 161 162 163 1...

result:

ok good solution

Test #21:

score: 0
Accepted
time: 14ms
memory: 3912kb

input:

BBBAABBAAAAABBAABBAAAAAABBABBBAABABABBBAABBBABABBABABAABABBABBABBAAABABBBBAABAABBBBABAAABABABBABBBBBBBABBABABAAABBAAAABABBBBAABBBAABBBBBABBBBBABBBABABABAAAABABABABAABBABBBABAAAABBAAAAABABBBABABAAAAABABBBAAABBAABBBBABABBAAABAAAAABBAABBAAABAAABBBABBBBAABABAABBBBABBAABABBABABAAABABAAAAAAABBABBBBAABAAAA...

output:

YES
1 2 4 5 6 8 9 10 11 13 14 15 17 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 37 40 41 42 43 45 46 48 50 52 53 56 57 58 60 63 66 69 71 72 75 76 77 80 81 84 86 87 89 91 92 93 94 95 96 97 103 106 108 110 111 113 115 116 117 118 119 121 122 123 124 125 127 128 129 132 137 138 143 144 147 149 1...

result:

ok good solution

Test #22:

score: 0
Accepted
time: 12ms
memory: 4028kb

input:

BBBABBAABAABBAAABBAAABAAABAAABBAABBBBBBBBABAABAABBBBAAABAABBBAABAABBBABABBABBAABBBAAABBABAAAAABABAAAAABBBABABBBAABAABBBBABBAAAAAABABAABABBBABBAABBBAABABBABAAABAAAABAAAAABBAABBBBBABBABBABBABAAABAAAABBBAAAABABABBBBBAAAAABBABAAAABABAAABABBBAAAABABBBAAABABAAAABAAABAABBBBBABAAABABAABBBBAAABAAAAAABABBAABA...

output:

YES
1 2 3 5 6 7 9 10 11 12 14 15 17 19 20 21 23 24 26 27 28 30 32 33 34 35 36 37 38 42 43 44 45 46 49 53 56 57 59 62 63 65 67 68 70 72 73 74 76 77 80 83 84 85 86 88 89 90 91 92 93 94 95 96 98 99 103 104 106 107 108 109 110 112 114 115 116 117 118 119 120 121 124 125 130 131 132 133 134 135 137 138 1...

result:

ok good solution

Test #23:

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

input:

BBAABBAABBABBABABBBABBBABBABBABBAABABABBBAABBABAABAABBABABABAABBAABBBBAAAAABABABABAAAABABBBABBBBBBBBBBAAABBBAAAAAABBBAAABBBBABABABABABBAAAAABBBBBABBBBBBAABBBABAABBBABABAABBBBBBBAABABAAAABABAABBBBABBAABBAAAAABABABBAAAAABBABABAABABBBBBAAAAABABABAAAAABAAAAABAAABBBBAAABBAABBABABBBAAABBBBBBABBAABBBABABBA...

output:

YES
1 2 3 5 6 9 10 11 12 14 15 16 17 20 24 25 26 28 29 30 31 32 35 36 37 39 40 42 43 44 46 48 49 51 52 53 55 57 58 60 61 63 64 67 68 69 71 76 77 79 81 82 83 87 89 90 91 93 94 95 103 106 107 108 115 116 118 119 120 125 126 128 130 132 134 135 141 146 153 155 158 160 161 165 167 168 169 171 178 180 18...

result:

ok good solution

Test #24:

score: 0
Accepted
time: 11ms
memory: 3756kb

input:

BBAAAABAABABBABBBBBABBAAAABBAAAAAABBAAAAAABBAAAAABABBBBAAAAAAAABBABBABABBAABAAABBBAABBABABABBBBABAABBBBBBABBBAABAABBBBBBAAAAABBABAAAABBAABABABBBAABAAABAABAAAAABAAABABABBBBAABAABBBBABAAABBBBBBBAAABBBABBBABABABABBABABABBBAAABBBAAABBABBBBBBBBABABAABABBBBBBAABABAAABBAABABAABAAAABBBBABABBAAAABAAABAABBBAA...

output:

YES
1 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 27 28 29 30 31 32 33 35 37 38 39 40 43 45 46 47 48 49 50 51 52 53 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 100 101 102 103 104 105 106 107 110 112 113 114 115 116 1...

result:

ok good solution

Test #25:

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

input:

AAAABAAAABABABABBBABABABABBABABBBBAAABBBABBBBBABBABAABAABBBAAABBBABBABABABABBBBAAABBBBABBBABABBBBBBBABBBAAABBBBAAAABABBAABAAABAABAAABABBBBAAABABBBBABAAABABBBBAABABABAABABAABABBBBAABABABBABAABABBAAABAAABAAABBBBAABAABABBAABBBBBBBAAABBAABBAAAAAAAABAAABABAAABBBBBBAABAABBBAAABABAAAAAABBAAABBBBABBBABBABAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 38 39 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1...

result:

ok good solution

Test #26:

score: 0
Accepted
time: 18ms
memory: 4104kb

input:

BAABBBABBBBBABAAAAABBBBBBBBBAAAAAABAAABABABBBBBBBABBAABABBBAABAAAABAAAABABBBAABAAAABAABBAAABBAAAAAAABABBBBAAAABAAAABABABBAAABABABAAABBBBBBBABBBBBBABABAAAAAAAAAABABBBAAAABABAAABABBABBABBBBABBBBBAABAAAABBAAAAABABABABAABAABBAAAAABABBABBBBBBABABABBBAAAABAAAABBABAAAABBBABAAAAAABABABAAAAABABABBBAABBBBAAAB...

output:

YES
1 2 4 5 6 7 8 9 10 11 13 14 15 16 17 18 20 21 22 23 24 25 29 30 31 32 33 35 36 37 38 39 40 41 43 44 45 46 47 50 53 55 56 57 60 61 63 67 68 69 70 71 72 73 74 75 77 79 80 84 85 86 89 92 94 95 96 97 98 99 100 101 103 104 105 107 108 109 110 112 113 114 116 117 118 119 122 123 125 126 127 128 129 13...

result:

ok good solution

Test #27:

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

input:

BAAAABBBBBBBBAAAABAAABAABABBBBBBABABAAAABBABABABABBBBBBBBBAAAABABAAABBBAABAAABABAABAABABBABABBAAAABAABBBBABAAABAAAAABBABBBAABABBBABABABAAABBAABBABABBABABBBABBBBBABBBABBAABAAABAABBABBBABBAAABAABBBBABABBBABAABABBABABBBBBBAAAABAAABBBAAABBBBAABAAABBBAAABABBBBAAABABABAAAABAAABBABBABABABBABBBAABAABABAAAAA...

output:

NO

result:

ok no solution

Test #28:

score: 0
Accepted
time: 10ms
memory: 3744kb

input:

ABABAABAAAABAAAABAAAAAABAABAABABBABBABAAABABBBABBAAABAAABAABBAABABABAABAABBBABBAAABBAABBBBBBAABBABAABBAABBAAABBAABBBBABAABABABABABBBBAAABBABAABBBBAAABBBBAABBBABAABBABAABBABBABBBABABBABBBBBABABBABABBABBBBBBAAAAAABAABABAABABBABABAABAAABBBAAABBBBBBAAABBBABBAABBAABABABBBAAABBBBBBBBAAAAAABBBBBBBAABAABABB...

output:

YES
1 2 4 5 7 8 9 10 11 12 13 14 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 35 37 38 39 40 41 42 43 44 45 46 48 50 51 52 53 54 55 57 58 59 60 62 64 65 66 67 69 71 72 73 74 75 76 77 78 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 101 103 105 106 107 110 111 112 113 114 115 116 117 118 1...

result:

ok good solution

Test #29:

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

input:

BBAABAABBBBAAAAAAAAABABABBAAAABAAAAAAAAABBABABBBBBABBAAABBABBAABBBBBBBBAABBBBABBBABBBBABAABABAABAABABAABBABABAABAAAABAABBABAABBAABAAABABBBBBBBAABAABBABABBAABABAABABBBBAABABABABAAAABAAAABABBAABBBBAABAABABBABBAAABAABBABABBBBABAAABAABAABBBAAAABAAAAAAAAAAAAABBAABABBBBABBABBAABBABBAABBAABBBABABBBABBAAAAA...

output:

NO

result:

ok no solution

Test #30:

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

input:

AABAABBAAABBAABBAAABABBBAABAABAAAABBBAAABABABBBBAAABBBBBBBABBABAABBAAABBBAABABABABABABABAAAAABBABABBBABAAABBAABBBBABBABABBBBBBABBABAABBABBABBBABBBBABABAABBAAABAABBBABBABBAAAAAAABBBAAABBBABBAABBBAABAABBABAABBAAAAABAABBBBABAABABBBAAABBBABBABAAABABAABABABAAAABAAAAAAABABBBAAABAABBBBAAABBAAABAAABBAAABAAB...

output:

NO

result:

ok no solution

Test #31:

score: 0
Accepted
time: 7ms
memory: 3540kb

input:

BBABBBBAAABAAAAABABAABAABABBAAABBBBBBBABABBBABAABBAABAABAAAAABAAAAAAABABABAAABBABBBBBBBABABAAAAAAABAAAABBBAAAAABABAABABBBABAABBBAABAABAABBAABAABAABBBBAABABBBABBABABBAAAAAAABBBBABABBABABAABBABAABABBBAABBAABBBABBBBAABBBABABBABAABAABBBBABBBABBABBBBBABBABBABABAABABBABBBAAABBBAAABBAABABBBBBABBBBABBBAAAAA...

output:

YES
1 2 4 5 6 7 8 9 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 32 33 34 35 36 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 99 100 101 102 103 104 105 107 108 109 110 ...

result:

ok good solution

Test #32:

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

input:

ABBABABBBBBABAAAABAAABABBABAAABABAABBBBABABABBBBAABAAABABBAABAAAABABAAABBABAAAABABBBBAAAABAABABABAABABBAABABBBAAABBAAABABABAABBABAABAAABAABBABBBABBBBBBABABABBBBBBAAAABBBAAAABABBBAAAAABABBBABBAAABAABAAAAAAABABABBBBABBAAAAABAAABBABAABAAABAABBAABABAAABBABBBBAAAAABBBBBBABAABABAAAABBBBBABBABAAAAABABABAAB...

output:

NO

result:

ok no solution

Test #33:

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

input:

BAAABABABAABBABAABABABBAABAAABABBABABBBBBAAAABAABAABBAAABBAABABBBABABBBBBBBBBBABABABABAABABBBAABAABBBAAABAAAAAAAABBAAAABBAABBBBABBABAAAAABAABBBAAABBBAABBABBABBBAAAAAABBABBBAAAABAAAABBAAABABAABBAABABBBBBAAABBAAABBAAAAABBAAABABBBABAABAAABBBABBAABBAAAABABAAAAABABAAAABAAABBBBBBAABABABBABBABBBBBBAABABBAB...

output:

YES
2 3 4 6 7 8 9 12 14 15 16 18 19 20 21 22 24 25 26 30 31 32 33 35 37 38 42 43 44 46 49 50 51 54 55 56 57 59 60 62 63 64 66 68 69 70 71 72 73 74 75 79 80 81 82 83 84 85 86 87 89 91 92 94 95 96 97 98 99 100 102 103 105 106 107 108 109 110 111 112 114 115 116 117 120 121 122 123 124 128 129 130 131 ...

result:

ok good solution

Test #34:

score: 0
Accepted
time: 15ms
memory: 3964kb

input:

AABAAABBBBAAAABAAABAAABABAAAABAABBBAABBBABAAABAAAAABBABBAABBBBBBBBBABBBAAABBABBAAAABBBBABBABBABBAABAABBBABABABAABAAAABAAAAAABBAAABAABBBBAABBABAAABAABBABBBAAAAAAAABABBAAAAAABBBBBBBABABAABAABAABBABBAABAABABBAAAAABAABABAABBBBBBBAABABAAABABAAABBAAAAAABBBBAAABAABABBBAABABAABBABAAABABAABAABABBBABBAAABAABA...

output:

YES
1 2 3 4 5 6 7 8 9 11 12 13 15 16 17 18 19 20 23 24 26 27 28 29 30 33 36 38 39 41 42 43 44 46 47 48 49 50 52 54 55 57 58 59 60 61 62 63 64 68 69 70 72 75 76 78 79 80 81 82 84 85 86 87 89 90 91 92 93 95 97 99 102 103 105 106 108 109 111 113 114 115 116 118 119 120 121 122 123 125 127 128 129 131 1...

result:

ok good solution

Test #35:

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

input:

ABAABAABABABBABAAABBBBABBAAABBBBBAAABAABBABAAABABABBABAABBBAAABABAAAABBAABABAAABBAAAAAAAAAAAABBAAABAAABAAAAAAABABBABABBABABAABABAABBABBAAAAABAABBABBABAABBBBAABAAABABBABBBAAAAABABABABAAABBBAAABAABAAABBBBBAAABBBBBAAABBAABAAAAABBBABAABAABAAABBBBAABBABAABAABABBBAABBABBBBBABBAAAAAABAAABABBBAABBAAAABBABAA...

output:

YES
1 2 3 4 6 7 8 9 10 11 12 14 16 17 18 19 20 21 22 23 24 25 26 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 50 51 52 53 54 55 56 57 58 60 61 62 64 65 66 67 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 94 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 ...

result:

ok good solution

Test #36:

score: 0
Accepted
time: 13ms
memory: 3908kb

input:

ABABBBBBBABAAABBBAAABAABAAAAAABAABAAABABABAAAABAAAAABAABBBBBBBAABAAABAABBABBBBBBBABAAAAAAAAABABBABABBAABBAABBAABBABABBBBBAABABABAABAAAAAABABBAAAABBBABBAAAABBAABAAAAABBAABBBBAABAAAAABABAAAAABABABABBBAABABABBBBBABAAAABBBAAAAABABAABABAABBABBBBAAAAABAABBBBBBAABBBBBABBBBAABABBBBBBBBBBAABBABBBABAAAABABBBA...

output:

YES
2 3 4 5 6 7 8 10 11 12 13 14 15 18 19 21 22 23 24 25 26 27 28 29 31 32 33 35 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 93 95 96 97 99 100 101 102 104 105 106 107 108 109 110 111 112 114 115 116 ...

result:

ok good solution

Test #37:

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

input:

AAAABABBBBBAAAAAAABABBABBABBABBBAABBAABABBBABAABABABABBBAAAAAABAABABBABBAAAABAAAABABBBBABAABABBBBBABBBABAABBBAABAAAABABAAABBBBBABBABABBAABBAAAAAAABBBBBABBBBAAAABABABAABBABBBBBAAABABBABAAABBABAABBABBAABBBBBBAABBAAAABABABBABAAABBBBABABBABABAAABABAAAAABBBBBBABAABAAABBAABABAABBBAAAAAABABBAAABAABBABAAAAB...

output:

YES
1 2 3 4 5 7 8 12 13 14 19 20 21 23 26 29 30 31 33 34 37 38 39 41 42 44 46 47 49 50 51 52 54 57 58 59 60 61 63 64 66 68 69 70 71 72 73 74 77 78 79 80 82 84 85 88 89 90 91 92 93 94 95 96 97 98 100 101 103 105 107 110 111 113 114 117 119 120 121 123 124 128 129 130 131 132 134 135 138 140 141 142 1...

result:

ok good solution

Test #38:

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

input:

AABBBBBAABABAABBBBBBAABBABABBABBBABBBAAAAABABBBBBBBAAABBBBBBABABABBBBBABABABABBABABBBAABABBBAABABBABBBBBABABBBAABBBBBAAAABABBBBBABBABBBBAABABBBBABABABAAAAAABBBBAABABABBABAAAAABAABBBABBAABBBAAABBAAAABABBBABAABABAABABABBAAAAAABBBAABBABBAABABAAABABABABBABBABAABBBBBABBABAABAAABAABAAABABBBBAAAABABBBAAABA...

output:

NO

result:

ok no solution

Test #39:

score: 0
Accepted
time: 12ms
memory: 3872kb

input:

BABBABAABBABBABAAABBABAABBBBBBABBBABBBAAABBAABBBABAAABBAABABABAABBAABABABAAAABBAABBBBABABBBBAAABAABAAABABAABABABABABABBBBBBBBABBBABAABAAABBBAABAAABABBBAABBBBBAABAAAAABAAABABABBBAAABAABAAABBBABBAABABABAAAAAAABBAAABAAAABBBBBABAAAABBBAAAABAAABABBABABBAABABBAABABBBABAAABBBAABBBAAABBAAABAAAABBAAAABBBABBA...

output:

YES
1 3 5 6 7 9 10 11 12 14 15 16 19 20 21 23 25 26 27 28 29 31 32 33 35 36 39 40 41 42 43 44 45 46 47 49 50 51 52 54 56 58 60 61 62 63 65 66 67 68 70 71 73 74 75 76 78 80 82 83 84 86 87 88 89 90 91 92 93 94 95 96 99 100 101 102 103 104 105 106 107 108 109 110 111 112 114 116 118 119 120 121 122 126...

result:

ok good solution

Test #40:

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

input:

ABABABABBBAABBABBBAABBBBBBBAABBABABBBABABBBABABAAABABBABAABBBBAABBABABABABBABBBABBBBBABBBAABBBAABBBBAAAABBBAAABABBABABAABBAAABBBABBAABABAABABAABABAAABBBBBABBABBBABABAABBBBBABAAAAAAAABAABBBBABBBABBBAAABBBAAAABBBBAABAABBBBBAAAAABBABABBABAABABBBBBAABAAAABBBAAAAABAAAAAAAAAAAABBBAABAAABABAABAABABBBBABBBB...

output:

YES
2 4 6 7 11 12 13 15 16 17 19 21 28 30 31 32 34 35 36 37 38 40 44 46 47 51 52 53 54 56 57 59 60 63 65 66 68 70 72 73 74 75 77 78 80 86 87 90 92 93 95 96 97 98 101 102 105 106 108 111 112 113 115 116 118 121 122 123 124 126 127 128 130 131 134 136 137 139 140 141 144 145 147 148 150 151 152 155 15...

result:

ok good solution

Test #41:

score: 0
Accepted
time: 11ms
memory: 3792kb

input:

AAAAAAABAABAAABBBABABBAABBBBBBABBAABABABABABBBABABBBBAAABABBBBAAAAAAAAAABBABAAABABBABBABAAABBBBBAABAABABBAABBBAABBBABBABBABABBABBAAAABBAAAABABBBBAAABBBBABABAABABBBBABABBABAABAABAAAABBABAAABABAAABABABABBBABABBAABAAABBBBBABABBBBBBBAABABABBABBBAABBBBBBAAABABBBABBAAABABABBABAAAAABAAABBAAABBBABAABBBBAAAA...

output:

YES
1 2 3 4 5 8 11 15 18 20 21 23 25 26 27 28 31 32 34 35 36 38 40 42 44 45 47 48 50 51 54 55 56 57 59 63 64 65 66 67 73 74 76 80 81 82 84 85 86 87 89 92 93 97 99 100 102 104 106 107 108 111 113 114 115 116 117 118 119 120 122 123 125 126 127 130 131 134 136 140 141 142 146 147 148 149 153 154 155 1...

result:

ok good solution

Test #42:

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

input:

AABAAAAAAABAABBBAAAAABAABBAABBBAAABBBBBAABABAAAAAAABAABBAABAAABBBABBBBBAAABABAABBABBAAABBABABBBBBABAAAABAABBAAABABBBAABBABAABABABABABABBAAABBBAAABBABAABAABABBAABABBABABAAABBBABBBBBAAABBAABBAAAAAABAAAAAAABBBABBBAABAABABBBABBABAAABAAAABABBBBABAABABBBBBBAAABABABABBBAABAABABAABABAABBAABBAABBAABBBAABABBA...

output:

NO

result:

ok no solution

Test #43:

score: 0
Accepted
time: 10ms
memory: 3884kb

input:

BABBBBBBABBAABABBAAAABBBBBBBBBBBBABBBAABBABBBABAAABAAABAAABAABABAABBBAABBBBBAAAAAAABBABBAAABBBBBBABAAAAAAABAABBAABABABAAABAABAABAABBABAAABBBABABAAABBBBBBBBBBAABABBBAABBAAAABAAAABBBBBBAAABBBABAAABBBBABBAABAABABBABBBAAAAABAAABAABBABBBBAAAABAAABABBABBBBABBBBBABBAAAAABBBBAAABAAAAABABAAAABBBBBBBAAABBBAAA...

output:

YES
1 3 4 9 10 12 13 14 15 16 17 22 23 24 25 26 34 35 36 37 38 40 42 46 47 48 49 51 52 55 59 60 62 63 64 67 68 69 70 71 77 78 84 85 86 89 92 93 94 98 100 101 102 103 104 107 108 110 112 114 115 117 118 119 120 122 123 125 128 129 130 131 132 133 134 138 141 142 144 148 149 158 160 161 162 165 167 16...

result:

ok good solution

Test #44:

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

input:

ABAAAAABBAABBAAAABBBAAAAABABABBAABBBBBABBBABBBAABBAABBABBAAAABBAABBAABBBABABABAAAAAAAABBAAABAAAABBABBBBABBBAABAAAAAABBBBAAABABABABAAABABBBBBBBBABBAABBAAAABBBBAAAAAAABBAAABAAAAAAABAAABBBABABABBAAABABABAAAAABBAABABABBBBAABBABBABAAABBABAAABAABBABABAAABAABBBAAAABBABAAABAABBBBABBAABBBBABBAABBABAAABABBBAB...

output:

NO

result:

ok no solution

Test #45:

score: 0
Accepted
time: 6ms
memory: 3860kb

input:

BBABBBAABBBAABBBBBABBAAABBABABABAABBBBAAABBBBAAAAABABAAAABAAAAAABBBABBBBABAABBABABBAAABABABAAABAAAAAABBBABABBBABABBBABBABAAABBBBABABBBAAAABAAABBBABAABBAAAAAABBBBABAABBBBBBBBAAAAABBAAABBBBBABAAABBAAAAAABBABBBBBBAAABBABABBBBBBBABAABBABABBABABABABABBBBABAAAABBBBBAAABBBBAAAAABBABBBAAAABAABBAABBABAABABAA...

output:

YES
1 2 3 4 7 9 12 14 19 22 25 27 29 31 33 35 39 40 42 43 46 47 51 52 54 55 58 59 60 65 66 67 68 69 73 74 77 78 80 81 84 87 89 90 91 92 93 94 95 102 103 104 106 108 109 110 112 113 114 117 118 120 122 125 126 127 129 130 131 132 133 134 139 143 144 146 148 149 152 158 159 162 164 166 174 175 179 180...

result:

ok good solution

Test #46:

score: 0
Accepted
time: 14ms
memory: 3940kb

input:

ABBABBBAABABBBAABBBABBAABBAAAAAAABBBBABABAAAABABBBBAABBABBAABABABABBBAAAABAABABAABABAABABABAAABBAABABBBBBBBBBBBABABABBABABAAAAAABAABBAABAABBABBAABABBBAABAABAAAAABBAABAABBBBAAAABBABABABABBABBBBABABABABBBBABAAAABABBAABAABBABBABABBAAABBAABABAABABABBABBAABABABAAABBBABBABBABBAAABAABABABABABBABABABAABBAAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 1...

result:

ok good solution

Test #47:

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

input:

ABAAAAABBBBBABBBBAABBAABBAAABBBBABABABABABAABABBABBBBBABBAABBAABBAAAAAAAABBABAAABBAAAABABBBBAAAAAABAAAABBBABAABABAAAABAABAAAABABAABAABBABBBAAAABABABBAABBABBAAABABBAAABBBBBAABBBABABBBBAAAAABBAAAAAABBABABAAAABBBBAABBBBAABABABAABBBABBBAAAAABBBBBAABBABBABAAABBABABAABABBABBBBBABBAAAAAABBBBAAAAAAAAABAABAB...

output:

NO

result:

ok no solution

Test #48:

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

input:

BBBAABABBABBABABBBAAAABAAAABABBBBBBBBABAABBAAAAAABBBAABABAABBBABABAABBBAABBBBABABBBABBBAABBBBBABBABBBABAABBABBAABBBABBABBBABBBBAABBBABAABBABABBBBAAABABBAAAAAAAABABAAABBAAAABAAAABAABAABBABABBBBAAABAABAAAAAABABABAAABAAAAABBBBBAABBBBBBBABAABBABABBBBBBAAAAAABBAABAAAABBBAAAAAABABAAABBBAABABBABABAABBBABBA...

output:

NO

result:

ok no solution

Test #49:

score: 0
Accepted
time: 10ms
memory: 4300kb

input:

AABAABABBABABBAAAABAABBBABBABBABAABAABBBBABBBAAAAABBBAAAABBAAAABBABBAAAAABAAAAAABBBBAAAABABAABBABABBBBBBBABAAAABBBAABABBAAABBAAABABABABABABABAAABBABABBAABBAAABAABABABBBBBBBBAABAABBAAABBBBBAAABBBAABAABABBBBBAABBAAABBBABAABBBBABAABABBAAAABABBABBBBAABBBAABBBBABBBBBBBABBABBBABBAABAABABABBBBABBBABBBAAAAA...

output:

YES
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 51 52 54 55 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 81 82 85 86 87 89 90 91 92 94 95 96 98 99 100 101 102 103 104 105 106 108 109 110 112 11...

result:

ok good solution

Test #50:

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

input:

ABABAABAABAABBABBBBBBBBBBAABBBAAABBAABBABBBBBBBABBABABAABAAAABBBBBBBBAABBAAAABAABABABABAABAAAAABAABAAABBBBAABBABBAAAABAAABAABBAAABABAABBBBABAAAABBAABABABABAAAABAAABAAABAAABBBBBAABBBABBBBAAAABABABABBBBAAABBBABBBBAABBBABAAAABBBBBAAAABABAAABABAAABAABBBBBABABBBBABBABBBABBABBBAAAABAAABAABBBBAABABABAABABA...

output:

NO

result:

ok no solution

Test #51:

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

input:

ABAABBBBABABBAABAAAABAABAABAAAAAABBBAAABBBBABAABBAAABBBABBABBBBBABABBBBBBAAAABABAAABABAAABAAABBAAAAABABAABBAABBAAABBBABABBBABAAAAAABAABBABBBABAABAABABBABAAAAABBBAAAABBAAAABABAABAABBAABBBAABBAAABAAAAAABBAAABBBBBABBABAAABABABBBBAAAABBBABBBBBBABABBBAABABAAAABABBABABBBBABAABBBBAAAAAAABBBAAABBAABAAAAAAAA...

output:

NO

result:

ok no solution

Test #52:

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

input:

ABBABABABBABABBABBABBBAAAABAAAAABAABBAABABBBBBAABBBAABAAABBAAABABBBAAABBBAABBBBBBBBAAABBBBBABABBBABBABBBBAAAABBABABAABBAAAABBABBABBAAABBBBBBBBABBBBABABABAAAAABABBBABAABBABABABBBBAABBAAAABABBAABAABBBBBAAAAABABAAAAABBABBAABABABAABBBBAAAAABBABBABAABABBAABABBABAAABBBABAABAAABABABAABABBBBAABBBABAABABABBB...

output:

NO

result:

ok no solution

Test #53:

score: 0
Accepted
time: 9ms
memory: 3732kb

input:

BABAABABABBABAAAAABAAABBBBABAAABBABAABABBBAAAAAABABBBAAABAABAABBAABBABAABBAABBBABAABBAABBBABAAAAABBBABAAAABBABBABBBABBABABBBAAABBABAABBABABABBBBAABBBAABBBBBABABBAAAAABAABBBABAAAAAABABBBBBBABBBABABBBBBABABBBBBBAAABBBBABAABBBABBAAAAABBABBBBBABBAAABBAABBBAAABBBAABBAABAABABABBBAAABBBAABBBABBBBAABABAABAA...

output:

YES
1 2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 60 61 62 63 64 65 66 67 68 70 71 73 74 75 76 77 78 79 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 ...

result:

ok good solution

Test #54:

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

input:

ABBBABABABABABBBBBBBABBBBAABBBABBABAAABABBBABAAAABAABBABBABBABBBBBBBAAAAABBBAAAABBABBBAABBBABBAABAABBAAAABABAABBAABABAABBAAAABAAABAAAAAAAAABBAABBBBBBAABBBAAABABBAAAAABAABBBBBBABBAAABAABABAABAAABAAABBBBAAABBAAAABBAAAABAABABAAAABABBBABBBAAABABAABBABBAABBBABBAABABBAAABBABBBABAAABAAAAABBBAABAABBBAAABBAB...

output:

NO

result:

ok no solution

Test #55:

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

input:

BBAAABABAAAABBBABBBABBAAAABBABBBBABAABBABBBABABBBAAABBBAABBABABBABBAAABBBABAABABBBBBBBAABBABBBBBBBBBABBBABBBAABABABBBAAAABABABAAAABABABBBABAABABBAAAAAABAAABBAAAAAAABAABBAAABBBABBAAAAAABABAABAABABAAAABBBBABAABABBAABBBABBBAABBAAABAABABAABAABABBBBAAABBBBBAABBAAAABAAAABAAABAAAABBBABBABBABBBBABAABAABBBBA...

output:

YES
3 4 6 8 9 13 14 16 20 21 23 27 28 30 34 35 36 38 40 44 45 47 50 53 56 57 60 62 63 64 65 68 71 72 73 75 78 79 80 81 82 83 84 85 86 87 88 91 92 93 101 105 106 109 111 112 113 115 116 117 118 119 122 124 125 127 128 129 130 132 134 138 140 142 143 144 145 152 153 154 155 156 157 158 159 160 161 162...

result:

ok good solution

Test #56:

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

input:

BBBAABBBAABBBBBAAABBABBAABBBAAABBBABBABABABABABBBAABABBABBBBAAABBAABBBAAABAABBAABABAABBBBBAABBAABAAABBAAAABAAABAAAAAAAABBABAAABAABBAABABABABAABBABAABABABABBBBAAABABABBBBAABBBBAAAAABBBBBABAABAABBABAABBABBBAAAAABBBBBBBAABBAABBAAAAAAAABAABABABBAABBBBABBABABBBABBABBBABBBBBAAABBBAABBBABAAAABABBBBAAAAABAB...

output:

NO

result:

ok no solution

Test #57:

score: 0
Accepted
time: 12ms
memory: 3860kb

input:

BABBBAAABBBBABABBABBBAABABAABBABBBBBAAAAAABAAABAABAAABBBBAABBBAABBBABAAAABBBABBBBAABABAABAABAAAABBAAABAAABABBABBAAABBBABBBAAABBBBABAAAAABABABBABBABAABBBBABAAAAAABBBBBAAABABBBABBABBAAAABBBABBABAABBABABABABBABAABABAAAAABBAAAAAABAAABAABABBBBABBAAAAABABBAAABBABBBBAABBABBABABABABBBAAAAABABBABABBBBBABABAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105...

result:

ok good solution

Test #58:

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

input:

ABAAAABBBBAAAAABABABBABBABBABBAAAAAAAABAABBBABAABBAABABBBAABAABBABAABBABBAABABABBBABABBBAABAABBABAABAABABBABAAAAAAABABBABABBABAAAABABBAAABABBABABAAAAAABBABAAAABBAABBABAABBBBAAABBBABBBBABBBBBABAAABBBAABABAABBAABBBBAAABABABBAABABABABBAABBBBBAABAABAABAAABAABABBBBAABAABBBAABAABBBBABBBBBAAABABABAABBABABB...

output:

YES
1 3 7 11 12 13 14 16 17 18 20 22 23 25 28 31 32 33 39 42 43 45 46 47 49 50 51 52 53 54 55 58 60 61 63 65 67 69 71 74 76 78 79 83 84 86 89 91 94 95 96 98 99 101 102 103 104 105 107 109 110 116 118 119 120 121 123 125 126 127 128 129 130 131 132 135 138 139 140 142 143 144 145 146 152 153 155 156 ...

result:

ok good solution

Test #59:

score: 0
Accepted
time: 8ms
memory: 4348kb

input:

BBABBAAABBAAAAABBABBBABABBBBBAAAAAAABBBAAABBAAAABBABAABBABAABBABAABBABABBBBAABABBABBAAAAABAAABBAABBBABABABABAABBBABABBBAAABBBABABBBAABBBBABBBABABBBABBBBBBAAABAABAAABBBABBABABABAAABABAABAABAAABBBBABAAAAAAAAABABABBAAAAAABBABABBBBAABBABBBABABBBAABABAAABBABBBAABAAAAABBBBABAABBBBAAAABABBABBBABABAAAABBABB...

output:

YES
1 2 3 6 7 9 10 11 12 13 16 17 19 20 21 23 24 25 26 27 28 30 31 32 33 34 35 37 38 39 40 41 43 44 45 46 47 49 50 51 52 53 55 57 59 60 61 63 64 65 66 69 70 71 72 73 74 76 77 78 79 80 81 82 83 85 86 87 88 90 91 92 93 94 95 96 98 99 100 101 102 103 105 106 108 109 110 111 112 114 115 116 117 118 120 ...

result:

ok good solution

Test #60:

score: 0
Accepted
time: 8ms
memory: 3660kb

input:

BBBABBAAABABAABAABABBBBABBAAAAABBBBBAABBBABAAAABAAABBAABAABAAABABBBBBAABAABABBBBAAABBBAABBBAAABABBAABABAABBBBABBBABABAAAAABBAABABABBAABBBABBABBABBAAABAAABBAAAABABBBABBABABAAABAABABBAAABAAAAAABAAABBBBABBBBBAABBAAABABAABBAAABBAABABABBABABABBABABABABABBABAABABAAAABABABABABBBABBBABABABBABBBBAAAAAABBAAAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 106 107 1...

result:

ok good solution

Test #61:

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

input:

BAABBAAAAABBAABBBAAAABABBABAABAABBBBABABAAABABBAAAABABBABABABBABBAAAAAABBAABAABBBAABABAAAABBAABBBABAAABABABAAAAAABAAAAABBAABABABBABBAABBAABABBABABBAAAABAAAABAAAABBAAAABBABBABAAAABBBBABBBABAABBABBBBABBBABABBABBBBBBAAAABBBBBABBBABAABAAAABBBBBBAABBABABBBAABAABBBBABAABBBBAAABABABABBAABBABBBBABBBBBBAAABA...

output:

NO

result:

ok no solution

Test #62:

score: 0
Accepted
time: 11ms
memory: 4232kb

input:

BBBAABBABBBAABABBBBBBBBAABBABBABBAAAABBABAABBBBAAABABABABBBAAAAAAAAAAAABBBBBABBAABBBAAABBBABBAABBBAABABAABABBAAAABAAAABAABAAABAABBBBBABBBBAAABBAAABABBBABAABABBBBBAABBBBAABABBAAAAAABABAABABABBBABBABABBAAAAAAAABAAAAABBABBABABABBAAABAABBBABBABAABAABBBABBAABABBABAAAAAAABABAAABBABAAAAAAAAAABBAAAABBBABBAB...

output:

YES
1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 88 89 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107...

result:

ok good solution

Test #63:

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

input:

BAAAAABBABABBBAABBBBBBABABBAAABAABABABBBBAAABBBBABBBBBAAABBBABBABAABABAAAABABBAABBAAABAAABBABBABAAAABBBBBAABAAABABABAAABAABABABBBAABBAABBAABBABABBAAABBBABAABAAABAAAABAAABABAABABAABBBBBBABBBBABBBBBAAABABBBBBBBBBAAABAABBBBBAABBABBBBABBAABBBAABBAABABABAAAABBAAAAAABBBBAABABAABABBBBBAABABAABAABBBABBBBAAA...

output:

NO

result:

ok no solution

Test #64:

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

input:

BABBAABBBAABBAABAAABBBBBBABAABAAABBAAAAABABABBBABAAABBAAAABBABBAAAABBAABABABBABABABBBABBABBBABBABBBABAAABBBBBAABBBBAABBBAABAAABBBBABABABBAABAABBBBBBABAAABBBABBAAABBABAAABAAAABBABAABBAABAAAAAABBABBBAAAAABBBBBAAABABBABAAAAAABAABBAABABBBBBAAAAAAABABAABBBABABBBABBAABBBABBABBBBAAAABABBBBAAAAAAABAABBABAAB...

output:

YES
2 3 5 7 8 10 11 12 13 14 16 17 18 20 21 22 23 24 26 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 55 56 57 58 59 60 62 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 93 94 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 116...

result:

ok good solution

Test #65:

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

input:

BABBBBBBAABBAABABABBBAABBABBABABBABBAAABABBBBAAAAAAAAABABBBBBBBABABABABAAABAAABAAAAAABBAAAABAAABAABABAAAAAAAAAABABABBBAAABABBABBBABBBBABABBAABBBBAAAABAAAAABBAAAABAABBABABBABABABABABBBBBBBBBAABABBBABBABABAABABAABBBAAAAABABABAAABBAABBAAAAAAABBAAAAAABABABBAAAABAABBBBABBBABBABAAABBBABABAABBBBAAABAAAAABB...

output:

YES
1 3 9 11 13 14 15 16 17 19 22 24 26 27 29 31 32 34 37 38 39 40 41 42 43 44 45 55 56 64 66 68 70 72 73 74 76 79 80 81 86 88 89 90 91 93 94 96 99 101 102 103 112 113 114 116 117 118 119 122 123 126 127 130 135 137 138 140 141 146 147 150 151 152 156 158 162 163 165 166 168 170 171 172 173 174 175 ...

result:

ok good solution

Test #66:

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

input:

BABBBAAAABBBABBBBBBABABBBBBABBBABAAABAAAABBAABABABABABBBBBAABABBAABABABBBBBBABABABBAABAAABBBABABBBAABBBAAAABBABAABBABAABBABBBABBABAABABBABBBABAAAAABAABAABBBBBABABABBBABBABAAAABBBABAAAABABBBABAAABBABAAAABBBBBBBABABBAAABAABBABBBAAAAAABBAAAABAAABBAABABAAABAABBABABBBAABABABBABBBAABBBBABABBBAAABABABAABBB...

output:

NO

result:

ok no solution

Test #67:

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

input:

ABABABBBBABAABBBAABBABAABBAABBAABAAAABAABABABBBBABAABBBABAABABBABBAABABAAAABABBABBAABBABAABABAAAAAAABBBAAABBBBBBAAABAAABAABAAAABAABAAAAAABABABBBBBBBBABAAABABABAABBAAAAABAABABABAAAABBABABABAAAAABBBBBBBAABBAAAAABBBBBBBABAABABBBABABABAABABABBBABAABBBBBBBBAAABBABBBABABBBAAABBBBBABBAAAAABBBABBAABBBBAAABB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...

result:

ok good solution

Test #68:

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

input:

AAABBBAABAAAABABBBAABBAAAABBBAABABBAABAAABAABABAABBBBBBBBAAABBAABBAABAAAABBBBBAABBBBAAABBBBBBAABAABAAAAABBBBABBBAABBABABBABAABBABBBAAAAAABBAAAAAABABBAAAAAABABBABABBBABAABBBBABBBBBAAAAAABBABBABBAAAAAABBBBABAAABAABBABBBABAAAAAAAAAABAABBAAAAABBAABBABBABBAAABBBBBBBBBBAABABBBBBBBAABABAAAABBABBABBBBBBABAB...

output:

NO

result:

ok no solution

Test #69:

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

input:

BBBABBAAAABBBBABBABBBBABBAAABBBAAABABBBABBBBAABABABBABABAABBBBBBBBAABBBAAAAABABBBABBAAAAAABBBABABAABAABABAABAABABAABBAABBBABAAAAABBBBABAABAABBABAABBAABBABBAAABABBBBBABBABAAABABBBBBABAABBABBAAABBBBABBAABAAAAAAABABABABABBBABABBBABABBBABBAABABAABAABBAAABAAABBBBBBBABABAABAAAABABBBBAAABBBBAABABABBABBABAB...

output:

NO

result:

ok no solution

Test #70:

score: 0
Accepted
time: 7ms
memory: 3752kb

input:

AAAABBBBBABBBBBBBBABABAAAAAAABABBAABABBAAAAABABAABABBBABBBBBBAABBAABBBBBABBBBAAABAAAABBBABBBABBAAABBAAABBBBBBBBBBABBBAAAABBABBBBBBAAABBAAAAABBABAAAABABABABABBABBAABBABAAABAAAAABBBBAABBAAAAAAAABBAABBABAABBBAAABABABBBAAAABAABBBABBBAABAABBBABBBBABBABABABBAABABBABAABABABBBBBBABBABBAABBAAAABBBBBABABAABBA...

output:

NO

result:

ok no solution

Test #71:

score: 0
Accepted
time: 14ms
memory: 3928kb

input:

ABBBBBABABAABAAAABABBAABAABABBBBBAABBBBABAAABABAABABABBAAAABABBBBBBAAABBBABABABBBBBABAAABBBAABBBABBBAABABBAABABABABABBAABBBBBBBAAAAAAAAABBBAAABBAABAABAAAAAABBBBBBABBABAABBBBBBAABBABAAAABAABBBBABABBABAABBBABAAAABABBBBBAABABBBBBABBAAABABBBAABBBBBBAAAABBABBBAAABAABBBBBABAAABBBAABBAAABBABABBBABABAAABAAA...

output:

YES
2 3 4 5 6 8 9 10 11 12 14 18 19 22 23 25 27 29 30 31 34 35 36 40 42 43 44 45 46 47 48 50 51 53 56 60 61 62 63 64 65 68 69 71 74 75 77 79 80 81 82 84 86 89 90 91 92 94 97 98 101 103 104 105 106 107 108 110 112 114 115 116 117 118 121 122 128 129 130 131 132 133 134 137 138 140 141 143 144 145 147...

result:

ok good solution

Test #72:

score: 0
Accepted
time: 12ms
memory: 3844kb

input:

BBABBAABBBBAAABABBBBAABAAAABBABABABABBBAAABBBBAAABBBBBABBBBBABBAAAABAAABABAAABBBAABAABAAAAABBBABABBBAABBABAAAABABBAAABBBAABAAABABBABBAABBAAABABABBBABABABABAABAABBABBBBBAAABABAAAAABABABBABABAAABBAAABBBBAAAABBABBBABBBABBAABBBABBBABAABABBAAAAAABBBBAAABAAABAABABBABAAABBBABBAAAABAAABABBAAABBABBBAABABBAAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 30 31 32 33 34 35 36 37 38 40 41 43 44 47 48 50 51 52 53 54 55 56 57 58 61 62 63 64 65 66 67 69 70 72 73 75 78 79 80 81 82 83 84 85 86 87 88 89 92 93 95 96 97 98 99 101 103 104 105 106 107 108 109 111 112 115 116 118 119 120...

result:

ok good solution

Test #73:

score: 0
Accepted
time: 10ms
memory: 4048kb

input:

ABABBBBBBAAAAAABABABABAABBBBBBBBABBBBAABBBAABBBABBBABAAAABAAABBABBBBBABABAAAABBBBAABABABBBBBAAABAAAABBBABBABAABABAAAAABAAABBABBBABBAABAAAAABBBBBBBBBBABAABBAAABABAAAABABAABABABBAAABBBBABABAABABABBBBBBAABBABAAABABABABBABAAAABBABBABBBAABBABBABBAABAAAABBBBAABABBABABBAAABAAABBAAAAABBBABABABAAABBABAABABBB...

output:

YES
1 2 4 5 6 7 10 11 12 16 17 18 19 20 22 23 24 25 26 27 28 29 30 33 34 38 39 40 41 42 43 44 45 46 47 48 49 52 54 58 59 60 62 63 65 66 67 68 70 72 74 78 79 82 84 85 86 88 89 90 91 92 93 94 95 97 101 102 104 105 106 108 109 111 113 114 115 116 117 119 120 121 123 125 126 127 129 130 132 134 135 136 ...

result:

ok good solution

Test #74:

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

input:

ABBAAAAAABBABABBABBBABBAABABAAAABBBABBAAAAABABAABAAAAAAABAAABBBABBBABBAAABAABBAAAABBAAABABBABBBAABABBBBAAABAABBABBBAABBBABABBBAABBAABBABBBBAABAABABABAAABAAAABABBAABABABAAABBABAABBABBABAAAABBAAAAABBBBABABABBAAAAABAAAAAAAAABABAAAABBABBBABBABBABBABABABBAABBBABAABBAABBBBAABABBABAAABAABBBABBBABAAABABBBBB...

output:

YES
2 3 4 5 6 7 8 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 45 47 49 50 51 52 53 54 55 57 58 59 60 61 64 65 66 67 68 69 70 71 72 73 75 77 78 79 80 81 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 107 108 110 111 113 114 115 116...

result:

ok good solution

Test #75:

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

input:

ABBBBBBBBBABBBBBABBABBABBABAABABAAABBBABBBABAAAAAAABBBAABAABBABAAABBBABABBBBBBABBABBBAABABBBAABAABABABBABBAAAAAAAAABBABAAABBABBBBABABBABBABAAABBABAABBBAABBBBABBABAAAABAAABAABBBBAAAAAABAABABBBBAAABBBAAAABAAAAABABABBABBAAAABABAABBBBABBBAAAABBAAAAAABBABBBBBAABBBAAABBAABABBBAAABBAAABBBBABBBBABABBAABBAAB...

output:

YES
2 3 4 5 6 7 8 9 10 12 13 17 20 21 22 23 24 26 28 30 32 33 34 36 39 40 41 43 45 46 47 52 53 54 55 56 57 60 62 63 67 68 70 71 73 74 75 76 79 80 82 83 86 88 90 91 93 95 96 98 100 101 102 103 104 107 108 109 110 111 116 118 119 120 123 124 125 126 127 128 129 131 132 133 134 135 138 139 143 145 147 ...

result:

ok good solution

Test #76:

score: 0
Accepted
time: 6ms
memory: 3580kb

input:

BAABBBBAABAABBBBABBABAAAAABAABABBBABBABBBBBABABABAAAABAAABAABAAABBABBABABABAAABBBAAABAAABBABAABBABBAAAABAAABBBBBBBAAAAABBAABAABBABBABABBAABAABAABBABBAAABAABBAAAAAAAABBABBBAAAAABBBAABAABBABABBAAABABBBBBBBAAABAAABBABBBBBABAAABBABABAABAAAABBBAAABBBAABBBBBABBBBBBAAAABBBAABBAAABABBBAAABAAABBBBBBAAAAABBAB...

output:

NO

result:

ok no solution

Test #77:

score: 0
Accepted
time: 14ms
memory: 4104kb

input:

BBBABBBAAABAAAABABAABABABBBBBBABAAABABBABBBBBAAAAABAAABBBBBBBBBAAABBBABBABBABABABAAAABAAABABBABBABABBABBBABAABBABBBBBBBBBABAAAAAAAABBBABBBAABBABBAABBBAAABBABAAAABAAABBBABBBAAABBBBAABBAAAABAABBABBBAABBAAABAABABBABAABABBBBBBABBBAAAABAABAAABABABBAAAAABBABBABBBABAAABAAABAABBBABAAAAABBABBABABABABBABBBABB...

output:

YES
1 4 5 6 8 9 11 12 13 14 16 17 19 21 23 25 26 27 28 31 32 33 34 35 36 37 38 39 40 41 42 46 47 48 51 55 56 57 58 59 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 82 86 87 90 91 92 93 95 97 98 100 101 102 106 107 110 111 113 114 115 122 123 124 125 126 127 132 133 134 135 139 141 143 144 146 148 151...

result:

ok good solution

Test #78:

score: 0
Accepted
time: 7ms
memory: 3944kb

input:

ABBABABBAAABABBBABAABABBABBBABABAABABBBABAAABBAABBAAAABBBBAABBABABAABAABAAABBBAABBBBBBAAABBBABBBBAABBBBABBAABABBBBBAABBAABBAABABBBBBBAABBAABAABBBABBBBBABABBBAABAAABAAAAABBBBAABAAABAAAABBABBBBABAABBBBBBABABBABBBAABBBAAAABBAAAABBBBBBBAAABABBBBBABBBAAABABBBBBBBAAAAAAAABBBBBAABBABAABAAAABBABBAABBAAABAAB...

output:

YES
1 2 4 5 7 9 10 12 13 14 15 17 18 19 20 21 23 24 25 26 29 31 33 35 36 37 38 40 42 43 45 47 49 50 51 52 53 55 56 57 59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 87 90 91 92 94 95 96 97 100 104 105 106 109 111 116 118 119 120 121 122 124 125 126 127 128 129 130 131 132 133 134 ...

result:

ok good solution

Test #79:

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

input:

BABBAABAABABAAABAABAABAAAABBABABBABABBBAAAAABABABBBBAAABABBBAAAAABBABBABBBBBABBBABAAAAAAAAAABABABBAAABAABBAAAABABBBBBBAABAABAABBAABAABBABBBBBABAABABBAAAABBBBBBAABAABAABBAABBABBBBABBAABBBBABBBAAAAAABABBBAAABBAAABABBABAABAABBABAABBBBABABABAAABBBAAABBBABAAABBABABABABABAAAABBBBABAABABBBAABAAAAAABABBABBA...

output:

NO

result:

ok no solution

Test #80:

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

input:

BABABBBAAAAABBBAABBBABBABABAAAAAAAAABBBBABBABBAABABBABBBBABABAAAAAABBABBBBABABBABBBBBBBAAAABABBABABBBAAABABAABBBBBABBAABBABAAABAAABBABBABBBABABAABAAAAABAABBBABBBBBBAABABBABABABAAABAAAAAAAABBBABAAABBAABABABABBABAAAABAABBBAAAAABABBAAABBAABAAABBBBBABAAAABBBABAAAAAABABABAABBAAABAABABBBABABAABBAABABBABAA...

output:

YES
1 3 5 8 9 10 13 14 16 18 21 22 23 24 26 28 29 30 37 38 39 40 42 43 45 46 49 51 53 58 59 60 62 63 64 65 66 68 69 71 72 73 74 76 78 80 88 92 94 96 97 98 99 100 101 102 103 104 105 106 108 110 111 112 113 114 116 117 118 120 121 122 123 124 125 127 128 131 132 133 134 135 137 140 142 144 145 147 14...

result:

ok good solution

Test #81:

score: 0
Accepted
time: 13ms
memory: 4068kb

input:

ABABABABAABBBAAABBABBAAAAABAABABABBAAAAABABABABBAAABABBAAAABAAABABAABABABBABABBAAAABBBABAABAAABBBBABABBBAABBAABBBBABBBBBBBAAABAABBBAAABBABABBBABABBAAABBBBABBBAABBABBABABBBBBBBABABBABBABBBBABAAAAABBBBBABBAABBBBBBBAAABAAABABAAAABBAABABBABBBAAAABAAAABABBAABBBBABBABAAABBAAAABABBBBBBABABBBABABABBBABAAAAA...

output:

YES
2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 80 84 85 86 87 88 89 90 91 92 93 95 96 97 99 101 102 103 104 105 106 107 108 109 110 111 1...

result:

ok good solution

Test #82:

score: 0
Accepted
time: 10ms
memory: 4100kb

input:

ABBBBAABABABAAAAAAABABABBAAABBBABBBABABAABBBAABAAAAABABAABAABABBBABAABAABBBBABBABBBBABAABAAAAAABBAABAABABBBBAABBABAAAAABAAABABAAABBABBAAABBABABAAAAABABAAAAABABBBBAAAABABBBABBBABBBABABABBBBBAABBABAABAAAAABAAAAAABBBABBBABBBABAAABBBBABAAAABBBAABAAABBABBBBABBBAAAABBBBBBBBABABAABAAAABBAAAABAABBBAAABABABB...

output:

YES
1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 20 21 22 24 26 27 28 29 30 31 33 34 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 58 61 63 64 66 67 68 69 70 71 72 73 74 75 77 78 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 100 101 103 104 105 106 107 108 109 110 111 113 115 116 117 1...

result:

ok good solution

Test #83:

score: 0
Accepted
time: 12ms
memory: 3772kb

input:

BAAABAABAABABAAABAABBBBABAABABBBABBABABABABAABBBAABAAABBBABBBBBAAAAAAAAABBAABBABAABAAABAABABAAAAABBBABABAAAAABABABAAAAAAABBAABBAABBBBBAABABBBBBBBABBBABBBAABBABABABBAABBABBABAABABBABAAAAAABBBABABAABBBAAABAABABBBABBBBAABBAABABAABAABBABBABBBAAAAABBBAABBBBBBBABABBAABABBBBBBBABBABAABAABAABABAAABAAABBABBA...

output:

YES
2 3 5 6 7 8 9 10 11 13 17 18 19 24 26 28 29 30 31 32 33 34 36 37 39 41 42 43 46 47 49 50 52 53 54 58 64 65 73 74 77 79 81 83 84 87 90 92 93 94 95 98 99 101 102 103 105 106 110 111 113 114 115 116 122 123 126 127 128 130 131 132 133 135 137 139 140 141 142 146 147 150 154 156 157 158 160 162 165 ...

result:

ok good solution

Test #84:

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

input:

BBBBBABABAABBBABBBABBBAAABBBBAAAAAABABBABAABAABAAAABBBBBABABABBBBBAAAABBBBABABAAABABBABABBABBAAABBBABBBAABABABABABAABBAABBBBABABBAABBABBAAABAABBBBBAAAABABBBAABAAABAAAAAAABBBAAAAABAAABBBAABABBAAABBBBBBBABABBABBABBABBBABAABABBAABABABBABBBABBBBBAAABBBAABBABBAAAAABABABBBAABBBAAAAAAAAAABAABAAABAABABABABA...

output:

YES
1 2 6 8 9 12 13 14 15 19 20 23 24 25 30 31 32 33 34 35 36 37 40 42 44 47 52 57 58 60 61 67 71 75 76 77 79 80 82 84 86 87 88 89 90 91 92 94 97 98 99 100 101 104 106 108 109 111 112 114 115 117 119 121 122 123 125 126 128 130 131 132 133 134 137 138 139 140 141 142 143 144 148 149 150 151 153 157 ...

result:

ok good solution

Test #85:

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

input:

BABBAAAAABAABBBBAABABAABBBABABBAABABBBBBBBBAAAABAAABBAAAAABAAAABBBBAABBABAABBAAAAAAABBBBAABABABBABAABAAAABAABBBAAABABAABABAAABBAABABAAAAAABBBBBBABBAABABBABBBBABBBBABAAAABBABBABABAAAAAABBBABAAAABBBABBBBABBAAABBBBAABABAABAAAAAABABBBBAAABBBABBBABBBABAAABBBABBAAAAABBAAAABBABBBBABABAABBBBBBBBABAABBBBAAAA...

output:

YES
1 2 5 6 7 8 10 13 14 15 17 19 20 21 22 24 27 28 29 30 31 34 36 44 45 48 49 50 51 52 54 55 59 64 68 70 72 73 74 75 78 85 86 89 90 91 93 95 97 99 100 101 102 106 109 112 113 115 116 118 119 120 121 123 126 128 130 131 133 134 139 140 141 145 146 148 150 151 152 154 155 156 159 164 166 167 170 172 ...

result:

ok good solution

Test #86:

score: 0
Accepted
time: 13ms
memory: 3928kb

input:

AABBABBBBBBAAABAAAABBBABBAAABBBBBBBABBBABAABABABBBBBBBBBBAAABABBABBBABBBAAABABBABBBABAABABABBBBBABBBAABBABBBABBBBBABBBBBBAABBBBABBBBBABBBAABABABABAABABAABBBBABBBAAAAABBBBBBBBBABBBBAABBBABAAABBAAAABBAABBAABAABABBBBBBAABBABAABABBBBBABABBAABABBBBABAAABBABBABBAABABABABABABBABAAAAAABBBAAAABAABBBAAABAAAAB...

output:

YES
3 4 5 6 7 8 9 10 12 13 15 16 17 18 19 20 21 23 24 25 26 29 30 31 32 33 36 37 38 40 41 42 44 45 46 48 49 50 51 52 53 54 58 59 61 62 63 64 66 67 69 70 71 73 74 75 76 78 79 81 84 85 86 87 89 90 92 93 94 97 98 99 101 102 103 105 106 107 108 110 111 112 113 115 116 117 118 119 122 124 128 129 130 131...

result:

ok good solution

Test #87:

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

input:

BBBABBBABABAABBAABABAABAAAAAABBBAAABBBABAAABAABAABAABAAAABAABAAABBAABABBBBBAABBBBABABABBABBBABAABAABBBABAAABAABABBBABABABBABAABABBBABBBBBAABABAABAABAAAAAABABBAAABABBABBAAAAABABBBBABAABAABAABBAABAAAABABAAABBBBABBAAAAAABBAABAABABBBBAAABBAABBABAAABAABBBBBBBAAAABBABBABBBBBAAABAAAAAABBBBBAAABABBABABBBBBA...

output:

YES
1 4 5 6 7 9 10 12 13 14 16 18 19 20 21 22 24 30 31 33 36 37 38 39 41 44 45 47 48 49 50 51 52 54 55 56 58 59 61 65 67 69 70 71 76 78 79 80 82 83 84 85 87 88 89 90 91 93 95 96 98 99 100 101 103 104 105 106 108 109 111 113 114 115 117 118 119 120 121 123 125 127 128 129 130 132 133 134 138 139 141 ...

result:

ok good solution

Test #88:

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

input:

AABABABABAAABABABAABBBAABBBBAAAABBAAAABBBBAABABBAABBBABBBAAABBAAAABAABABBAABBBAABBBBBBBABBBBAAABAABBBAABAAABBABBBBAAABBABBABAAAABAABABAABABABBAAAAABBABBBAABBBAABBAABBBAAAABAAAAAABAABAABAAABABBAAAAAAAAABABAABABBBAABBBAAABBABAAABBAAABBBAAAABBBBBABAABAABBAAABBBABBBBBABABBAABBABBAABABBABAABABAABABABBBBB...

output:

NO

result:

ok no solution

Test #89:

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

input:

AAAAABBAAABAAABAABBAAAAABABBBBABAABABBBBAAAABABABAAAABAAABBAAAAABBBAABABBAAAAABAABBABBBBAAABBBAABBBBABAAABABAAAABABAAABAAAAAAAAAABBBABBBBBBBABAABABAABBAAABAAAAABABABBABBABBBBAAABABBAABBABAAAAABAAABBBBAAAABABABAAABBABBBABBAAAABABBBABABBBABABAABAAAABAAAABBABBAAABABBBBAABAABBAAAAABAABBABBAABAAAAABBBBAA...

output:

YES
1 2 6 8 9 11 12 13 15 18 20 21 22 23 24 25 26 31 32 33 34 35 37 41 42 43 44 45 46 48 49 50 51 52 54 55 56 57 60 65 68 69 71 72 74 75 79 82 83 84 89 92 95 96 101 102 103 104 105 106 107 109 110 111 112 113 115 119 130 133 134 141 143 144 146 147 148 150 152 155 156 161 163 165 167 168 169 170 171...

result:

ok good solution

Test #90:

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

input:

AAABABAABBAAABABBBBBBAAABABAAABABBABBAABAABAABABBBAABBABABBBAABBABBBBAABBBBAAABBBBABAAABBBABAAAAAABBABABABABBBBABBBABAABBBBAAABBAABBAAAABABABBBBBBAAABBABAABBAABBBBBBBBBABBAABAAABAAAAABBAAAABABBABBBAABABAABBBABAABAAABABBAABABAABABABBABAAAABAABABABBABAABBAAABBBABBBBBAAABAAABBBBBAABABBABABABBBBAAABAAAB...

output:

YES
1 2 4 5 6 7 9 11 14 16 17 22 25 26 27 31 33 35 38 40 41 42 44 46 48 51 53 54 56 58 59 61 63 64 66 70 72 73 74 75 76 79 80 83 84 85 88 91 92 93 94 99 100 102 104 105 106 108 109 110 112 113 114 115 116 117 120 121 124 125 126 127 128 129 130 131 133 137 138 139 141 142 147 148 149 150 152 153 156...

result:

ok good solution

Test #91:

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

input:

ABBAABBBBAABABAAABABBAAABAAABBAAABABAABAABBBAABAABBBAAAAABBAABBAABAABBBBAAABAABABABABAABAABABBABAAABABABBABBBBABAAABBBBBAAAABBAABAAABAAABABBAAABBABBBAABABAAAABBBBBAAAAABBBAAAAAABAAABBBAAABBABBABBBABBBBABBBABBABABBABABAAAAABAAAABAABBBABAAAABBBAAAABAAAABAAABBABAAABAABBAABAABBAABAABABAAABBBAAABBBAABABB...

output:

NO

result:

ok no solution

Test #92:

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

input:

BBBBBBAABBABAAABAAAAABAABBBABBABABAAABAAABBABAABAABABAABABAABBABBBBBBBBBBBBBBABBBABBBAAAABBBBABBBAAAAAAAABAAABABABBABBBAABBBABABAAAABAABAAAAABABBBBAAABBABAAAABAABAABBBBBBBBABBBBAABABBABBBAAAAAAABBAAAABABBAAAAAAABBAAABBAAAAAABBBAABBBBABBABBAAABBBBAABABAABAAAAABABBAABABBBBBBBAAABAABABBBBBBBBABBABABBAB...

output:

NO

result:

ok no solution

Test #93:

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

input:

BAABBBAABAABAABABBABABBBABABAABBAABAABBABABAAABBBBBBAAABBBAABBABABBAABAABAABBBBABABBBBBBAAABBBBAAAAAAABBBAAAAAAABABABBAAABABABABABAABBABBBABBBABBBBABBBBABBABBABABAAAAAAAAABBBBAABBBABAABBAABABAABBBBBAAAAAABBBBAABAAAAABAAABBABBBBBABAABBABBBAABBBABAAAABBAABBABABABBBAABBBAABBAAAAABBBABBBBBBBABABABABABAB...

output:

NO

result:

ok no solution

Test #94:

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

input:

BBBBAAAABBAAABAAABBAAABBAAAAAABABAAAABABABABABBAABABAABBABAABBBAAAAAABBBBBAAAAAABABBBBABAAAABBAABABBBAAAABBBBBBABBAAABBAABAABBBABBBBBBBAABBBABABABABAABAABABBBBABBBABBAABAABAAABAABBBBBAAABBABBBAABBAAABBBABBABBBABBAABAABBBBAABABAABBBBBBABBAABBBBAAABBABABBBAABABBAAAAABABABBABBBBBBAABBBAABAABBBAABABBABA...

output:

YES
1 2 3 5 6 7 9 10 11 12 13 15 18 20 23 25 26 27 28 29 31 32 34 35 36 37 38 40 41 42 43 45 48 50 51 52 53 54 57 59 61 62 64 65 66 70 75 81 83 87 88 89 90 93 95 97 99 102 106 107 108 112 115 118 120 121 122 123 125 126 127 129 136 138 139 140 141 143 144 146 147 149 151 154 156 157 160 164 167 168 ...

result:

ok good solution

Test #95:

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

input:

BABBBBBBBBAABABAABBABABABBBBBBAAABBBABAAABBAABBABBBAAAABAAABBBBBBBAABBBBAABBAAABBBAABBABAABBAAABABABABAABABAABAAABBBAABAAAABBABBBAAABBBAAAABAAABBABAABABAABBBBABBABBBAABBBBABAAAABAAABBAABBABBAABBAAAAAABAAAAABBAAABAABAABAABBAAABABABBBAAABABBAAAABABBAAABBBBABABAAAABBBAABABAABAAAABBAAAABBBAABBABBBBAAAAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 97 98 99 100 101 103 104 105 106 107 108 ...

result:

ok good solution

Test #96:

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

input:

AABAAAAAAAAABABBAAAAABABABAAABAABAAABBAABBAABAABBAAAABAABBBABBBBABBABBAAABBAABABAAABBABABBBBBBBAABBABAABBBBAABABBABBBABABBAABABABBBBAABBABABABAAAABBAAAAAAABBABABBAABAAABBBAAABAAAAAABBAAAABAAABABBBABAAAABBBBBABABBABAABBAAABBAAABBAAABBAABBABABAAAAABAABABABBBABBAABABBBBABBABABAAAAAAAAABAAABAABBBABAAAAA...

output:

NO

result:

ok no solution

Test #97:

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

input:

ABABABBABBABAAAAAAAABBABBABBAAAABBBBBABBAAAABBBAABAABBAAABABBBBBBBABAABBBABBABABBBAAAABABABBBBBAAAAABBBAAABBBBBBBAABBBBAAABAAAABABBABAAAAABAAABBAAAAAAAAAABABBBAABBBBBBBAABABBAAAABABABBBBAAABABABAAAAABABABBBAAAABBAABBABAAABABABAABABABBAABABBBAAAAABBBBBAABBAABBBBBBABAABAAAAABABAAABABBAAAABAABBBAABAAAB...

output:

NO

result:

ok no solution

Test #98:

score: 0
Accepted
time: 9ms
memory: 4228kb

input:

BBBBABABABAAABBAABAAABABABBBABAABABABBABABAABBBBAAAABAABABAAAAAABABBBBABABABBBAABBBBABABBBBAABBAABABAABBAAABBBBAABAAABABABABBABABBBBBAAAAABAABAAABBABBBBAABAAAABBABAAAAAAAABABABAAABBAABBABABBBABBABBBAABBBBABBBAABBBAABBBAABAAABABAABABABAAAAAAABAABBBABBABAABBABBBBBBABABBABABAABBBBBABBBBBAAAAAABABBBBBBB...

output:

YES
1 2 5 6 7 8 9 10 11 14 16 18 19 22 23 24 26 27 29 30 31 32 34 35 36 37 38 39 40 42 43 44 45 46 47 49 53 54 55 56 58 59 60 61 62 65 67 68 69 71 73 74 76 77 79 80 81 82 85 87 88 89 90 91 92 93 94 96 98 99 101 102 103 104 105 106 108 109 110 112 113 115 116 117 118 119 120 121 123 124 125 127 129 1...

result:

ok good solution

Test #99:

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

input:

ABAABBAAAAAABABABBAAABABBAABAABBBBBBBABABBABABAAAAABABBAAAAABBABBAAABBAAAABABABABAABBBAABABAABAABAAABBBABABAAAAAABBAABAABBBBBABAAABBAAABBBABABBBBAAAABABAAAABBBABABBABABAABBABBBABBBBABABBAAAAAABBBAABABABAABBBBABAAAAABAABAAAABABBBAABBBBBABBBBBAABAAABBABAABBBABBBBAAAAAABBBABBABAABBBAAABABAABBBBBBBBBABB...

output:

YES
1 3 4 5 7 8 9 10 13 15 16 17 18 19 22 23 24 26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 47 52 53 56 57 58 59 60 61 63 64 65 66 67 68 71 72 73 74 76 77 79 80 81 84 87 88 89 90 91 92 93 95 97 98 99 101 102 103 105 106 107 108 109 110 111 114 116 118 119 121 122 123 126 127 128 131 132 13...

result:

ok good solution

Test #100:

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

input:

BAAABAABBBAABABAABAABBBAABBABBBBAABAAABBBABAABABABABBBBBBABAAABAAAAABABBAABAABABBBBBABBAAAABAAAABBBAAABAAAABABBBBAAABBBABAAAAAAAAABBBABBAAABBABBBBBBABBAABAABAABAAABAAAABAAAAAABBAABAABBBAAABBBBBAAAABBBABBAABAABBABBABAABABABBAABBAABAABABAAABABAABBBBBABAAAABBBBBAABBAAABBBBAAAABBBAAAAABABABABBABAAABABBB...

output:

NO

result:

ok no solution

Test #101:

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

input:

AAAAABBBBBAAABBAAAABAABBAAAABBBABABBAAABBBAABAAABBBBABABBABBBBABBBABABBBBABAABABBABABABBAAABBABABAABABBBABBABAAAAAABAAABABBBAABABBBABBBBBBAABAABABABBBABABBAAAABBAAAAAAABAAAABABBBBBABBAAAABBBAABBBBABBBBBABBABABABBABBABAABAABBBAABBBBBBBBBABBBBBBAAABBBBBAABAABBABAAABBBABBABBBAAABBBBBBAABABABAABAABAAABB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102...

result:

ok good solution

Test #102:

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

input:

AABBAABBBAAABBBBBABAABBAABBBAABAAABBABBABAABBBBAABAAAABABBABABABBABBABAAABABAABBABBABBBABBBABBBABBAAAABBBBBAABABBABBBAABABBABBABBBABBBAABABBBAABBABBAABABBABABBAABBAAAABABABBABABAAAAAABABBABAABABABBABAABABABABBABBBAAABABBBABBABBBBABAAAABABBBBBABBAABBAABABBAAABABBABAAAABBABBBBAABBBBABBBBABBABAABAABBBA...

output:

NO

result:

ok no solution

Test #103:

score: 0
Accepted
time: 15ms
memory: 4020kb

input:

BABBABABBABBABABBAAAAAAAAABBBBABBABAAABAABBAABABBAAABBBBBABABAAABBBBAABABBABBAAABBAAABBABBBBAABAABAAAABAABABBAAABABBBBAABABBBAABABBBBAABAAAAABBABAABABABAABBBAAABBABAAABAABBAAABBBABAABBAABABBABAABABAABABBABBBABBABBAAABABBBABAABAAAABBBABBBABBBAABABABABABBAAABBAAAAAABBABABBAABBBABBAAABBBABAAABAABBABBAB...

output:

YES
2 3 4 6 8 10 11 12 14 15 16 17 18 19 20 21 22 23 24 27 28 29 31 32 33 34 35 36 37 39 40 41 42 43 44 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 76 77 78 79 80 81 83 84 86 88 89 90 91 93 94 95 96 98 99 100 101 103 104 105 106 107 108 110 111 112 113 115 116 11...

result:

ok good solution

Test #104:

score: 0
Accepted
time: 6ms
memory: 3836kb

input:

ABABBAABAABAABABBAABAABBBAAABAABABBABAAABAAAABABBBBBBBBBABBBBABBBABABAABABABBBABBAABABBBBBAABBABBBBBAABBABBABABABABBBAABBBAABBBABAABAABABBAAABBBBABBABBBAAABAABBAAABABAABBBABBBBABAABABBAAABBABABABABBABAABABBBABBAAABABBABBAABABABAAABABBBBBAABBBBABABABABAAAABABBBABBAAABABBABAABABAABABABABBBBAAAABAAABAA...

output:

YES
1 2 4 5 6 7 8 9 11 12 14 15 16 18 19 21 23 24 26 27 28 29 30 32 34 36 37 38 39 40 41 42 46 48 49 50 51 52 57 58 59 60 62 63 64 66 68 70 71 72 73 74 76 79 82 83 84 86 87 88 91 93 94 96 97 101 103 104 105 106 107 108 109 111 112 113 115 118 119 120 123 125 128 130 132 133 135 136 137 139 142 143 1...

result:

ok good solution

Test #105:

score: 0
Accepted
time: 8ms
memory: 3540kb

input:

BBAAAAAAABBAAABABBBABAABBAABBBABAAABBBBABABBBBBBAABAABAAAABBABBBABABAAAABBAAABBABABBBAAAAABABBABAAAABABAABABBABABBBABBBAABAAABAABAAAAABAAAABBBBABBAAAABAAABBABBAAABBABBBBAAABABAAAAAABBBABABAABAABAABABAABBBAABBAABABAABBBAABBABBAABBAAAABABAAAAABBBAABABBABABAAAAABBABBBBBBBBABAAABBBABBBBAAAAABBBABABBBABA...

output:

YES
1 3 4 5 10 12 13 15 16 17 18 20 21 22 23 24 25 26 28 29 30 32 33 36 37 38 39 40 41 43 44 45 46 49 50 51 52 53 54 55 59 60 62 65 66 68 69 70 71 73 75 78 79 80 81 83 86 87 91 93 95 97 98 99 100 102 104 105 107 108 109 111 113 114 115 117 120 122 123 126 129 130 135 136 137 138 139 140 141 144 145 ...

result:

ok good solution

Test #106:

score: 0
Accepted
time: 7ms
memory: 3508kb

input:

AABBBBBABAABBAAAAABAABABAAAAABBBAABBBBBBBBABABBBBBAABBABBBBBAABBBAAAABABAABBBABBBBBBABBBBBBABBABABBBBABBABAABBAAABAAAAABAAABBBABABBBBAAAABABABAABBAABBABABABAABAAABABBABAABBBBABBBAAABBBBABBBAABBBABABAAABBBBABABBAABAABABBBABABBBAABBAAAABBAAABAABABBAABBBABBAAAAABABAAABBAABBABABBBBABBBBBAABAABBAABBBABBA...

output:

YES
1 3 4 5 6 8 9 10 11 14 19 20 21 23 25 26 30 33 35 36 37 38 43 45 46 47 48 49 50 51 53 54 55 56 57 61 62 66 70 71 73 75 76 77 79 80 81 82 83 84 86 92 93 94 96 97 102 105 107 109 111 112 114 115 116 117 118 120 124 127 128 129 134 138 139 140 142 143 144 145 147 148 149 150 152 154 156 157 158 160...

result:

ok good solution

Test #107:

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

input:

AAABBBBABBBBAABBBBBBBABAABABABAAABABABAABBAAAABABBAABBABBAABBBBAABBBBBBABBBAAAAABAABBABBBBAABBBABBBBBBABAAAAAABBABBAABBABAABAABBAAABABAABBBBBABABAAAABAAABBABBAABBBABBAABABABABBBAABAAABAABBABABAABABAAAABBBAABAABBAAAAAABBBBABBBBABBAABBBBBBABBABAAAAABBBBBABBBBBBAAABAAAAAABABABBAABABBBABBBBABBABABABAAAA...

output:

NO

result:

ok no solution

Test #108:

score: 0
Accepted
time: 6ms
memory: 3448kb

input:

ABABAAABBABABBABABBAABAABBABBABAAABBBBAABABAAAAABAAAABBABBBABBAAAABAAABAABABABBAAAABBBABBABBABAABBAABBAAABBBAAABAAABAAAAAAABBAAABBBABAABABABBAAAABBAAAAABBBABBBAABBAABABAABAABABAABBAABBABAAAABBBBBBABAAAAAAAAAABABABABBABAABAABBAAABBBBBAAABABBABAAAABAAABBBABBABABAABABBBAAABBAABAAAAABBABBAABBBBABBBABAAB...

output:

YES
2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 25 27 30 31 32 33 34 35 36 37 38 41 42 44 45 46 47 49 50 51 52 54 55 56 57 58 59 61 63 64 65 66 68 69 71 72 74 76 78 79 80 81 82 83 84 85 86 87 88 89 91 93 94 95 96 97 99 101 103 104 106 107 108 109 110 111 113 114 116 117 118 119 120 124 125 ...

result:

ok good solution

Test #109:

score: 0
Accepted
time: 14ms
memory: 4020kb

input:

BABAABBBABBBBABBBBBBABBABAABBAAAAAABBBAABABABBBBABABABBBBBBAABBABBAABBBBBBABBBBBABAABBBBAABAABAAAAAAABAAAAABBABAABBBAABABBAAABABAAABABAAABBBBBBBBAAABAABAABAAAABAAAAABAABBBABAABBBABBABBABBAABBAAABABBBAABAAABAABBBABAABBBBABBBAAABBBBBBBAAAABABABAAAAABABAABABABAABBBBBAAABAABBAAABABBBBABAABBBAABBAAABBBAA...

output:

YES
1 2 3 4 6 7 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 26 28 29 30 31 32 36 37 38 39 41 43 44 45 46 47 48 49 50 51 52 54 55 56 57 60 62 63 64 67 69 70 71 72 75 76 77 78 79 80 82 83 84 85 86 87 89 90 92 93 94 95 96 97 98 99 100 102 103 104 105 108 109 110 111 112 113 114 115 116 117 118 119 120 ...

result:

ok good solution

Test #110:

score: 0
Accepted
time: 11ms
memory: 4108kb

input:

BABABABBBBABABBABABABAAABAAAABABBABABABBBBAAABABABAAABABBAABABABABABAABBABAABBAABBBBAABBABBBAAABBBAAABABABABABBBBAABABAABBAABABBABBABBBBAAABBAAABAABBABBABBABABBABBBBBBAAABBABBBBBABAAAABAABAAABBAABABAABABABABABBABAAAAABBABABABABAAAAAAABAABABAABBBAABABBAABAAAABAAAABAAABABBBAAAAAAAABAAABAABABAAABBBABBB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 ...

result:

ok good solution

Test #111:

score: 0
Accepted
time: 10ms
memory: 3876kb

input:

BABBBAAABBABABBABABBBBBBBBAAAAAAAAAABBBAAABBABBAABABAABAAABAABABABAAABBAABABBBBBABAABABBAABBAABABAABBABAABBBAABAABBAAAAABABBAABBBBABBAAABAABBBABABBBAABBABABBABBBBBABABBBABAABABABAABABAABABABABAABBBAABBAAAAAAABAAABAABBAAAAAAABBBAABABBBBBBBBBBABAAAABAAABAABBABBBABBBABBAAABABBBABBBBABBBBBBAAABAAAAABABA...

output:

YES
1 3 4 5 6 7 8 9 10 12 13 14 16 18 19 20 21 22 27 28 29 30 31 32 33 34 37 40 43 44 46 48 49 50 51 52 53 55 56 57 59 60 62 63 64 65 66 67 68 69 70 72 74 75 76 77 78 79 81 82 83 85 86 87 89 91 92 95 97 98 100 101 103 104 106 107 108 109 110 112 113 114 115 116 117 118 121 122 123 124 127 128 129 13...

result:

ok good solution

Test #112:

score: 0
Accepted
time: 6ms
memory: 3544kb

input:

BABBAABBABBBABBBBBBAABABBABABAAABBABABBABAAAABBAAAABBAABAAABABAABABABABBBAAABBBBABAAABAABAAAAABABABBAAAABABAABBABBBAABBBBABBBAAAAAAABBABAAABBBAABBABBABBBBBAAAABBBBABBAAABAABBAABBBBAABBBBAABABAABAAAAABABAAABBAABAAABABBAAABBAAABAABBAABAAAABBBBAAAAAABBAABABBBBAAAAABBABAABBBAAAABBAABAAABBBBAAABBAAABBBBA...

output:

NO

result:

ok no solution

Test #113:

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

input:

ABBABABBBBBAABBABABBAAAABABBAABBBBBBBABABBBBBBBBAABABAABBBABBABAAAABBABBBABAAAAABABABABAABBBAAABBBBBABAABBAAAABABBABABABBABABBBAABABBABBAABBBAAABBABABAAABABBBABBBBBBBBBAABAAAAAAABBBBBBBABBABBAABBABAABBBBABBABABBABBABBBBBAABBAABAABABBABAAAAABABAAABBBAAAABAABABABBBAAAAABAAAAABAABAABBAAAAABBBABAABBABBB...

output:

YES
1 4 5 7 8 9 12 13 14 15 16 17 19 21 22 23 25 26 27 28 31 32 33 38 39 41 42 43 49 50 51 52 53 56 57 58 59 60 62 63 68 69 70 74 76 77 78 79 80 81 82 83 85 86 88 90 91 92 93 94 96 97 101 102 105 107 111 113 115 116 118 119 122 123 125 126 128 130 131 132 134 135 137 138 142 145 147 148 150 154 156 ...

result:

ok good solution

Test #114:

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

input:

ABBBBABABBABBABBBAAABABAABABAAABBAAAAAAABAABABABBAABBABABABAAABABABBABAABABBBBABBAABAABAABBABABAABBBBBBBBBBABABBBABBBBAABABAAABBBBBAABAABAABABABAABBAABBBBBBBBBBBABAABABBBABAAABBBABBBBABBBAAAAABBAAAAAABAABBBBBBABABBABAABAABABABABAABBABABBBABBABBAABABBBBBABABBABAABABABBBABBAAAABABBABABBBAABBBABAABABBB...

output:

YES
2 3 6 7 9 11 14 15 18 19 21 23 24 25 27 28 29 30 31 34 41 44 46 48 50 52 54 56 57 58 59 60 61 62 64 66 67 69 70 73 74 75 76 77 79 82 83 84 87 90 92 94 95 98 99 108 109 111 112 113 114 119 120 121 123 127 132 134 135 137 140 141 142 143 144 147 149 151 162 163 166 167 168 171 173 176 177 179 180 ...

result:

ok good solution

Test #115:

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

input:

BBBBBBAAAABBAAAABBABBBBABABABAABABAABBABBBBBBBAABBAAAAABBABBBBAAABBAAAAABABBBBBBABABABBAAAABBBABBBAAABBBBBBBABBBBAABBAABAAABABAAAAAAABAAABBBABABABABAAABAABAABABAAABBAABAAABAAABBBABAAABAAAAAAABAABABBBBBAAAABAABABBABBAABBBBBBABAABABBBABABBAABABABAAABABAABAAABBBAABBBAABBABAABBAABBABABBABBBBAAAAABABAABB...

output:

YES
1 2 3 4 5 7 8 9 11 12 13 14 15 17 18 20 24 25 26 27 28 30 32 33 35 36 39 40 41 42 43 47 49 50 51 52 53 54 55 56 57 59 60 61 63 66 68 69 70 71 73 75 76 77 78 79 80 82 83 84 85 86 88 89 90 92 93 95 96 97 98 99 102 103 104 105 106 107 109 110 111 112 113 114 116 117 118 120 121 122 124 125 127 128 ...

result:

ok good solution

Test #116:

score: 0
Accepted
time: 6ms
memory: 4020kb

input:

BABAAAABBABAABAAAAAAAAABABAAAAAABBAABAABABABABBBBBAABBAAABBABBBAABABBABAAAABAAABABBAABAABAAAAABABABABAAAABABAAAABBBAAABBABABABABAAABABBBABBBABBAABAAAAABABAAAAABAABBAAAABABAABBBBBBAABAABAABABABAAAAABAABABABBABABBABABABABBAAABABAABAAABBABAABAABAAABBAAABABABABAABAAABABBABAABBAAAABAAAABBAAAAABBAAAABBAAB...

output:

YES
2 3 4 5 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 25 27 28 29 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 70 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 109 110 1...

result:

ok good solution

Test #117:

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

input:

BABABBBAAAAAABBBBAABBAABABAAABAAABBBBBABBBABABABBBBABAABBBAABABBAABAAABAABBABBBABABABBBBBBBBBBAAAAABABABABBAAAABBBBBBBBBBABBABBABAABBBAABAAABABABAABAAAABAAABAAAABAABAABBBBBAABAABBABABBABBBAAABBBAABBAABBBBBABAABABBBABBAAAAABAAAABBBBABBABABABAABBAABBBBABBAAABAABAABBBAABBBBAABBABBABBBABABBBAAAAAAAAABBB...

output:

YES
1 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 49 50 52 53 54 55 56 57 59 60 62 63 64 65 67 68 69 70 71 72 74 75 77 78 80 81 83 85 86 87 88 89 90 91 95 96 97 100 101 102 104 106 107 108 109 110 112 113 114 115 116 117 118...

result:

ok good solution

Test #118:

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

input:

BBBBABBBAAAABABBBBBBBBABABAABBBBBAAABBAABABBBABAAABBBABAAABABABBABBAAABAABAAABAABABBAAABAAAABBBBABBBBAAAAABABAAABBBABAAABBBBAAAABBBAAABBABABABBBABBBBAAAAABABBAAAABAABAAAABABABBBBABAABABABABBBBBBBBAAABBBBBBABBBBBAABBAAABAAAABAAABAAAABAAABABBBAAABBBABABBAAAAAABABAAABABABABABAABBAAAAABBBAAABBBBBBBBABBB...

output:

YES
1 2 3 4 6 9 10 11 13 14 15 16 17 23 24 26 29 30 34 37 38 39 40 41 42 43 44 45 47 51 54 56 59 60 61 63 64 65 68 69 71 72 74 75 76 77 78 81 83 84 88 89 90 93 94 97 98 99 100 101 102 107 108 109 113 116 117 118 121 125 126 129 132 135 137 139 140 142 145 150 151 155 156 159 160 161 163 164 166 171 ...

result:

ok good solution

Test #119:

score: 0
Accepted
time: 7ms
memory: 3512kb

input:

ABBAAAAABBABAABBABBBAABBAAAABAABABBAABBBAABBABBBBABABABABAABBBBBBAAABBABAAABAAAAAABABAAABBAABBBBABAAABBAAAABBBBAABBBBABAAABABAABABBBAAABABBBAAAAAABABABAAAAABBBBAABBBBBBBBBABAAABABABAABBBBABABAABBBBBBBAAAABBBAAAABBAABBAABABBBABABBBBAABBABBABABBBAABABAABBBABABAAAAAABAABABABAABBBABAAABABABBAAAABAAABABB...

output:

YES
1 2 4 9 10 11 13 15 16 17 21 22 23 25 29 32 34 35 36 38 39 40 41 42 43 45 50 51 53 54 55 57 58 59 66 69 71 72 73 76 77 78 83 84 86 87 89 90 91 93 94 97 99 100 101 104 108 112 113 114 118 119 123 124 126 127 129 133 134 136 137 138 139 140 147 149 150 151 157 161 163 172 173 177 179 180 181 184 1...

result:

ok good solution

Test #120:

score: 0
Accepted
time: 15ms
memory: 4360kb

input:

ABBBAABBBAABBBAABBBBBBABAAAABBABBAABBABBBBABAAAABAAAABAABBABAAABBBBAABABAAAAAAABABBABAAAABABAAAAAABABABABBAAABABBAABABABAAAAAABAAABBBBBBBAABABBBAABAABBABAABABBABAAABABBABABABABAABAAAABBBBAAABAABBBAAABBBBBABAABBBBBBABAAAABAAAABBBBAABAABABBABABAAABBBABAABBAABABAABABBBBAABBBBABBBAAABAAABABBABABBABAAAAA...

output:

YES
1 2 3 4 5 7 8 9 10 11 12 13 14 15 17 18 19 23 25 26 27 29 30 32 34 35 36 37 38 39 40 41 43 44 45 46 47 49 50 51 52 53 54 55 57 58 59 60 61 62 64 65 66 68 69 70 71 72 73 74 75 76 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 99 100 101 102 103 105 106 107 108 110 111 112 113 114 115 116 117 118 11...

result:

ok good solution

Test #121:

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

input:

AABAAABBABBABBAABBBBAABBBBAAAABBABBAABBBBAAABAABAABBAABABABABAABABAABAABABBBAABAAAABAAABAABAAAAAABBAABBABAAAABBAAABABBAABABABBBBBBABBAAAAAABAABBBBBAABBBAAAABBABBBABAABBBBAABABABBABABAAAAABABBAABBBBBABABBBBAABAAABBABAABBBBBABBBAAABBAAAAABBABBABABBABBAABBBAAAAABABBABAABAABAAAABBAABBAABBABBBAABAAABBBBB...

output:

NO

result:

ok no solution

Test #122:

score: 0
Accepted
time: 15ms
memory: 3980kb

input:

BAAABBABABBBABABBAABBAABBABBBBBAAAAAABBAAABABAAABBAABBBABABBBAAAABBABBBAAABAAABAABABBABBAABBBABBAAAAAABBAABAABBAABBBBABABBBABBBBAABBAABBAAAABBBBBBABABBABBAABAAAABBBABAABBBBAAABABABAABBBABABABBABBBABAAABBBBAABAABABABAABBBBABABBABABAAABBBBAABBBAAAABBAAABABBBABBBAABABBBAAAABBABBAAABBABABABAAABBAABBBBAB...

output:

YES
1 2 3 5 6 8 10 13 15 18 19 20 21 22 23 24 25 27 28 29 32 33 34 35 36 38 40 41 43 45 46 47 49 50 51 53 54 56 57 58 59 62 63 66 68 72 73 74 76 77 79 80 81 82 84 86 87 88 89 90 94 97 98 99 100 101 103 104 105 106 107 110 111 114 118 119 121 122 123 125 129 131 132 133 135 136 137 138 139 140 141 14...

result:

ok good solution

Test #123:

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

input:

ABAABBBABBBAAAABBABABBBBAAAAABBABBAABBAABAAABBABAABBAAABBBAABABBABBABBBABBBBBAAAAABABAABBABAABAAABBABAABAAABABAABBBABABAABBAABBABBAAABBBABABBAAABAABBABAABAAAABABAABAAABABBAABAAAABBBABBBABBAAABAABBABBABBBBBBAABBBBBAABBBBBABBBAAABABBBBAAABBABABABABBBAABAABBBABABAABBBBAABAABABBBBAABBBBBBBBBABBABBABBABB...

output:

NO

result:

ok no solution

Test #124:

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

input:

AAAAAAABAABABAABABABAABAABAAAAABBABABAAAABBBBBBBBABABABBBBABBBBAAABBABBABABBBBBAABABBABAAAAAAAABAABBAABBAABABAAABABBABBBAABBAAABABAAAABBAAABABBBBBABBAABBBBABABBBBABBBBAAAAABBAAAAABABABBBAAABABABABBABBAAAABBABBAAAABBBAAABBABABABAABAAABABABAABBABABBBBBBABBABBAABBAABBBBBABABBAABABBABBBBABBBBBABAABBBAAA...

output:

NO

result:

ok no solution

Test #125:

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

input:

ABABBBABBBBBABBBBBBABBABBBBBAABAABABBAAABABBABAABBABABABABBBBBABABBAABBBBABBBABABAAABBAABABBABABBABBAAAABBABBBBABBBBBABABABAAAABBABBABBBBAAAABBABABBAABBAABBAABAAABBAABBBBBBABAABABABBAAAABBABAABBAAABAABBBAABAAAAAAAABBABABABBBAABAAAAABAAABABBBBBAABABBABBBBABABBABBBABBABAAABABBABABAAABAABAAAABAABAAAAAB...

output:

NO

result:

ok no solution

Test #126:

score: 0
Accepted
time: 11ms
memory: 3784kb

input:

AABABBABAAABBBBABAABAABAAAABABAAABAAABABBBABABBABABAAAABBABAAABBAAAAAABBAAAAAABABBABAABABAABAABBABBAAABAAAABAABAABBABAABAABBABAAAAAAAABAABAAAAAAABAABAAABBBABABBBBABBABBAABABAABAAABAABBBBAAABAAABAAAAAABAAAAAAABAABBBABAABAABABAABAAAABABBABAAABBABBBABAABBAABBABABAAAAAAAAAABBAABBBABBBABBBAAAABABAAAAABAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 71 72 73 74 75 76 77 79 81 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1...

result:

ok good solution

Test #127:

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

input:

BBAAABBABABABBBBBBBBABBBAABABBBBBABBABBBBBABABBBAABBAAAAAAAABABABBAAABBBABBBBBBBABBBABABBABBBABBBBBAABBAABBAAAABBAAABABBAABBBABAAABBAAABABAAAAAAAAAABAAABBAABBAABBABBAABABABBBAAAABBABAAABAABBBBBABBAAAABABBAABBBABABAAABAABAAAABBBAAAAABABAABAABBAABABBAAAAABBABBBBAABAABBBAABAAAABBBABABBBBABABBBAABABBAAA...

output:

NO

result:

ok no solution

Test #128:

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

input:

ABABBBABBBBABBBBBABABBAABAAABBAAAABABAAABBAAAABAAABABBBAAABBABAAABBABAAABABABBBBBABBABBABBABABABBBBBBABBABBBAAAAABBBAAAABAAAABAABABABAAAAABBABBAABBABBAABAABBBAAAAAAABAABBBBAABABBAABAAABBAABAAABABBABABABABABABAAAABABAAABBBBAAAAABAAABBABBABBABABAAABAAAAAAAAAAAABABABBBBAAAAABBBBABBBABAAAAAAABBABABBAABB...

output:

NO

result:

ok no solution

Test #129:

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

input:

BBBAAABABABAAABBBAAAABABBAAABABAAAAABABBAABAABABBBAAABAAAAABBAAAABBAAABBBABBBAABAABABABABBBBAAAABBAABAAABBBBBBABABAABBAABABBAABBABBBABBBAAABBABAAAAABBAABBABABABABAAABAABAAABBBBBABBABABBABBABBAABAABBBABBAAAABAABBAAABAAABBBABBBABABABAAABAAABBBABAABBBAABAAAABAAABBAAABAAAAABBBABABABAABABBAABBAAAABBABAAA...

output:

NO

result:

ok no solution

Test #130:

score: 0
Accepted
time: 6ms
memory: 3812kb

input:

BAABBBAAAABBAABBBABBABAAABABBABBBBABABAAAAABAABBABABBBAAAABABBBBAAABBABBAABAAABBAAABABBBAAABBBBBBAABBABAABABABAAAABAABBBBAABABAAAAAAABAAAABBAAAAABABABBABBBBAAABBAABBBBBBABABABABAAAABBAAABAABABBBBBBABBBAABAAAABABBAABBBAABAABABAABABBAABAAAABBAAAABBAABABBABAABABABBABABBBBBAABBBBBAABBBAABABBABBBAABAABAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...

result:

ok good solution

Test #131:

score: 0
Accepted
time: 14ms
memory: 4052kb

input:

BBBBBAABBABABBAAAAAAABABAABAABABBBBBBBBAAABBABAABBBBBBAAAAAABAABBBAABBBABAAABABBBAABABBBBAAAAABABBAAABBBBBBBAABAAABBBAABAABBBBAABBBBBBAABBBABABBAAAAAAABABBBBBAAABBBABAAAABAABABBABABABABBBBBBBAAAAAAAAABAABBBAABBABABBAAABBBBBAABBAAAAABBAABABAABBBAAABAABAABABAAAAAABBAAABAABBABBAAAABBABAAAAAABBBAABABABA...

output:

YES
1 2 3 4 6 8 9 10 11 12 13 14 15 16 17 18 19 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 95 97 98 99 100 102 103 104 105 106 107 108 109 110...

result:

ok good solution

Test #132:

score: 0
Accepted
time: 13ms
memory: 3928kb

input:

AAABABBBBAABABBABAAABBABBBBABBABBBBABABBAABBBBBAAAABBBBABABABBABBAAABBBBBAAABBBABBAAAABBBBABBABAAAAABAAABBAABABABBBABABBAABBBBBAAABABBBBABABAAAAAAAAABBBBBBBBAABABBABBBAAAABBBBABBBAAABABBABAABBBABAAAAAAAAAAABBABBBABAABBABBABBABBBBBABBBAAABAAAAABBBAAABAABABBAAABAAAAAAABABBABBABAABBABABBBABBBABBBABABBB...

output:

YES
1 4 5 6 7 10 11 12 13 16 17 21 23 24 28 29 30 32 36 37 39 40 43 48 52 53 56 58 59 60 61 62 63 66 69 70 71 72 74 75 76 80 81 82 87 91 92 94 96 101 102 103 105 107 109 110 112 113 116 117 119 120 121 122 123 124 125 126 127 128 129 130 132 137 138 140 150 151 152 158 160 162 164 168 169 172 173 17...

result:

ok good solution

Test #133:

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

input:

BABBABABAAABAAAABBABABBBBBABBBBABBBABBBBBBAABBBAAAABABAABBAABBBBABABABBBBBAABABBAAAAAABAABBBBBAAAAABABBBAAAABABBBBABBBBABAAAABBAAAAABAABABBAABAABAABBBBABAAAABBAAAABAAABAABBBABAABBBAABAAAAABBBBAABBBABBBBABBBABABAAABAABABABBABAAAAAAAAAABAAAABAAABBBBAAABBABBBBAAABABBBBABBABBBAABBABBABAAABABBBBABBAAAAAB...

output:

NO

result:

ok no solution

Test #134:

score: 0
Accepted
time: 14ms
memory: 4148kb

input:

BBBAABAAAABBBABBBBABAABBABBBABBBBBBABAABBBBBAAABBAAABAABABABAAAAABABBBBBAABBBABABBAABABAABBBBAABBABABBABBBBAABBABABABBAABABBABAABBABAAABBBABBAAABBAAABABAAAABABBBBBBBABAAAABABBAABBABAAAABBBAAABBAABABAABBABABABABBBABBABBBABBBABAAABABAAABBAAABABAABAABBBBBBBABAABABBBAABABBBAAABAAAABABBAAAAABBABABBBBABBA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 105 108 1...

result:

ok good solution

Test #135:

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

input:

BBABABBAABBAAAABABBBABBBABAABAAABABBAAAABBBABAAABBAABBBBBBAABABAABAAABBBBBABABBAABBBBAABAAABBBAABBBBAABBBABAABAAAABBBAABBBAABBAAABABBBBBAABBAABBBAAABABAAABAAAABBAABBBBAABAABBABABAABAABBAAABABABAABBBABAAABAAAABAABABBBABAAAAAABABAAABABBBAABABBBBABBBABABBABABBAABBAABBBABABAAAAABBBBBABABABBBBBBABBBBABBB...

output:

NO

result:

ok no solution

Test #136:

score: 0
Accepted
time: 11ms
memory: 3704kb

input:

BAABBBBABABAAAAAAAABBAAABBBABAAAABBAAAABAAABBBABBBBABABABABAABAAAAABBBABBAAAABABABABBBABABBABBABABBABABAAAAABBAABABAAAAABAABABABBBBABBABBBABBAAABAAAAAABBABAAABBBBBBBBBBABAAAAAAABABAABBABAAAABAABAABBBABBBABABAABABABAABBAAABBAABABAABBAABAAAAABBBBAAABBABABABBABBAABABBBABBBBABBABBBBABABBAAAAAABABBBBAABA...

output:

YES
1 4 5 6 7 8 10 12 13 20 21 22 23 24 25 28 30 31 34 35 40 44 45 47 52 54 56 58 59 62 63 64 65 68 69 70 72 73 74 75 78 80 81 82 84 87 89 92 93 95 97 100 102 103 109 110 113 114 115 116 121 124 126 127 132 135 139 142 145 146 147 152 153 155 159 160 161 169 170 171 178 179 181 182 183 184 185 186 1...

result:

ok good solution

Test #137:

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

input:

BBAAABABAABAAAAABBABABBABABABBAABABBBBAAABABAAABBBABAAAABBBBBBBBAAAABABBABAAAABAABABAAAABBBAABABBAAAABBAABBAAAAAABAABAAAAAAAABAAAAABAAABABAAABBABABBBBBBBAAABBBAABBBBBBABAABAAABBBAABAABBAAAAAABAAABBABBBABAAABBBABAAABBAABBAAAAABBBBBAAAAAABAABBAABABBBBBAAAABAAAAABBAAAAAAAABBBBAAABABAAABAABBBBBAABAAABAB...

output:

NO

result:

ok no solution

Test #138:

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

input:

BBBAAABBBBBBBABBAAABABABBBBAAABABABAAABBABAABBBBAAABBABBABBBBBBABABAAAAABBABBABBBBBAAAAAAABAABBBBBBABBBABBBAAABAABABBAAAABBBAABBAABAABBBBBAAABBABBABBAAAABBBBABBBAABABBBABBBBABBBAABBBAAAABABBAAABAABBAAAAAAABBABBBAABBBBAAABBABABABBBAAAABBBABABAABAABABAAABBBBAABAABABAABBBABBABBABBABBBAABBAAABABABAABBBA...

output:

YES
1 4 5 7 8 9 10 11 14 17 18 20 22 23 24 25 28 29 31 32 34 35 36 39 41 42 45 46 49 50 51 52 53 55 57 58 59 60 61 62 64 65 66 67 68 69 73 74 76 77 79 80 81 84 85 86 87 88 89 90 91 94 95 96 97 100 101 102 104 108 109 110 112 113 114 115 116 117 118 122 123 124 125 126 127 128 131 132 133 134 135 139...

result:

ok good solution

Test #139:

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

input:

BBBABAAABBABBBAABBAAABBABABBAABABBABBABBABBABBAABAABBAAAAABBABBAABAAAABAAABBAAABAAABAABBABBABBABBAABBAABABABAAAAABAAAAABBBABBABAABABAAAAAABAAAABAABAABBAAABBAABABBAABABBBABAABBBBAABAAAABBBBAABBABABABBBABBBAAABBAABAAABBBABBBABBBBAABAABBAABAABAABBAAABABBBBAABBBABBAABAABBBAAABABBAABAABABAABBAAABABABBBAB...

output:

YES
1 4 6 9 10 11 12 15 17 18 19 22 24 25 26 29 31 33 35 36 38 39 41 44 47 49 50 51 54 55 56 59 60 61 62 64 65 66 67 68 71 75 77 78 79 81 84 87 88 90 91 92 93 94 95 98 100 102 104 105 106 107 109 110 111 112 113 114 120 121 122 123 124 126 128 129 130 131 133 139 140 141 144 145 146 147 150 152 155 ...

result:

ok good solution

Test #140:

score: 0
Accepted
time: 11ms
memory: 3944kb

input:

AAABABAABBBAABBBABAAABBBAAAABAAAABAABBABBAABBAAAAABBABABAABBBABABBAABAAABAABBBAABBBBAABBBABBAAABAABABABBABABBABABBAABABBABBBBAAABBABBBAAAABAAAABABABAAABAABAABABAABBBAAAABBAAAABAAABABAABAABAAAAABABBBAAAAABABABBAABAABBBAABAABABAABAABAAAAAAAABAABABBBABBBBBABABABABABBBBABBABBBABBAAAABBABABAAABAABBBBBAAA...

output:

YES
1 2 3 5 6 9 12 14 15 16 17 19 22 23 25 26 29 30 31 34 35 37 39 40 42 44 46 47 48 51 53 54 55 56 59 62 64 65 67 68 69 70 71 72 73 76 77 79 81 82 83 85 87 90 91 92 93 94 95 97 99 100 101 102 103 104 106 108 109 110 111 113 114 115 116 117 118 119 120 122 123 126 127 129 131 132 133 135 136 137 138...

result:

ok good solution

Test #141:

score: 0
Accepted
time: 7ms
memory: 3924kb

input:

BAABABABBBABBABBAABBBBBBBAABBAAAABBAABAABABBAABAAAABBABAABBBBAABAAABBBBABABAABABAAABABABAAAAABBAAABBABAAABAABBAABBAAABABABAABAAABABBBBBBBBBABABBABBAAABABBAAAAABBABBBBAAABBBBBBBAABBBBBABABBBBABBBABBAAABBABBBABBBAAAABABBBABAABAABAABAABAABAABAABAABBAAAABBBABAABBAAABABAAABBBBABBBBBAAAABBBAAAABBABABAABAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102...

result:

ok good solution

Test #142:

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

input:

BBABBBAABBABAABABABABBABABAABBABBABAABBAAAAABAABABAABBBBABBBAAABBABABABBBAAAABAABBABBBBABAAABAABBABABAABAABBABAAABBBABBBAAAAAABBABAAABBBBAAABABBBAAAABBBAABAAAAABBBAABBABBBAABABAAAABBBAABBBBBABBBAABBABAAAABABBABBBBBABABABABABBBAAAAAABAAABABABABAABAAABABBABABAABBABAABAABAAABABAABBBABBBAAABABAAAAABAABA...

output:

NO

result:

ok no solution

Test #143:

score: 0
Accepted
time: 9ms
memory: 3972kb

input:

BABBBBBAAAAAABBBBAABABAABBABBAAAABAAAAAAABBABABAABABBBABBBABBBABAABBABBABABAAABAAABBBBABBBAABAAAAAABBAAAABBBAAABAABAABBAAAAAABABBAAAAAAAAABBBBBBBBBABBBAABBAAAAABABBABAAAABBBBBBBABBBAABBABBBAAAAABBAABBBAAABBAABAABBBAABBBAABABAABABABABAAAAABABBBBBABBAAAAABABAABBBBBBBABABAABABAAABAABBABAAAABBBAAAAAABBB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 37 38 39 40 42 44 46 48 49 50 52 53 54 56 57 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 87 88 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ...

result:

ok good solution

Test #144:

score: 0
Accepted
time: 6ms
memory: 3720kb

input:

BABAABABAAAAAAABBBBAABAAAAABABBABBBAABABBBBBBABBBAAAABBBBBABABABABAAAABBAAAABABBBBABBAABABBAABAABABBAAABAAAABBBBAABBAAABABABBAAABBABABBAAAAAAABABBABBABABBBBBBABABAABAAABABABABAABAAABBBAABBBBBBBABBAABABBAAAABBABAAAABBABAABABAABAABBBBBABAAABAABBABAABBABAAABAABABAAABBAAAAABAAABBABABBABABBABABBBBABBBBBB...

output:

NO

result:

ok no solution

Test #145:

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

input:

ABBAABBBABABBBAAABBBABBABABAABAAAABABBAAAAABBAABAABBBABABBAABAAABABAAABBBAAAAAABBBBABBBAAABABBBBAABABABBBBABBBBBABBBAAABBBBBBAABABBBAABBABABBAAAAABBBAAAAAABAABAABBABBBBABAABABAAABABABAABBBBBAABBBBBAAABAABBBAABAAAAABBBBBBBBBBAAABBAABABAABAAABAABAAAABBBAAAAAABBAABBABAABBAABBBAABBBAAAAAAABBBBABBBBBBABB...

output:

YES
2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 46 48 49 50 51 52 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 107 108 109 110 111 1...

result:

ok good solution

Test #146:

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

input:

ABAAAABAABBBBBBAAAAAAAABAAABAAABBAAAAAAAAAABABBBABBBAAAAABBBBAAAAABBAAABBBABAAAAAAABBAABBBABBBBABBABAABBABABABBABBAABBABBABABABAABABBABABBBBBABBBBABABAAABBBBABAABABBBBABBAABBAAAABAAABBBABAAABAABABBAAABBBAAABAABAAABAAABAAAABBAABABABAABBBABAABABBAAAABBABBBAABBAAAAABBAAABABABBAAAABABBBBAABABAAAAABABAAB...

output:

YES
1 3 7 8 10 11 12 13 16 17 18 19 24 25 28 29 30 32 34 35 36 37 38 39 40 44 46 47 49 50 51 53 54 55 56 58 59 62 63 67 69 72 75 76 77 78 79 80 84 86 87 88 89 91 92 93 94 96 97 98 100 103 104 105 106 107 108 110 112 113 114 115 116 119 120 122 123 125 127 130 132 134 135 136 137 142 147 148 150 154 ...

result:

ok good solution

Test #147:

score: 0
Accepted
time: 13ms
memory: 3836kb

input:

AAABBBBABBAAAABBAAABBABBAABAAAABAAABBBBBAABABBBBBABBABAAABBBBABBABAAAABAAAABAAABAABAAAAAAABAAAAAAABAABBAABABBABBABABAAAABABAAAAABAAAAAAABAABBBBAAABAABABABAABAABBABBABBBABABABBABABBAABBBAABAABBBABABBABBAAABABBABBBABBAAAABAAAABABBBAAABAABBBABBBABBAABAAAAAABABBBABABAAABABAAAABAABBAAAABBAAABBAABBABBBABA...

output:

YES
1 2 3 4 5 8 9 10 11 15 16 17 20 21 22 25 27 28 29 32 36 37 41 42 43 45 46 47 50 53 54 58 59 60 62 63 65 66 67 68 71 72 73 76 77 78 80 83 84 85 86 87 91 92 93 94 95 96 99 100 102 104 106 108 109 110 111 113 115 117 118 119 120 121 122 124 125 126 127 128 129 137 138 139 144 147 148 150 151 153 15...

result:

ok good solution

Test #148:

score: 0
Accepted
time: 14ms
memory: 4048kb

input:

BBBBBAAAABBABBBAABBBAAABBAAABBBAABAAAABBBAAABABBAAAAAAABBBAABBBAABBBBBBABABAABBBABABABAABBABAABBBAABABBBAABAAAAAABBAABABBAABBBABBBBBABBAAABABBBAABBAAABBABBAABBAABBABBAAAABBBBBBBABBBABAAAAAABBBBAABBAABAABBAAABAABAAABABABAABBBABBABABBAABABBBAABAABABBABBBAAABAABABBBABAAAAABBBBBAAABBBABAABAAAABABABBBBBA...

output:

YES
1 2 6 7 10 12 13 14 15 18 21 24 26 27 29 30 31 32 33 35 36 39 40 42 43 45 47 49 50 51 52 53 54 56 59 61 64 66 67 68 72 74 76 78 81 82 84 85 86 89 91 93 95 98 100 101 102 103 105 106 108 109 114 115 116 118 119 120 121 124 125 126 127 128 133 134 136 137 138 139 140 141 144 146 147 151 152 153 15...

result:

ok good solution

Test #149:

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

input:

ABAAAABBBAABBAAAAABBABABAABBBAAAAABBAABBABBAABAAAABABAABBBBBBABABAABABABBABBBAABBABAABBAABBBAABBABBAAABBAABAABABABBAAABAABABBBBBBAAAAABAAAAAABABAAABABABBBABBBBAABABBBBBABABABABABABBBBABBBBBBAAABAABAAAAABBBBAAABBBBABBABBABBAAABABAABBBAAAAABBBBBBBBBAABAABABBABBAAABBBAAAABABBBBBABBBBAABABABAAABBBABABAB...

output:

NO

result:

ok no solution

Test #150:

score: 0
Accepted
time: 6ms
memory: 3508kb

input:

ABABBABAAAAABABBBAAAAABBAAAABAABBBBABBAAAABBBAABBABBAABBAAAAAABBAABBAAAABABABBBBAAAABABABABBABBBBABBBAAABABBAAABABABBBABBBBBBBABBBBAAABBABAABAAABAABBABBBBABBBBABBBBAABBBBAAABBAAAAAABABABAAAAAAABBBBABAAABABBAABBAAABABAABAABBAABBAAAAAABBBABAAABBABAAAABBBBBBBBBAABBABBABABBAAABABAABABAABBBBBBBBBABAAAAAA...

output:

NO

result:

ok no solution

Test #151:

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

input:

BAABAABAABBBAABABBAAAAAABAABBBBBAABAABAABABABABBBBABABBBBABAABABABAABAAAAABBBAAAAABBABBABBBBAAABBBBABABAAAABAAAABBBABAABAABAAABABBABBBBABABAAAABAAAAAAABAAABBBABBBBBBABBAAAAAAAABAAABAABBABABBABBAABAABBABAAAABABBBBABAAABBAAABABBAABBAABAABBABBABAABBBABBABABABAAAABBABABBABAAAABBABAABABBBBAABABABAAAABAAA...

output:

NO

result:

ok no solution

Test #152:

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

input:

BABBABBABABAABBABABBBABABAABBABBABAABBBABBBBBBBBBABBABBAAAABAAAAAABABBABBBBAABBBAABAAAAABBBABBAAABAABAAAABBABBBBABBABAAABAAAAAAAAABBABAAABBBBABBBAAAABAABBBAAAABBAABABBABAABAAABBAAABBBAABBAABABBABBABBABBBAAABABABAAAABBBAABBBAAABBBABBBBABBABAAAABBAAABBBBBBAAABABBBABBAABBBAAABBAABABABBBABBBBAABBBABABBB...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 95 96 97 98 99 101 102 103 104 105 106 107 108 109 11...

result:

ok good solution

Test #153:

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

input:

AAABBABAABAABBAABAABABAABBBABAAABBAABAAABBBBBBABBBBBABABBBABABBAAAAAAAAABBBBAABAAABBBBBBBBBAAABAAAABAABBBBAAAAABBBAABAAABBBAAABBBBBABBAABAAAAAAABBAABAABAABAAABAAABBABABAABBBBAABAABBBAABAABABBAABAABAAABBBBABBBBBBABAAAAAAABBABBBAABABBAAAAAAABBBBBBABABAABAABBAABAAABBABBABABBABABABAAAAABAABABBAABAABBAAA...

output:

YES
1 2 3 6 7 8 10 13 15 16 18 20 21 22 23 24 28 29 33 35 36 37 41 47 48 49 50 51 52 53 54 56 59 61 64 65 73 74 75 77 78 80 81 83 84 85 86 87 92 93 94 96 97 100 101 103 104 107 108 109 112 115 116 117 121 124 125 127 128 129 132 135 137 138 139 145 147 149 152 153 154 156 157 158 159 163 165 167 168...

result:

ok good solution

Test #154:

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

input:

AAABAAAABABBBABBBABBAAABBABAABBAAABBAAABBABAABBBABBBBBBBBAAABBBAABBBABABAABABAAABBBAAAAABBABAAABBABBBABAAABAAABABBABABBBAAABABAABABAAABABAAAABBAABBABAABBBAABBAABBBBAAABABABAABBBAABBBBAABBBBBABBABBAABBABABAABAABABBBBAAABBAABBABAAAAABBAABAABBBAABAABABAAABBABBABAAAABABABABBABBBBBABBBAABABAAABAABABBBAAB...

output:

YES
1 4 5 6 7 9 11 14 15 18 19 21 24 26 27 28 29 30 31 35 37 40 41 43 46 47 48 49 58 61 64 66 69 71 73 75 76 77 81 84 85 86 89 90 91 92 93 96 97 98 102 103 104 107 108 111 113 115 116 117 118 121 122 123 124 125 126 129 130 132 133 135 137 138 139 142 144 145 146 148 149 152 155 157 158 159 161 162 ...

result:

ok good solution

Test #155:

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

input:

ABBBABABAAABBAABABBAAABAAAAABABBBBBABAAABBBBBBABAABAAAAABBABAAAABBBBBBABBBAAABABBAAAABAABBABBABABBAAABAAAAAABBBBAAABBBABBBAABABABBABAAABBAAAABBABAABBAAABABBBABAABAAAAAABBABBBABBABBAAABABABAAABBAAAAAABBABABAABBAAAABAABAABABBAAAABBBABBBABAABBBBBBBBBBABABBBBABBBABABABBBBBABBBBABBAAAAAABBABBBBBBAABBAABB...

output:

YES
2 3 4 6 7 9 10 11 14 15 17 20 21 23 29 31 36 37 41 47 48 51 52 53 57 58 60 61 62 65 66 71 72 75 76 78 79 82 83 86 89 90 91 92 94 95 96 99 102 103 104 109 113 116 119 123 125 127 128 131 133 136 137 138 139 142 144 145 146 148 149 153 154 158 159 160 161 162 169 170 172 175 176 177 179 181 184 18...

result:

ok good solution

Test #156:

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

input:

AABAABBAAAABBBABBABBBAABBBBBAABBBBAAABAABABBAABBBBBAAAABBAAAABBABBAABBABABBBBBABABBABBABABBBBBBBABBAABBBBABBAABABAABAABAABAAAAABBBBAAAAAAAAABAAAAAAAABBAAAAAABAABBAABBBAABAABBBABBBBABBABABAABBAAABABAABBAABBAAABAABBABBABAAABBBBAABBBBBBAABABAAAAABABABAABBAABBAABABAABABABBBBBABAAAAABAABBABBBBAABAABAABAA...

output:

NO

result:

ok no solution

Test #157:

score: 0
Accepted
time: 18ms
memory: 4192kb

input:

ABABAAABABAABBBABBABBAABBABBAABABAABABAABAABBBAAAAABBABAAAABAAAABBAABBABBBAABBAAAABAABBABBABAAAAABBBBBBABABAAAABBABABAAABAABABABBAABBAAAABBAAABABBAAABAABAABAABBBAABBBABBABBBABBBBABBAAABBBABAABABBABBAABBBBBAABBBAAAAABBBBBBBBAAABBBBAAAAABBAABAAABAAAABBBBBBBBBAAABBBBBABBABBABBABBAABAAABAABBABBBBABBABBA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102...

result:

ok good solution

Test #158:

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

input:

ABABAAAABBABABAAAABBBABAABAABBAABBAAABBABBAABBAAABBBAAAAAABBBABAAAABABABAAABBABBBABAABBBBBABBBBBBABABBBAABBABAAABABBABAAAABABBAABAAAABBABBBBBABBBBABAABAABBABBAAABBBBABBBABAABBABBBBBBBBABABABBABBABBBABBABAAAABABABBBBABBBAABAABBBAABABABABAAAAABABAABBBABABABBBAAAABBAAAAABBABBBBABBABBBBBBBBBABAABABBBBAA...

output:

YES
1 3 4 9 11 12 14 15 19 22 24 26 27 29 31 32 35 36 38 40 41 43 44 47 50 53 54 55 59 62 63 68 70 71 73 76 77 79 82 83 86 87 88 89 90 92 93 98 100 101 102 104 106 108 110 111 113 115 116 118 119 123 124 125 127 129 130 134 135 137 138 139 140 141 143 144 145 147 148 149 150 151 152 154 155 156 159 ...

result:

ok good solution

Test #159:

score: 0
Accepted
time: 6ms
memory: 3532kb

input:

AAAABABBBBAABABAAAABAABBBBABBBABBABABABABBBABBBABBABBAAABBBAABBBABAAABABABBAAAAAAAABAAABBBBAAAAAAAABABAAAABAABBABAAABBAAABABAABBBABBBBABABBBABABAABBBBBBBBAAABBAAABBAABABBAABAAABBABBABAABAABBAAABBBBAABABBBBABBAAAAABAABABBBBBAAAABABBABBAABAABBBAAAABBBABBAAAABBBAABBBBBABBBAAAAABAAAAABAABAABBBAAAABBABAB...

output:

YES
1 2 3 4 5 6 7 11 12 14 15 16 20 23 27 28 29 30 31 32 34 35 37 38 39 41 44 45 46 47 49 50 52 54 57 60 62 65 67 70 71 72 73 76 77 78 79 80 84 85 88 89 92 93 94 95 96 97 98 100 101 103 104 107 108 110 112 113 114 115 117 118 119 120 122 124 125 126 127 128 129 131 132 133 135 136 138 141 142 143 14...

result:

ok good solution

Test #160:

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

input:

BBAAABBBABBBBAAAABAAABBBABBABABBABBABAABAABBAABAABBBBBBBBAAABABAABABAABAABBBBBAAABBBAABBABBABABBAABAABAAABBABAAAABABAABABAABAAAABAAABBABBBABBBABBBBABBBBAAAAAAAABAABABAABBABBAAABBBBBABBBABABAAABBAAAAABBABAABABBBAAAABAABAAAABAABAABBAAAAABBBBBABABABBAAAAAAABAAABAAAAABBABAAAAAAABBBAABBAAAABAAAAAABAABABA...

output:

YES
1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 103 104 105 1...

result:

ok good solution

Test #161:

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

input:

ABBBAAAABBAAAAABBBABBBBBABBBBAABBABABAAAABAABBBBBBABABAABBBBBBBAABAAABAAAABBABABABBBABBBABBABABABABABABAAAABBAABABBABBBAAAABBAAAABBAAAAAAABBAAAAABBBBABBBABBABBBBBAABAAAAAABABBABABBAABAABAABABABAABAABABABABBBBBBAABAAAABABBABABBABABBAAAABABAAAABABBBAABAAABBABAAABAABABABBABBBBAAABBBABAABABBAAABABBAABAB...

output:

NO

result:

ok no solution

Test #162:

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

input:

AABAABBABABBBAABBABAABABBBBBBAABABBABBBBBBBAABBBAAAABBAABABAABABAAAABBBAABABABABBBBBBBBAAAAABBAAABBBBBAABBBAAAABABBAABAAAAAABABBAABABBBBBBBAABAAABAABBABBBAABABBABBAABBBAAABAAAAAABAAAAAAAABAABABABBBBABAABAAABAABBAABABBAABBBBBABAAABBBBBAAABBBABBABBAABBAABBBBBAAABABAABBBAABABBABAAAABBBBBAABABAABABAABBA...

output:

NO

result:

ok no solution

Test #163:

score: 0
Accepted
time: 6ms
memory: 3724kb

input:

ABBAABABAAABBAAAABABAAABAAAAAAABAABABAAAAAABABBAAAABAABAABAAAABBBBAAAABBAAABABBABBBABBBABABBAABAABBAAAABBBAAAAABAABAAAABBBAABBABBABBBBBBAABBABABABAAAABABBBBBAABBBBBBBAAAAAABABBBBBBBBABBABBAABBBBBBAABABBBBBBBBBBABABBBBAABBBABABABBBBBBBABBABBABBBAAABAAABAAAABAAABAABBBAABABABABBBBAABABBBABAABABAAAABABA...

output:

YES
1 4 5 6 7 9 12 14 15 16 17 19 21 22 24 25 26 27 28 32 33 34 36 38 39 40 41 42 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 63 64 65 67 68 69 71 72 73 74 76 78 79 81 82 83 85 86 88 89 91 93 95 96 98 99 100 101 104 105 107 108 109 112 113 114 115 116 117 120 123 124 125 127 128 129 130 131 132 ...

result:

ok good solution

Test #164:

score: 0
Accepted
time: 13ms
memory: 4160kb

input:

BBAABABAAAAABBAAAABABAAAAAAAABAAABBABAABBBABBABABBBABABBABBAABBBABBABBBBBABABBAAABAABABBAABAAABBBABBAABAAABABBBABBBBAABBAABBBBBABBBBABBBAABBABABABABAAABBAABABBABAABABBAAABABAAABABBBBAAAAAABABAABBBBABBABAAABBAABBABAAAAABABBABBBAAABBBABBBAAABBBAABAAABBABAABBABAAABBBBBBBBBABAAABAAAABBAAABAABBBBBAABABAB...

output:

YES
1 2 3 4 6 7 8 9 10 11 12 13 15 16 19 20 21 22 23 24 25 26 27 28 29 31 34 35 36 38 40 43 46 47 49 52 53 54 55 56 57 60 62 65 66 67 69 70 71 74 75 76 77 78 79 82 83 84 85 86 87 88 89 90 91 92 95 96 97 98 99 101 102 103 104 105 107 109 110 111 112 117 119 121 122 123 124 125 126 128 129 130 133 134...

result:

ok good solution

Test #165:

score: 0
Accepted
time: 9ms
memory: 3664kb

input:

AAABBABBABAAAAABABAAAABBAABAAABBBBAAAAAABABBAAABBBBBBBBABBABBABBBAAAAABABAAABAABBBBAABBABABBAABBBBAABBAABBAABBABAAABBBABBAABBABBBABBBBAAABBABBAABAABABABBBBBBBAAABBAAABABABBBBAAABBAAAAABAABBBBAAABABBABAABBBABABABBABAAAABABAABBBABBABBBBAABBABAAAAABABABAABABAABBABBBBAAABABBBBBBAABAAAAAAAABABAABABBBBBAB...

output:

YES
1 4 5 6 9 11 16 17 19 23 24 25 26 27 31 32 35 36 37 41 42 43 44 48 49 50 56 57 59 62 63 66 71 72 73 74 77 80 84 86 88 89 90 91 92 95 99 101 102 105 107 108 109 111 113 116 117 119 120 121 124 125 127 130 135 138 140 141 142 143 144 146 147 149 150 151 152 159 160 161 162 164 167 169 171 175 178 ...

result:

ok good solution

Test #166:

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

input:

BBABABABAAAAABABBBBAAABBBAABABBABBBBAAABAAABBAABBAABAABBAABAABBAABABBBAABABBABABABBAAAAAAABBAABBABBAAABAABAABBABBBABBABAABBBABAAABABBBBAAABBBABAAABBBBABBABABBAABBBAAAAABBABBAABBABBBABBABBBBBAAABABAAAABABAABABAAAABBBBAABBAAABABBAABBAABABBBABBBAABAABBBABABBABBBAAABBBBABBBBBAAAABAAABBAABBAAAAAABABBABBA...

output:

YES
1 3 4 5 6 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 37 38 40 41 42 44 45 46 48 49 50 52 53 54 55 56 57 58 59 60 61 62 64 65 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 93 95 96 97 98 99 100 101 102 103 104 105 106 107 109 110 111 112 113...

result:

ok good solution

Test #167:

score: 0
Accepted
time: 11ms
memory: 3808kb

input:

ABABBBABAABABBBAAABBABBBABBAAABAAAAABABABABBBABAAABBBBABAAABBAAAABBABBABBBBAABBABAABBABBABBBABAAAAAAAABAABABAABABBBABABABBBBAAAAABBABBBABBBAAAAAABABBAAAABBAABBBBABAAABAABAAAABAABABBABBABBBBAAABAABBABBBBABABBABBAABBABABAABABABAAABABABABABABBABABBBBABAAABABAABABBBBBBABABABBAAABAAABAAABABBAABAAAABAABAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 68 69 70 71 72 73 74 76 78 79 80 81 82 83 84 86 87 88 89 90 91 93 94 95 96 97 98 99 100 103 104 105 106 107 108 109 110...

result:

ok good solution

Test #168:

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

input:

BAABAAAABBBBBBBBBABBABAAABAAAAABBABBBBAABABBBABBBBBBBABBABAAABAABBABBAAABBABABBBABABAABBBBBAAAAABABBAABBABBBBBABBBBBBBBBAAAABBABBBBBAABBBAABAABBABBABBBABABBBBABAAAABBBBAAAAAABBAABAABAABABBBAAAAABAABAAAAAAABBAABAAABAABABAABBBBBABBAAABBBAAAABABBBBBAAAABBBAABBABAABAAAAAABBBBBAAAABAAAAAABBABBABBABBBBBBA...

output:

YES
1 2 4 5 6 7 9 10 11 12 13 18 19 21 23 24 25 26 27 28 29 32 33 34 35 36 39 41 43 44 46 47 48 49 54 57 58 59 60 61 62 65 67 68 70 73 74 76 77 81 83 85 87 88 89 92 93 94 95 96 97 98 99 101 102 103 104 106 107 108 109 110 112 113 114 115 121 122 123 124 125 126 127 128 129 130 131 133 135 138 139 14...

result:

ok good solution

Test #169:

score: 0
Accepted
time: 14ms
memory: 4124kb

input:

BAABAAAAABBBBABAAABBABBABAAAABBAABBBBAABABBAABBAABABABAABAABBABABBBBBBABABBBBBABBAAAABBAAAAABABBBBBAAABBABABAABAABAABABAAABABBABABAABBAABBABBAABBBAABBBAABABBBAABBBBBBABBABBBAABBBAAABBBBAAABBBABABBAAAABAAABBBBABBABBBAAAAABABAAABAABABBAAABAABABBBAABAABBAAABBBABABABABABAAAAAAAABBBBABABBBBAAAABAABAABAAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105...

result:

ok good solution

Test #170:

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

input:

AAABABABBAABBBBBBBAAABBABABAAABABAABAABAAAAABBABBBBABBBAABAABABBAAAAABABABAAABAAAAABBBAABAAAABABABBBAABBAAAAAAAABBABBAABBBBBBBABABAABABBBABAABBAABBBBBBAAAABAAABAAABBAABBBABAAAABBBAABBBABABBBAABBAABBAAABBBABBBAABBAAABBAABAAAAABAABBBAAAAABBAAAAAAABABBBBBBAABBBBABAABBBBAAAABABABBAABBABABBBAABBABABBBAAA...

output:

YES
1 2 3 4 6 8 9 12 13 14 15 19 20 21 22 23 24 25 26 28 31 33 36 39 45 46 48 52 56 58 61 62 65 70 71 72 73 75 78 79 80 84 87 89 90 91 92 93 95 96 98 100 103 104 113 115 118 119 126 128 130 131 133 135 137 139 140 141 143 146 151 155 157 160 161 164 166 168 171 173 176 180 182 185 186 188 190 193 19...

result:

ok good solution

Test #171:

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

input:

ABAAAABABBABBBABABBABAAAAABAABABBBABBBBAAABBBBAAABBBBABBBAAABABBBAAABABABBBBBBAAAAABAABBAAAABAAAAABBABBBAAAAAABBAABAABABAABBBAABBABBAAABBBABAAABABABBABAABBBAAAABAAAABBBABAABBABBABBABABBAAAABBAABABBBAAABBAABABBBABBBAABABBBABAAABBBABBAABAAABABBBBAABAABABAAABAAABAABAAAABABBABBBBBBABBAABBBAAAAABBAAABBAA...

output:

NO

result:

ok no solution

Test #172:

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

input:

ABBBAABAAAABBBABAAAABBAABABABBABBBBBABABABAABBBAABBAAAABBAAAAAABBABBABBBBABBBBAAABAABBBBBBAABABBBBAAABAAAABAABBAAAAABBAABABABBBAAABBABBABAABBABABBBBBABAABBBBBABBBABABABAABBABBABAAAAABAABABABAAAAABBABBABAABBAABBBABABBAAAAAABABABBBAABBAABAAABABAAAAAAABBBAABABBBAABBBBBBBAABBABAAAAABABBABAAABBAABAAABAAA...

output:

NO

result:

ok no solution

Test #173:

score: 0
Accepted
time: 16ms
memory: 4336kb

input:

ABABBAAABAABBAAAABABBABBAAAABABBBABBABBBBBBABBBAAAAAAAABABBAABBBBABBAABAAAABAABBABBAABABAAABBBBBBAAAABAAAABABABBAABBAAABBBBAABBAAABBAAABABBAAABABAAABBBAAAAABABBABBABAAAABABAABBAAAABBBBABBABABABABBAABABBAAAABABABAAABABBABABAABBBAABBABAABBABBAABBABBABABABABBBBABABAABABBAABABAABBBAABBAABABBBBBAABABBAAB...

output:

YES
1 3 4 5 6 7 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 29 30 31 32 34 35 36 37 38 39 40 41 44 45 46 48 49 50 51 52 53 54 56 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 ...

result:

ok good solution

Test #174:

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

input:

BBABAABABBBBAAAAAABBABBABBAABBBAABABABBBBAAAAABBBAAAAABABABAABBBAABBABBBABBBBBAAAABBBAAAABABABBBBBABAABABAAABAAABBAABBAABABBBAAABBBBAAAAAABBBBBBBAAAABAAAABBAABAAAAAABAABBBBABABBAABBBBBABAAABBAAABAABABABABBBBBAABAAABBABBBAABBBBBABAABAABBABBBBBBBBAABAAAAAAAABBBBBBABBBBBABBABABAABBAAABBBAABABBAABBBAAAB...

output:

YES
1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 74 75 76 77 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 103 104 105 106 107...

result:

ok good solution

Test #175:

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

input:

ABAABBBABABBAAABAABABBBBABBBAABBABAAABBABBAABBBBABABBAAABAAABBABBBBABAABBAABAAAABBAABAAAAAAABBABAABBBBABBBBAABBAABAABBBABABBABBAAAABAABABABBBABAABABBBBAAAAAAABBABBAABBABABBAABABBABABBABBBBBAAABBABBAAAAABBABBABBBABABBABAABAABABBBABAAAABBBABBBBAAABBAAAABBBABBAAABAAAABABAABABBABBBAABAAAAABABBAABBBBBABA...

output:

YES
1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 38 39 41 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 86 87 88 89 90 91 93 94 95 97 98 99 100 101 103 104 105 106 107 108 109 110 1...

result:

ok good solution

Test #176:

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

input:

BBBABAABABAAAABBBBBAABABBBBBABAABAABBAAABBABAABBAABABABAAAAAABABBABBABBBBABBBBBBBABAABBBABABAABBAAABAAAABBAAAABBAAAAAABAAABBAABABAAAAAABBBBBBBABABBBABABBBBBABAAABAABABBBBBABAAABBAAABAAABABABAABBBBBAAAAAABBAABBAABABAAAAABAABABAAABABBAAABBBABAABABBABAAAAAABBAAAAABBAABABAAABAAAAABABBBABBAABBAAAAAABAAAA...

output:

NO

result:

ok no solution

Test #177:

score: 0
Accepted
time: 7ms
memory: 3876kb

input:

BBBBBAAAABBAABAABAAAABABBAABAAAABBBBBABBAAABAAAAAAABABABAAABBBBAABBAAABBBBBBABBBAAAAAABABAAAAABABAABBAABBABBBBBBABABABABABABBABAAAABBBABABBABAAAABBBBBABABBABBBBBBABAAAAAAAABBAABABBABBAABBABBBBBABAABBBAABAAAABBBAABBBAABAABBBAAAAABAABBBAABBBBBBAAAAABBBAABBAAABBBABABAABAABBABAAAABAABBBABAAABABBBABABBAA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 26 27 28 29 30 31 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109...

result:

ok good solution

Test #178:

score: 0
Accepted
time: 8ms
memory: 3588kb

input:

AAABAABBAAABBABAABABBAABBBAAABAAABBBBABAABBBAAAABABABAAAABAAAAABABBAABAAAABBBABAAAAABBAABAAAAABAABABABBABBAAAAABAABABBBBBAABAABBBAABBAAAABAABBAAAAAAABAAABAAAABBBBABBABAABBAABABBBAABABAAAABABBBABABBBABBBBBABAABBAAABAAABAABBABAABBBBABABABABBAABAABAAABBAAAAABAAABABAAAABBABBAAAAABBBABBABAABABBAAABBBAAAB...

output:

YES
1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...

result:

ok good solution

Test #179:

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

input:

BABAABAABABBBAAABBAAAABBABAABABABBBABBABABABABBBABBAABBBABBBBAAAABBBBBABBABBBBABBABBABAAABABABABAAABAAABBBBABABABBABABAAABABABABAAAABBBBAAABAAABAAAABBAABBABBAAABBAAAAAABAAAABABBBBAAABAAAAAAAAAABBAAAAAAABABABBBBAABABABAABBBBBABAABAAABBBABABBABBABBBBBAABBBBABAABBAAAAABABBABBAABAABABABAAAAABABBBBAABBAA...

output:

NO

result:

ok no solution

Test #180:

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

input:

BABBAABBAABAAAABABABAAABBAAAABBABAAAAAABBABBABAABBBBABABBBBBAABBBBBABBBABABBBBBAAAABBABABBBABAABBAAAAABAABBBAAAABBBBBAAABABABBBBBAAABAABABAABBAABBAABBBABABBBBABBBAAAABAAABABAABBABABAABBBBBBAAABBBABBABBABAAABBABABAAABAABABBBBABAAABBAABBAABAABAABABBBBABAABBABABABBABBABABBBBAAAABAABBABBBABABBBABABBBBBA...

output:

NO

result:

ok no solution

Test #181:

score: 0
Accepted
time: 12ms
memory: 4064kb

input:

AABBBAAAAABABBABABAAABBABBBBBAABBBAAAABBAABBBABABBBAAAAABABBBBAAABBBAABBBBBAABABAAAABABBAAABABBBAABABABBBAAAAAABBABBAABBABAABBABABAAAABAAABAABABBBBAAAABBAABABAAABABBBAABBBBAAAABBBAAABABABBABABABAABBABBABBABBAAABABBABABABBBABBBAABBABABBBAABAAABABAAABAAAABBAABABABBABBABAAABBBABABBBBBBABBBAAABBBABABAAA...

output:

YES
1 3 4 5 6 7 8 9 11 13 14 16 17 18 19 20 22 23 25 26 27 30 32 33 35 36 37 39 41 42 43 46 47 49 50 52 53 54 55 57 58 59 60 61 63 64 66 67 68 69 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 89 92 94 97 99 101 103 104 105 106 107 108 109 110 111 112 114 115 116 117 118 119 120 122 123 124 125 126...

result:

ok good solution

Test #182:

score: 0
Accepted
time: 8ms
memory: 3860kb

input:

AAABBBBBABBABBABBABABBBBAAAAABBABAAAABBAAAAAAAABAABBBAABAAAABAABAABBAABAABBAABAAAABAABAAABABBABAAAABBAAAAAABAABABABBBABBABBBBAAABABBBABBBABBABBAAABAAABAAABBABAABBABAAABBABAAAABBABBABABAAABBAAABAABABAABBBABBBBBABAABBBBBAABAAABAABABAABAAAABAAABABBBBBABBBBABBBBABBAAABABBBBBBAABBABAABAABABAAABBAABABABBB...

output:

NO

result:

ok no solution

Test #183:

score: 0
Accepted
time: 11ms
memory: 3736kb

input:

BBBABBBBAABAABABBBBAAAAABBAAAABBABBAAABBBABAAABBABBABBBBBBABABABBBBBABBBBAABAAAABBBBAAABBBBABABAABBAAAABBBABABABAABBAABBBBBABABBBBBABBBAABBBAABBBABABBBABBBBBAAAABABBABBAABBAABBBBAAABAABBABBAABBBBAAAABAAABBBAABBBBBAABABABBABBABBBAAAAABABBBBBAABAAAAABABAABAABAAAABBABBBBAABBABBBAABBBAABAAABAABBBBABBBBA...

output:

YES
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 81 82 83 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ...

result:

ok good solution

Test #184:

score: 0
Accepted
time: 15ms
memory: 3976kb

input:

BAAABABBBBBAABAABABBBBBABBAABBAABBABBABAABAABAABBBAAABBAABBBAAAABBBAABBBBAABABBAABBABBABBBAABAAAABAAAAAABBBAABABBBBABABBBBBAABAABABBAAABBBBBAABBABBAABBBAABABABBAAABAAAAAAABBBBAABAAABAABAABBBAAAAABABBBBABBABABABAABBAAAABABABAABAABBABABBBAAAAABABABBBAAABABBAABBBAAABAABABABABABAABABBBBBBAAABAAABABBBBBB...

output:

YES
2 5 7 8 12 13 14 15 17 19 20 24 25 26 29 31 33 35 38 39 42 43 44 45 46 48 51 54 55 56 57 61 65 66 68 69 70 71 74 75 76 78 80 82 83 84 87 88 89 91 92 94 95 98 99 100 105 106 107 110 112 113 116 117 119 124 125 126 129 131 133 136 137 138 141 142 145 148 149 150 151 153 154 156 158 159 160 161 162...

result:

ok good solution

Test #185:

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

input:

AAAAAAABABBABABAAABBAAABAABBBBBBBAABABBABBABBBBBBABBBAABBABAAAABAAABABBBABAAABABAAABBAABAAABAABABBBBABAAABAABAABABBBBBBABAAABAAABBABAAAAABABBABABBAABBABBBBBABBBAABBABABBBBAAABBBBBABBAABABAABBABBABABBABAABABBABBAABAABAABABBABABABABBABBAABBABBBAAABBABBABBABBBBBBBABBAAAAAABBBAABBABBBBABAABAABBBBBBBBBBA...

output:

NO

result:

ok no solution

Test #186:

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

input:

AABBAAAAABBAABBABBABABBBABBBBAAABAAAABAAABABAABAABBABBBBBAAABBAAAAAABABABAAABABBBABABABBABAABBABAABABBABBABBBBAAABBAAABBAAAAABAAAAAABBBBBAAABBAABBABBBAAAABBBBABBAAAAABBBBABBBBABAABBBABAABBABAABBBBAAABBABBABBBBABABBBABBAABBABABBBBBAAABAABAABBBAABABBAABBBBAAABABABBAABABABABBAAAAABBAABABABBABAABBBAAAAA...

output:

NO

result:

ok no solution

Test #187:

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

input:

BABBABBABBBBBABBAAABBABBBBBBBAAABABAAABBABBBBBBAABBBAABBBBAAAABAAAABBAABABBAABAABBAAAABABAAAABABABAAABBBAABBBBBBABBABAAABAABABAABABBBAABABAABAABBBAAAAABABABABBBABABABABABABBBBBAABABBBBAABBBABABBAAABAAABBABABBBAABBABABABABBBABAAAABABABAABABAABABBABBABAABBBAAABBAAAABBBAAAABBBAAAABABBABBBBABBAAABAAAABB...

output:

NO

result:

ok no solution

Test #188:

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

input:

ABAABAAABAAAAABAABABBBBBBABBAAAABBAAAAAAABABABAABBAABAABBBBBABAABABAAABAABBBABBBBBBABBAAABABBBBABBABBABBABAAAABBBABABBAABAABBBAAAAAABAABBABBAABBBBAAAAAAABABABABBBBABBBBBBBABBBBAABAAABABAABABBBBBAAAAAABAAABAAABABBBABABAAABABAAABAAAAAABAABAAABBAAABAAABBABAABAABABBBBAAAAAAABABABBABAAABAAAAABBABABBBBBAA...

output:

NO

result:

ok no solution

Test #189:

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

input:

BBABAAABBAAAABABABBABAAAAABABABABABAABABAABBABBBAAAAABBBBAABABABBABABBBBAABBBAABABBAABABBABBBAABAAABABAAAABBBBAABAABBABABBBBAAABBBAAAABBBAAAAABAAAABABBABAAABAABBBAAABABAAAAAABABABBABAABAAAABAABAAAABAABAAAAABAAABABBBAAAAABAAAAAAAABBAAAAABAAABBAAAABABABAAABAABAAAAABBBAAAABBBBAAAABABBBBBBAAAABBBABBAABA...

output:

NO

result:

ok no solution

Test #190:

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

input:

ABBBAAAAAABABBBBAAAABBAAAAAAAABBAAABABBAAABBAAABABABAABAABABABBABAAABAAABABAABBABBAABBABABABABBBAAAABBABABABBABBBAABAABBABBABBABAABAAAAAABBAABBBBABABBABAAABAABBBBBBBAAABBBAAAAAABBABABBAABBBAABBBBAABBAAABABABABBABBABBAABAABAABBAAABABAABBBABBABAABBABBBBBBABAABBAAAABBBBABABBBBABBBABABABAABBBBBBAABABAAA...

output:

NO

result:

ok no solution

Test #191:

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

input:

ABBBAABAAABBAABBABBAAAABBAAAABBABBBABAABBAABBBAABBAAAABAABAABBBBABBBABBBABBBBBBABBBAABBABABBABAAAAAABAABBABBBAABAABBAAABABBBABABBAABBAAAABABABBBBAAABAAABBAAAAAABBABAAABAAABBAAAAABABABBAAABBBBBABBABBABBBABBBBAAAABBAABABBABBAAAAAABBBBAAABAAABBBABAAAAABABBBBAAABAABBAAABABBAAABABBABAABAAAABABBABBAAAABAA...

output:

NO

result:

ok no solution

Test #192:

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

input:

AABBBABBBBAABABABBAABAABABBBABABBBBBBBABBABAAABBABABAABAABABAAAAABAAABBABABABBBAAAAABBABAAABAABAAABBAAABAABAAABAAABBBBBBAAABABBAAAABAABAABBBBAAABBAABBAAABABBBAABABBABBABAAAABBABBBBABAAAABBAAABBAABAAAAABBAABBBBABAABBBBAAAAAABBBABAAAABABBABABBBAAABABAAABBAAAABBAABABBBAAABAABBBBBABBAABABAABBBBBAABBAAAB...

output:

NO

result:

ok no solution

Test #193:

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

input:

AABABBABAABBBBBBABAAAABAABABAAABABBBBBBBAABABBBAAABBBABBBBABBAAABAAABABBBBABABBABBABBBBBAAAABBAAABAAAABAAAAABAAABBBAAABBBBBABABBABBBBAAABAAABBBABBBABBBBABBBBBBAAAABBABBAAABAABABBAABBAAABAABABAAABBABBBBAABABAABBAAABABBBBAAAABBAAAABAAAAAAAABAAAAAAAAAAABABBBABAABAAABAAAAABAAABBBAAABBABBAABBBABAAABBBABA...

output:

NO

result:

ok no solution

Test #194:

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

input:

ABBABBAABBBABBAAAAAABBBBABBAABBBAAABABAABBABBABBBABBBABAABAAABAABBABAABABAABBABAABBBBAAAABABABBAABBABBBBAAABABABBBAABABBAAAAAAABBABABAAABAAAABAABBBBABAAAABABAABABABBBAABABAABAAAAAABAABABAABBABAABABABABABABBABABABBBAABBBBBAAAAAABBABBBABAAAAAABABBABBABAABAAABABAABABABAABBBAABBABBBBBABBABBAABABBABAAABA...

output:

NO

result:

ok no solution

Test #195:

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

input:

BAABAAABAABABAAABBBBABBAABABABAABBBABAABBBABABBBBABBAAABBABAAAAAAAAAAABAABAAAABAABBBAABABBBBABAAABBAAAABBAABAAAABAAABABAABBABBBBABBABAAABAAABAAAAABBBBBAABBBAABABBBBABAAAABABABBABABBBABBBBABABBBAAABAAAAABAAAABABBABABBAABBABBABAABBAABBBABABBBBBBBABBAAABBBBBAABBABAAABAABAABBAABBBBABBBABABBBAABAABAABAAB...

output:

NO

result:

ok no solution

Test #196:

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

input:

ABAABBABAABBBBAAAAAAAABAABBBBAABAAABAAABBAABBAAAABBBBBAAAABAAABBBAAABBAAAAAABBBBBBABABABBABBABABBBBAAAAABBBBBBABBAABBAAABBAABAAABBABABBABAABBAAABBBAABABBBAAAABABAAABBAAABBABBABBBBABAABBABBABBAABAABAABABBAABBBBBAABABAABBBBBABABBAAABBBABAAABAAAAABBABBABBBBBBBAAABAAABAABABAABBABAAAAABBBABBABBBABBABABBB...

output:

NO

result:

ok no solution

Test #197:

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

input:

BBAABAABAABBBBBBAAAAAAABABAAABAABAABAAAABBBBBABAAAABBBAABABAABBAABAABAAABBABBBAAAABAAABABABABAAAAAAAAAABBBBAAAABBBABBAABAABAABAABAABABAABBAAABAAAAAAAAABBBABAABABABAAAAAAABAABABABBAAABBAABABBBBBABBBABBAABBABABBAABBBBBABBBBBABBBAABABBABAABABBAABBAABBBAAABBBAAABBABBBABBABAAAABBBBBAAAABAAABBAABABBABBBBA...

output:

NO

result:

ok no solution

Test #198:

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

input:

AABBABAAABBBBBAAABBABBBAABAAAAAAAABBABAAABAABBAAAABBAAAAAAAAAABAABABBBAAAAABAAAABBABAABBABAABBABBBBBBBBABABAAABAAAABBAABAAABAAAAAAAABABBAAABBABAAABABBBBABBBAAAAAAABABABAAAABAAAAAABBAABBBABAABAAABAAAAABABBBABBABAABAABBBBBAAAAAABAABBBBBBBAABAABBAAABABAAABAABABBAABBBAABBBBAABABBBABAABBAABBBBAABAAAAAABA...

output:

NO

result:

ok no solution

Test #199:

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

input:

BBBAAABBAABAABBBAABBBBBABBABABBAAABBAABBABBAABBBBBABBBABBBABBBBBBABAABBABABBAAAABABAABBBBAABABAAAABAABABBAAAAABBABAAABABAABAABBBBBAABABBAAABBBABAABBABBAAABABBAABAABABBBABAAAABAABBABBBBABABAABAAAABAABAABBABABBAABBAAABBBBBABAABBAABAABBABABABBAAAAABAAAABBAABBAAABAABBABBBAAAABABBABABABBAAAABBBAAABBAABBA...

output:

NO

result:

ok no solution

Test #200:

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

input:

BAABBAAABBAAABBBAABABAAABAABABBBAABBBBBABBABAABABBBBAAABBAAAAABABBBAAAAABABABBAAABBAAAABBAABABBABAABBBAAABABABBABABBABAAAAABAAAAAAABAABAABAABBBAAAABBAAAABAAAAABBBAABAAAABAAABBBABAAABABAAABAABAAAAAABABBBBAAAAAABBBAAAAABBABABBAAABAABBBBBABABBBBBABABAAABABAABABAABBBABABBBAABAAAAABAAABABAABABBBBBBBBABAA...

output:

NO

result:

ok no solution

Test #201:

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

input:

AABBBBABAABBAAABBAAAAAABAAABBABBABAABABBBABBBBBABBBBBABBBABBBABBABBABBAAABBBBBBAABAABAAAAABAABBBAAABABAAABBAABBAABABAAAABBABABAABABBBBABBABBBAABBABBBAAAABAAAABBBAAABAAAAABABAAABABAAABAAAAAABABBBAABABABAAABAABBABBABBBBABAAAAAABBBAAAAABBBABBBBABBBBBAAAABBBBBBAAABABBABABBBBBABABBAAABABAABBBAAAABAAABABB...

output:

NO

result:

ok no solution

Test #202:

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

input:

AAAABABAAABBBBABBBABAAABBAAAAAAABAABBABBAAABBBAABAABBABBBBBAAAAAABABABAABAAABAABBABAAAAABABBBAABBABABAABBABAAABAABBABBBBBAAABAABABBABABABAABABAAAAAABABAABAABABBAAABAABABBABBAAAAAABAABABBABAABBBBBAAABBAABABABAABABBAAAAABABAABBABAABBBBABBAAABAABBABBBAAABAAABAABBABAAABBAAAAAABBABBAABBAAAABAABBBABAABBAA...

output:

NO

result:

ok no solution

Test #203:

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

input:

AAABBAAABAAABAABABAAABBBBBABAABABAABAAAABBABBABBBBAABBAABBBBBBBABAAAABBBAAAABABABAAABABAAAAAABBBABBBABBBBBABAABABBABBABAAAAAABBAAABABABBABABABBBAABABAABAAAAABAAABAABAABBBABAABAABBAAAAAABABAAAABABABABBBBAABABBBBABBBAAAAAABAABABBABAABAABBBBBBBBABBABABABBAAABABABBAAAAABBABBABABBAAABBBAAABBAABBBAAABBABB...

output:

NO

result:

ok no solution

Test #204:

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

input:

BBBBAABBBBBBBABAABAABBABAAAABABAAAAABBBBBBAABABBBBBABAABBABBBAAAAAABBABBABBBAABBBBABBAABBAAAAABAABBAAABAABAABBBBBBBBABBAAAAABABBABAABABABBAABBAABBABAAAABBBAAABAAABAABBBBBABABAAAAABBABAABAAAABAAAABBABAABABBBAAABABABBABBBBBAABABAAAABBBBABAAAABABABABBAABBBBAABABABAABAABBAAAABAABBBABAABBAAAABBAAABAAAABA...

output:

NO

result:

ok no solution

Test #205:

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

input:

AAAABBAAAAABAABABBABAAABBAAABBABBBABBBAABBABABAABAABBBBBBBBBBAAAAAABBBBABBABBAABABAAAABBAABABABABABBBAAAABAABBAAABABABBBABBBBABBABAAAABBBBBBABAABBBABBBBABBBABBABBBBAABBAABBABAAAAAAAABAABBBBAABAAABABAAAABAAAAAAABBAAAAABAABBABABBBBBAABBBAAABBAAAAABBABABAAABAABAABAABBABBBBABAABAABBAAAAAABBAAAAABABBABAA...

output:

NO

result:

ok no solution

Test #206:

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

input:

AABBAAABBABBAABAAAAAABBBABAAAABAABBBAAABBABBBBBAAABBBBBAABBABAABABAABBAABABAABAAABABABAABABBBAAABAABBABABBABAAABBBBBBAABABABBAABAAABBBABABABBABBABBBABBAABBBABBBABABABAABAABABBBABAAABBBBBBABBBBABBBBBBBAABBABABAABBBABBAAABBABABBBBBBABBAAABAABAABABBBAABAAAABBBABAABAABAAABAAAABBBAABABABBBABAAAAABAAABBBB...

output:

NO

result:

ok no solution

Test #207:

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

input:

AABBABBAABABBABABBBBAAABBAAAAABABBBBBBBABABAAABAAABABAABBBBAAAABBBABBAAAABAAAABBAABABAABAABBBBAABAAAAAABAABBBAABBAAAAAAABAABBAAAAABBABBBBBBBBBBBBBBBAABBBABBBBBBBABBAAAABBBBBBABABBAAAABBAABABAAAABAABABBAAAAABAAABBAABBAABBBBBAABABBABABABBBABBBBABBAABABAABABABBAABBBABBAABABBAABABBAABAABBAAABAAABABAAAAA...

output:

NO

result:

ok no solution

Test #208:

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

input:

ABABBBBAAABAAAABAABBABABBBAAAABBABAABAABABBABAAAABAAABBABABABABBABBABAABABBBBABBABABBAABAAAABAAABAABBBBAABABABBBBABAABBBABBABABBBAAABAAABABABBAAAABAAAABAAABBBABAABBBBABBBBABBAABAAABBBBAAABABBAAABAABBBBBBBAAABABBBBBABBBABBAABABBBABBBBBAABBAABBBABBBABBABBBBBAABAAABABAABAABAAAABBBABBBAABAAABABBAAAABABB...

output:

NO

result:

ok no solution

Test #209:

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

input:

BBABAABBBABAAAAAABBABBAAABAAABBBBAAAABABBAAABBAABBBAAABABBABBBBBAAAABBABAABABAAAAABBABBBAAAABABAABAABAAAAABABBABBAABABAAAAABAABABBAABABAABBBAABBAABAAABAAAAAAAAABBBABAAABABBAAABBBBBABBABBBAABBBBABABBAAABABAAABBBAAAAABBBBBBABBABAAABABBAABAAAAAAABBBAAAABABAABBAABBBAAAABABBAABABAABABBBBBBAAAABAAABAABABB...

output:

NO

result:

ok no solution

Test #210:

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

input:

AABAAABBAAABBBAAABABBAABABAAABABBBBABBBBABBABABABBABABAABAAABBABAAAAAABAAAAABAABABBBBBAAABBAABBBBABBAAAAAAAAABABBBAAABAABBBBABABBABAABBBBBABBABABBBBBBBAABABBBABABBBABABBBBABBBAABABBBAABBAABBBAABBBBABBBABBABABBBABABBBBBBAAAABBAAAAABAABBBABAAABAAABBAAAABAAAAAAAABBBBBAABBBBABAAAABBAAABBBABABBAAABABBBBB...

output:

NO

result:

ok no solution

Test #211:

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

input:

AAABBAABBABBABBBBABAABABBAAAAABBBBBBAAAAAAAABBABBBAABBAABBBAAABAAABBAABBABAAABBABAABBAAAAABABBBABBABABAAABAABAAABABAABBBBBABAAAABABABABBBAAAAAABBBBABBBAAAABABBAABBBABABBABABBBAABAABBAABBBBBBBBAABBBBABAABBBABBBABBAABBBAAABAABBBBBBAAAABAAAAAABAABBAABABAAABABAAAABBBAAABBABABABBBAABAAAABBBABABAAAAABABAA...

output:

NO

result:

ok no solution

Test #212:

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

input:

BAABAAABBABABBAAABBBABBABABABBAABBBBABAABAABBAABBBBAABBABBAAABABBBAABBBABBABAAABBBAABBABBAAAAABBBBBBABBBBAAAABBBBABABBBBABBABBBBABBAAABAAABBBBBBABBAAAABABBBBBABBABABBBAAAAAAABABABAABAAAAABABBBAABAABBABABBBABBBABABBAABABAABBAABAABBBBBABBBBBBABBBAAAABBAABBBABABBBBABBBAAAABBAAABAAAAAABBAAABABAABABBBBBA...

output:

NO

result:

ok no solution

Test #213:

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

input:

AAAABAAABABABBAAABBABBBBBBAABBBAABBAABABAABAABABABAABBAAABAABABBABBAABAAABBAAABBAAAAABABAAAAABBBBBABABABABAAAABBABBBBBBBBAAAABAABBBABBBBAABABAABABAAAAAABABBABABBAABAABBBAABBAAABBABBBABBABBABAAABBABBABBAABBBBBAAAABABBAAAAAAABABAABABABBBBAAAABBABBAABBABBAAABBABBBBBABBAABBAABABABAAAABBBBBAABABABBAAABBA...

output:

NO

result:

ok no solution

Test #214:

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

input:

AABAABBABABBBBBBBBABABAAAAAABBAABABAAAAAABBABBBBAAABAABBBBBBBAAAABBAAABBBBBBBAAAABABBAABAABBBAAAABABABAABAAAAAABAAABABBABABBBAAABBABABAABABABABABBBABABBBABAABBAAABAABBAAABAAAABAAABBBABAAAABAAABBABAABAABBAABBABBAABBAABBAABBAAAABAAABBABBABBAAAAABAABABBAAABBBAAABAABAABAABBAABAABABABBBABABAABABAABBBAAAA...

output:

NO

result:

ok no solution

Test #215:

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

input:

AABBBBBBAABBBABBBBAAABABAABBBBABBBBBBBABBAABBABABABABBABBAAAABABBBBBABABBAABBAABBBABBAABABBBAABAABBAAAAAAABAABBBBABBBBAABBABABAABBAABAABABBBABAAABAAAAAAABBBABAAAAAAAAABBBABAABAABAABBBBAABAAAABABAAAABBABABBABABAABBAABAAABABAAAAAABBBBBBBBAAABABBAABBAABABABBBBABAAABBBBAABABABBABAAABBBBBABAABBAAAAABBBAA...

output:

NO

result:

ok no solution

Test #216:

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

input:

ABAAAABBABAAABAABBBBBAABBAAABAABBAABAABBBBBBBBBBAABAABBBABAABAABBABAABABBBAAAAABABABBBBBAABAABABABAABABBBBAAAAAAABABABABBABBAABABAAAABABABBABABBBBABAAABABAAAAABBBBBAAABABABBBBBABBAABABBAABBBBABBBBABBAABAAABBBBABABBBBABABBAABABBBAABBBABAABABBABBBBBABABBAABBAAABAAAABBBBBBBBBAABBABBABBBBBBABAAABBABAAAA...

output:

NO

result:

ok no solution

Test #217:

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

input:

AAABABAAABABAAABAABAAABAAABBAAABABBABBBBABABBABBBAABABBBBAAABBBAABABBAABAABABBAAABABBBBAABABBAAABBAAAAAABBAAAAABBBBBABBAAAABBABAAABAABBABBBBBABAABBBABAAABABABBBABBBBABAABABBBBABABBBAABBAABAABABBBABAAABBAAABAABBBAAABABBAAABBBBABBBBABAABBBAAABBAAAAAABBAABAABAABAAABABBBBAAAABBBAABBBABABBBBAABABBAABBBAB...

output:

NO

result:

ok no solution

Test #218:

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

input:

BABAABAAAABABABABBBBBBBBBABBABBABBAAAAAAAAAAAAAAAAABBAAAAAABBABBAABBAAAABAAABAAAABABBAABBBABAAAABABABABABABBAAABAAAABBAAAABABAAAABAAABAABAAABAABBBAABBBBAAABBBBBABBAAABABAABABABBABBABAAABBBBABBBBBBBBAABBABABBBBABBBBABBABBBBBABABBABAABBBAAABBABABBAABBBABABBAABAAAABABBBABAABABBBBBBBABAAABAABABBBBBAABAB...

output:

NO

result:

ok no solution

Test #219:

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

input:

AAAAAABAABBAABABAABBAABABAAAABBBABABBABABAAAAAABAABABABAABBABAABBBBABAAAABAABAAABBABAAAABAABBABAAABBBBBAABBABBBBBAABAABBBBABABAABABBAABAAABBBBBBBABABBBBAABABBABAABABAABBAAABABBABBBAABBBBAAABBABBAAABBBBABBBBBBABABABABBBAABABBABBBAAAABABAAAABABABBBBBABBBBBBBAABABBABBABBBABBBBBABABBBABBABBABBBAABBBAAAB...

output:

NO

result:

ok no solution

Test #220:

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

input:

BBABAAABBABABBAABBAABBABAAABABBABABABBABABBBABAAAAAAABAABABBBBBAABBABAAAABBBBBBBBAABAABAAAAABBABBBABABABBBABBBBBABABBBBABABBBABABABBABAABABABAAAABBBBBAABAAAAABBBBAAABABBBBBBAABABBBBBBBABBAAAABBBBBAABBBBABBBBAABBBABABBABABBAABAABAABBAABBABBBBABABAABAABBABBAAAAAABBABABABBBABBBBAABABBABAAABAABAAAAABBAA...

output:

NO

result:

ok no solution

Test #221:

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

input:

ABABBBABBAABBBAABBBAABABABBABBBBABABBBAABAAAABABAAABBBABBAABAABABBABABABAABBBBABAABAABAABABABBBABAABBBAAABBAAAAABAABBBBBBABBABBAAABBAAABBBABABAAAABBBBAAAABABAABAAAABBBBAABBBAABAABABBBBABABAABAABBAAABBBBAABBAABAAABBBBBBBAAAAABBBAAAABAAABBBBBBBAAABABBAABBBAABAAAABAABABAABBBABBBABBBABABAABBBAAABBAAABAA...

output:

NO

result:

ok no solution

Test #222:

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

input:

BAAABBBAAABBBABBABBBAAABBBABBBBBABABAABBBABBBBBBABBABABBBABBBAAAABABBABAAAABABABAAAABBBABBBBAAABABBABBABAABAABABBBAAABBBBBABAABAABABABBBABAABBAAAABAAAABAABABAAABBAAABBABBBBABBABBAAABBBAAAAAABAABAAAABAABABAABBBABBBBAAABAABAABAAAABABABBAABAAABBAAAABBABBBBAABBABAABAAABBBABBBBAABABBBBAAABBBAABAABAABBAAB...

output:

NO

result:

ok no solution

Test #223:

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

input:

AABBABAAABABBAABBBABABAABAABABABBAABBBBABAABBABBBABABBAABBABBBAABBAAABBAAAAABBABBABBBAAAAABABABAABBABABBBBBABABBAABABBBABBBAAABABBABBBBABAAAABABAAABBBABAAAABBABABBABAAAAAABAABAABAAABBAAAAABBAAABBBAAAABBBBBABAAABBABBBABBAABAAABABABBABBAABBBBBABBABABBBBBABAABABAABBABAABBAAABBAAABAABAAAAABBBBAAAAABAAAA...

output:

NO

result:

ok no solution

Test #224:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2762 2763 5468 5469 8109 9486 9487 12249 13690 15111 16492 17835 17836 19217 21920 21921 21922 23270 23271 23272 24646 26021 26022 27442 27443 28788 28789 28790 30214 34223 34224 35654 35655 37038 38419 38420 39741 42449 45214 45215 47991 49396 50774 52178 53533 56310 57643 58973 60304 61688 6...

result:

ok good solution

Test #225:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
2977 2978 5900 5901 5902 5903 8828 8829 11813 14879 17992 17994 24004 26955 29996 32993 39183 42179 42181 45175 48116 51096 60236 60238 63265 66403 75511 78571 

result:

ok good solution

Test #226:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
2531 5207 7773 10335 10336 10337 10338 12889 15537 20797 23538 26198 28898 31501 34033 36607 39214 41764 44429 44431 47028 49552 52204 57431 62604 65213 67820 70425 73026 75597 78160 83394 85958 88549 91212 93765 

result:

ok good solution

Test #227:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 275 802 803 1043 1044 1927 2204 2494 2783 3070 3344 3345 3606 4154 4441 4708 5001 5267 5521 5788 6037 6038 6327 6632 6911 7199 7200 7519 7521 8031 8302 8304 8604 8914 9161 9163 9472 10042 10606 10607 10887 11170 11172 11771 12054 12056 12339 12604 13445 13447 13750 14026 14027 14313 14878 1542...

result:

ok good solution

Test #228:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBB...

output:

YES
37 38 39 40 41 42 164 200 201 202 228 297 463 465 495 533 569 646 689 691 791 826 864 897 933 

result:

ok good solution

Test #229:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 7038 7039 11655 14024 14025 16463 18848 18849 21152 23574 25881 25882 25883 28203 32977 37723 40175 42525 44913 47243 47245 49583 54268 56652 59088 61497 63886 66206 68541 

result:

ok good solution

Test #230:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
3901 3902 3903 3904 19392 23351 27299 27300 35095 39001 39002 39003 46746 50478 54356 58220 

result:

ok good solution

Test #231:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2 4652 4653 7014 9234 9236 18387 20682 22964 22965 27581 29860 

result:

ok good solution

Test #232:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 1896 3766 5526 7367 7369 9314 11180 

result:

ok good solution

Test #233:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
2401 4856 4857 4858 7174 9661 12063 16863 16864 16865 16866 19296 21792 24218 26578 31420 33836 38629 38631 41128 43594 48393 55651 58105 60578 63039 65416 67926 70350 72807 75272 77692 

result:

ok good solution

Test #234:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
493 1004 1517 2007 2008 3049 3509 4001 4002 4487 4488 4489 4490 4491 4492 4985 5518 6021 6022 6023 6024 6025 6516 6978 7459 7460 8469 9018 9019 9513 9514 9998 11407 11915 12443 12965 12966 12967 13933 13934 14421 14422 14423 14930 15399 15956 16427 17935 18367 18831 19339 20316 20812 21817 22295...

result:

ok good solution

Test #235:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
2220 4404 6515 8714 8715 12962 15067 15068 15069 19409 21539 21540 28085 30342 32537 34659 34660 38974 41133 43215 45392 47548 49783 49784 54115 56210 58317 60570 62713 64867 67093 69219 71390 73503 73504 75596 79929 82096 84244 86425 88580 90781 

result:

ok good solution

Test #236:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
897 1869 2804 3722 4650 4651 6422 7339 7340 7341 8308 9252 10193 11168 11169 12100 14042 14043 14044 14045 15817 16758 16759 17696 19519 19520 19521 20445 20446 20447 20448 20449 21336 23218 23219 24160 25078 25991 26971 27913 28889 29824 31647 33528 34499 35424 36325 36327 38180 40050 41027 420...

result:

ok good solution

Test #237:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 485 954 1421 2303 2748 3203 3670 3671 4599 5093 5094 6045 6046 6047 6532 7012 7013 7425 7426 7427 8775 8776 8777 10170 10171 10172 11116 11117 12160 12647 13087 13994 15374 15865 16338 17254 17726 18189 18680 19117 19593 20047 20508 21003 21501 21502 21984 22451 22942 23902 24363 24845 25322 2...

result:

ok good solution

Test #238:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2 736 1439 1440 1441 2172 3652 4414 4415 5162 5881 6610 7319 8793 9512 9514 10262 11693 12429 15391 16167 16922 

result:

ok good solution

Test #239:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1856 1857 1858 3627 5434 7255 10888 10889 10890 10891 14557 16340 18103 18104 20005 23700 25523 25524 27367 29203 31052 32961 38608 42266 42268 47838 49656 51540 53391 55238 57067 58962 60768 62596 64404 66317 68132 69981 71856 73679 75455 77299 79145 80996 82904 

result:

ok good solution

Test #240:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
182 394 601 602 603 604 790 791 792 978 979 980 1186 1187 1188 1189 1386 1592 1593 1807 2007 2361 2550 2723 2904 3118 3303 3925 3926 4538 4748 4949 5137 5329 5330 5527 5926 6141 6351 6753 7143 7563 7762 7951 8151 8355 8544 8932 9132 9353 9694 9898 10073 10475 10644 10855 11228 11423 11424 

result:

ok good solution

Test #241:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1489 2978 2979 2980 7532 7533 9063 10555 10556 15009 15010 17943 17944 19380 22289 22290 22291 25290 28275 29742 29743 31243 31244 31245 32678 34087 34088 35653 35654 37173 37174 38645 40134 40135 41586 41587 44476 45977 48966 48968 50465 51952 53399 54875 56387 60882 60884 62348 63866 63868 682...

result:

ok good solution

Test #242:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 3127 3128 4743 4744 7948 11113 12721 12722 15842 17419 18928 20461 20462 20463 23598 23599 25156 26749 28197 29745 32855 32856 34441 37576 39189 42317 43913 45485 47080 48638 48639 50300 51916 53424 56504 58050 59666 61270 62903 64483 66058 67735 67736 70849 72411 

result:

ok good solution

Test #243:

score: -100
Wrong Answer
time: 3ms
memory: 3360kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 704 705 941 1150 1399 1621 1865 1866 2089 2335 2553 2769 3251 3484 3708 3927 4159 4413 4415 4918 5158 5160 5617 5847 6310 6558 6800 7034 7270 7499 7500 7707 7935 8166 8375 8603 8816 9040 9042 9275 9498 9974 10216 10445 10701 10930 11173 11175 11396 11657 11896 11897 12107 12558 12805 13042 132...

result:

wrong output format Unexpected end of file - int32 expected