QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#246902#4669. Genetic ModificationsPengztAC ✓6ms5052kbC++141.2kb2023-11-11 11:41:232023-11-11 11:41:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

BBAAABBAAABAAA
BAAB

output:

YES
2 5 8 11 

result:

ok good solution

Test #2:

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

input:

ABABABABAB
ABAB

output:

NO

result:

ok no solution

Test #3:

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

input:

BBAAAAABBAAAAAABBABAABBBBBAABBBAAABABBABABBBAAABBAAAABBBBBABAABBBAABBBBBBBABBABABBAAAABBAAAABAAAABBABAAAAAAABBBBAAAAAABAABABBAAAAABBBBAABABABAAAAABBBABABBAABABBBBAABAABBBBBABBABABBAAABBAAAABBBABBABAAAABBBAABAAABBBAAAAAAAAAAAAABABBAABBBBABABAABBBBABAABBAAABABBBBAAAAAAAABBAAAABBABABABBBAAABAABBABBAAAA...

output:

NO

result:

ok no solution

Test #4:

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

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: 4768kb

input:

BAABBBBBBAAABABABAAAAABAABBAAABBAABBBAABABBBABBABBBABBBBABAABAAAAABBBBBBBABABABAABABAABAABBBBBBABABABABBABBBBAABAABBAAABABBAAAAAAABBAAAAAAAABAAABABBAAABABABBBABAAABBBAABAABBABBBBBBBBBABBBABBBABBAABAABBABABBBBAAAABABAABAABABBABBABBBBBAABABABBBBBABAABBABABAABBABAABABBBBABABBBBBBABBBABABBAAABBAAABBABBA...

output:

NO

result:

ok no solution

Test #6:

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

input:

BBAABBAAABBBBAAABABBBABBBAABABAABBBABABBBAABBBBBBABBBAABABBBAAAAABABBABAABBAABABAABBAAABBBABAABBBAABAABABABBBBAABBBBBBBBBBBABBABABABBABBAAAAAAABAABABAABBABBABABBBBBAABBABBAABAABBBABBABBAABBBAAABBAAABABBBBBAAAABBAAABBAABABBABAABBBBAABBBAAAAAABBBAAAAABBBAAAABAABAAABBBAAABABBBABBBBBBBBAABABBABBBABAABAA...

output:

NO

result:

ok no solution

Test #7:

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

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: 2ms
memory: 4872kb

input:

AABABBAAAAABBAAAAABBBAAAAABBAABBBBBABBABABBAAAABAAABAABAAABBABBABBABAABBBBBBBAABABBBBBAAABABABABBBAABABABAAAAABBAABAABAABABABABBAABBBAABAABBAAAABBBBBBBBABBBBABAAAABAABBABABAAABABABBBAAABAAAABBBAAABBBAAABABBBAAABBBAAABBBBABAABAAABABAABABBAAAABBBAAABBBAABAAABABABBBBAABBABABBBBAAABAABBBBABBAABBBAAAABAA...

output:

NO

result:

ok no solution

Test #9:

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

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: 2ms
memory: 4732kb

input:

BABBABBABBBAAABABBBBAAAABBBABBBAABBAAAAABBBBABBBAABAAAAAABAABAABABABBABABBBBBBBAAABAABABBBBABBAABBAAAABBBAAABAABBBBAABABBABBABBABAAAAABBABABBABBABBAABABBABBBBBAAAABABABAABAAABABBBAABBAAABAABBBBABAABBBBBBABBABAABBAAABBBBBBAABABABABAAABAABBAABAABABAABBBBBBBBABABABBBABABBBABABAAAAABBBBBAAAAAAABBBBABABA...

output:

NO

result:

ok no solution

Test #11:

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

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: 0ms
memory: 3876kb

input:

BAABBAABBBAABBAABAABABABBABBABABBAAAAABBBBBBABBABAAABBAAAAABBBABABABBABBBAAABABAABBABABAABAABBBAABBAAAABBBBABBBBBBBBBABAABBABAAABAAAABBABAABABBBBBBBABBAAAAAABABABBBABABBBABABABABBAAAAAAAABABBABBBABABBBBABAAABBBBBABBAAABAABABBBAABABABBBBAABBBBBABABBBBABABBAAABABAABABAAAABABBABAAAAABBBABAAABABABAABAAA...

output:

NO

result:

ok no solution

Test #13:

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

input:

BBAAAAABBBBBABAAAABABAAABBBABBBAABAAABAAABABAABBABAABABBBBBABABABAAAABABAAABABABBAABBABBBBBAABBABBABBABABBBAAABABBBBBBBBBBABBBBBABAAAABBABBAABBBBBAABAAABBAABABBBBBAAAAABAABABAAAAAAABBBBBAABBBBAABABAAABABABAABBAAABAABBAAABBBABAABAABAABBAABBABBABAABABBABBBABABAAABBABBBBAAABAAABBBBBBABABBBBBBAAAABAABAB...

output:

NO

result:

ok no solution

Test #14:

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

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: 2ms
memory: 4836kb

input:

BBBABABABBBABAABAAAABBAABABBAABAABBBBAAAAABABBABABBBBBABABBBBABBBABBBBBABBBAABABAABAABBBBBBABAAABAABAABAABBBBBBBBBBAABABAABBAAABBAABBBBBBABBAABBBAAAABBBBAAAABAAAABBBAAAABAAABBBBAABABAAAAAABABAABAAAAABBBBBBAAABAABABBABBBAAABABBBAABBBBBBBBAAABABABBABABAABBBABAABAAAABABBBBBBBAAABAABBBBBBBAAABABABBBAAAA...

output:

NO

result:

ok no solution

Test #16:

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

input:

BABAAABAAABABBAAAAABBBABAABBABABABBBBBABABAABBAABAABAAAAAABABBBABABAABBBABAABBAABBBABBBAAAAAABBABAAAAAABAABABABBBBABABBABBBBBBBBBBBBBBAAAABAAABBBBBBBABBABBBAABBBBBBBAAAAABABBBAABAABABABBBBAAAABAAAABBABABBBABBABBABBBAAABBBABBBABBABBAABABAAABBAAABAAAAABAAAABABAABBABAAAAABAAAAABBABBBABBABBAAABABAAABAAA...

output:

NO

result:

ok no solution

Test #17:

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

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: 3ms
memory: 4372kb

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: 2ms
memory: 4752kb

input:

BAABABBAAAAABAABBABBBBBBBBABBABABABAABABAABAABBBAAAABAABBAAABBBBBABABAABBBBAAAABAAABBBAAABABBAAABBAAABBBBABBBBBABABABBBABBBAAAABBABBAABAAABBBABAAAAABABAAABABAABBBAAABAABAABABAAAAAABBBABABBBBBBBABAAAAAABAAABAAAAABBABAABBBABBBBAABAABAABAABBBBAAABBABAABBAABBAABBAABBABBAAAABBBABABBBAAAAAAABAABBAAAAABBAB...

output:

NO

result:

ok no solution

Test #20:

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

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: 4ms
memory: 4628kb

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: 4ms
memory: 4708kb

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: 3ms
memory: 4236kb

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: 3ms
memory: 4236kb

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: 3ms
memory: 4048kb

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: 6ms
memory: 4972kb

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: 1ms
memory: 4440kb

input:

BAAAABBBBBBBBAAAABAAABAABABBBBBBABABAAAABBABABABABBBBBBBBBAAAABABAAABBBAABAAABABAABAABABBABABBAAAABAABBBBABAAABAAAAABBABBBAABABBBABABABAAABBAABBABABBABABBBABBBBBABBBABBAABAAABAABBABBBABBAAABAABBBBABABBBABAABABBABABBBBBBAAAABAAABBBAAABBBBAABAAABBBAAABABBBBAAABABABAAAABAAABBABBABABABBABBBAABAABABAAAAA...

output:

NO

result:

ok no solution

Test #28:

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

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: 1ms
memory: 4372kb

input:

BBAABAABBBBAAAAAAAAABABABBAAAABAAAAAAAAABBABABBBBBABBAAABBABBAABBBBBBBBAABBBBABBBABBBBABAABABAABAABABAABBABABAABAAAABAABBABAABBAABAAABABBBBBBBAABAABBABABBAABABAABABBBBAABABABABAAAABAAAABABBAABBBBAABAABABBABBAAABAABBABABBBBABAAABAABAABBBAAAABAAAAAAAAAAAAABBAABABBBBABBABBAABBABBAABBAABBBABABBBABBAAAAA...

output:

NO

result:

ok no solution

Test #30:

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

input:

AABAABBAAABBAABBAAABABBBAABAABAAAABBBAAABABABBBBAAABBBBBBBABBABAABBAAABBBAABABABABABABABAAAAABBABABBBABAAABBAABBBBABBABABBBBBBABBABAABBABBABBBABBBBABABAABBAAABAABBBABBABBAAAAAAABBBAAABBBABBAABBBAABAABBABAABBAAAAABAABBBBABAABABBBAAABBBABBABAAABABAABABABAAAABAAAAAAABABBBAAABAABBBBAAABBAAABAAABBAAABAAB...

output:

NO

result:

ok no solution

Test #31:

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

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: 0ms
memory: 3904kb

input:

ABBABABBBBBABAAAABAAABABBABAAABABAABBBBABABABBBBAABAAABABBAABAAAABABAAABBABAAAABABBBBAAAABAABABABAABABBAABABBBAAABBAAABABABAABBABAABAAABAABBABBBABBBBBBABABABBBBBBAAAABBBAAAABABBBAAAAABABBBABBAAABAABAAAAAAABABABBBBABBAAAAABAAABBABAABAAABAABBAABABAAABBABBBBAAAAABBBBBBABAABABAAAABBBBBABBABAAAAABABABAAB...

output:

NO

result:

ok no solution

Test #33:

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

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: 4ms
memory: 4788kb

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: 1ms
memory: 3796kb

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: 4ms
memory: 4456kb

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: 0ms
memory: 3752kb

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: 2ms
memory: 4660kb

input:

AABBBBBAABABAABBBBBBAABBABABBABBBABBBAAAAABABBBBBBBAAABBBBBBABABABBBBBABABABABBABABBBAABABBBAABABBABBBBBABABBBAABBBBBAAAABABBBBBABBABBBBAABABBBBABABABAAAAAABBBBAABABABBABAAAAABAABBBABBAABBBAAABBAAAABABBBABAABABAABABABBAAAAAABBBAABBABBAABABAAABABABABBABBABAABBBBBABBABAABAAABAABAAABABBBBAAAABABBBAAABA...

output:

NO

result:

ok no solution

Test #39:

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

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: 1ms
memory: 3856kb

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: 4ms
memory: 4784kb

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: 1ms
memory: 4500kb

input:

AABAAAAAAABAABBBAAAAABAABBAABBBAAABBBBBAABABAAAAAAABAABBAABAAABBBABBBBBAAABABAABBABBAAABBABABBBBBABAAAABAABBAAABABBBAABBABAABABABABABABBAAABBBAAABBABAABAABABBAABABBABABAAABBBABBBBBAAABBAABBAAAAAABAAAAAAABBBABBBAABAABABBBABBABAAABAAAABABBBBABAABABBBBBBAAABABABABBBAABAABABAABABAABBAABBAABBAABBBAABABBA...

output:

NO

result:

ok no solution

Test #43:

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

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: 1ms
memory: 4584kb

input:

ABAAAAABBAABBAAAABBBAAAAABABABBAABBBBBABBBABBBAABBAABBABBAAAABBAABBAABBBABABABAAAAAAAABBAAABAAAABBABBBBABBBAABAAAAAABBBBAAABABABABAAABABBBBBBBBABBAABBAAAABBBBAAAAAAABBAAABAAAAAAABAAABBBABABABBAAABABABAAAAABBAABABABBBBAABBABBABAAABBABAAABAABBABABAAABAABBBAAAABBABAAABAABBBBABBAABBBBABBAABBABAAABABBBAB...

output:

NO

result:

ok no solution

Test #45:

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

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: 4ms
memory: 4704kb

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: 2ms
memory: 4664kb

input:

ABAAAAABBBBBABBBBAABBAABBAAABBBBABABABABABAABABBABBBBBABBAABBAABBAAAAAAAABBABAAABBAAAABABBBBAAAAAABAAAABBBABAABABAAAABAABAAAABABAABAABBABBBAAAABABABBAABBABBAAABABBAAABBBBBAABBBABABBBBAAAAABBAAAAAABBABABAAAABBBBAABBBBAABABABAABBBABBBAAAAABBBBBAABBABBABAAABBABABAABABBABBBBBABBAAAAAABBBBAAAAAAAAABAABAB...

output:

NO

result:

ok no solution

Test #48:

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

input:

BBBAABABBABBABABBBAAAABAAAABABBBBBBBBABAABBAAAAAABBBAABABAABBBABABAABBBAABBBBABABBBABBBAABBBBBABBABBBABAABBABBAABBBABBABBBABBBBAABBBABAABBABABBBBAAABABBAAAAAAAABABAAABBAAAABAAAABAABAABBABABBBBAAABAABAAAAAABABABAAABAAAAABBBBBAABBBBBBBABAABBABABBBBBBAAAAAABBAABAAAABBBAAAAAABABAAABBBAABABBABABAABBBABBA...

output:

NO

result:

ok no solution

Test #49:

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

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: 0ms
memory: 3824kb

input:

ABABAABAABAABBABBBBBBBBBBAABBBAAABBAABBABBBBBBBABBABABAABAAAABBBBBBBBAABBAAAABAABABABABAABAAAAABAABAAABBBBAABBABBAAAABAAABAABBAAABABAABBBBABAAAABBAABABABABAAAABAAABAAABAAABBBBBAABBBABBBBAAAABABABABBBBAAABBBABBBBAABBBABAAAABBBBBAAAABABAAABABAAABAABBBBBABABBBBABBABBBABBABBBAAAABAAABAABBBBAABABABAABABA...

output:

NO

result:

ok no solution

Test #51:

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

input:

ABAABBBBABABBAABAAAABAABAABAAAAAABBBAAABBBBABAABBAAABBBABBABBBBBABABBBBBBAAAABABAAABABAAABAAABBAAAAABABAABBAABBAAABBBABABBBABAAAAAABAABBABBBABAABAABABBABAAAAABBBAAAABBAAAABABAABAABBAABBBAABBAAABAAAAAABBAAABBBBBABBABAAABABABBBBAAAABBBABBBBBBABABBBAABABAAAABABBABABBBBABAABBBBAAAAAAABBBAAABBAABAAAAAAAA...

output:

NO

result:

ok no solution

Test #52:

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

input:

ABBABABABBABABBABBABBBAAAABAAAAABAABBAABABBBBBAABBBAABAAABBAAABABBBAAABBBAABBBBBBBBAAABBBBBABABBBABBABBBBAAAABBABABAABBAAAABBABBABBAAABBBBBBBBABBBBABABABAAAAABABBBABAABBABABABBBBAABBAAAABABBAABAABBBBBAAAAABABAAAAABBABBAABABABAABBBBAAAAABBABBABAABABBAABABBABAAABBBABAABAAABABABAABABBBBAABBBABAABABABBB...

output:

NO

result:

ok no solution

Test #53:

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

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: 1ms
memory: 4384kb

input:

ABBBABABABABABBBBBBBABBBBAABBBABBABAAABABBBABAAAABAABBABBABBABBBBBBBAAAAABBBAAAABBABBBAABBBABBAABAABBAAAABABAABBAABABAABBAAAABAAABAAAAAAAAABBAABBBBBBAABBBAAABABBAAAAABAABBBBBBABBAAABAABABAABAAABAAABBBBAAABBAAAABBAAAABAABABAAAABABBBABBBAAABABAABBABBAABBBABBAABABBAAABBABBBABAAABAAAAABBBAABAABBBAAABBAB...

output:

NO

result:

ok no solution

Test #55:

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

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: 1ms
memory: 3912kb

input:

BBBAABBBAABBBBBAAABBABBAABBBAAABBBABBABABABABABBBAABABBABBBBAAABBAABBBAAABAABBAABABAABBBBBAABBAABAAABBAAAABAAABAAAAAAAABBABAAABAABBAABABABABAABBABAABABABABBBBAAABABABBBBAABBBBAAAAABBBBBABAABAABBABAABBABBBAAAAABBBBBBBAABBAABBAAAAAAAABAABABABBAABBBBABBABABBBABBABBBABBBBBAAABBBAABBBABAAAABABBBBAAAAABAB...

output:

NO

result:

ok no solution

Test #57:

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

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: 0ms
memory: 4204kb

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: 3ms
memory: 4960kb

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: 2ms
memory: 3980kb

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: 0ms
memory: 3632kb

input:

BAABBAAAAABBAABBBAAAABABBABAABAABBBBABABAAABABBAAAABABBABABABBABBAAAAAABBAABAABBBAABABAAAABBAABBBABAAABABABAAAAAABAAAAABBAABABABBABBAABBAABABBABABBAAAABAAAABAAAABBAAAABBABBABAAAABBBBABBBABAABBABBBBABBBABABBABBBBBBAAAABBBBBABBBABAABAAAABBBBBBAABBABABBBAABAABBBBABAABBBBAAABABABABBAABBABBBBABBBBBBAAABA...

output:

NO

result:

ok no solution

Test #62:

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

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: 4388kb

input:

BAAAAABBABABBBAABBBBBBABABBAAABAABABABBBBAAABBBBABBBBBAAABBBABBABAABABAAAABABBAABBAAABAAABBABBABAAAABBBBBAABAAABABABAAABAABABABBBAABBAABBAABBABABBAAABBBABAABAAABAAAABAAABABAABABAABBBBBBABBBBABBBBBAAABABBBBBBBBBAAABAABBBBBAABBABBBBABBAABBBAABBAABABABAAAABBAAAAAABBBBAABABAABABBBBBAABABAABAABBBABBBBAAA...

output:

NO

result:

ok no solution

Test #64:

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

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: 1ms
memory: 3608kb

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: 1ms
memory: 4440kb

input:

BABBBAAAABBBABBBBBBABABBBBBABBBABAAABAAAABBAABABABABABBBBBAABABBAABABABBBBBBABABABBAABAAABBBABABBBAABBBAAAABBABAABBABAABBABBBABBABAABABBABBBABAAAAABAABAABBBBBABABABBBABBABAAAABBBABAAAABABBBABAAABBABAAAABBBBBBBABABBAAABAABBABBBAAAAAABBAAAABAAABBAABABAAABAABBABABBBAABABABBABBBAABBBBABABBBAAABABABAABBB...

output:

NO

result:

ok no solution

Test #67:

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

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: 1ms
memory: 4208kb

input:

AAABBBAABAAAABABBBAABBAAAABBBAABABBAABAAABAABABAABBBBBBBBAAABBAABBAABAAAABBBBBAABBBBAAABBBBBBAABAABAAAAABBBBABBBAABBABABBABAABBABBBAAAAAABBAAAAAABABBAAAAAABABBABABBBABAABBBBABBBBBAAAAAABBABBABBAAAAAABBBBABAAABAABBABBBABAAAAAAAAAABAABBAAAAABBAABBABBABBAAABBBBBBBBBBAABABBBBBBBAABABAAAABBABBABBBBBBABAB...

output:

NO

result:

ok no solution

Test #69:

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

input:

BBBABBAAAABBBBABBABBBBABBAAABBBAAABABBBABBBBAABABABBABABAABBBBBBBBAABBBAAAAABABBBABBAAAAAABBBABABAABAABABAABAABABAABBAABBBABAAAAABBBBABAABAABBABAABBAABBABBAAABABBBBBABBABAAABABBBBBABAABBABBAAABBBBABBAABAAAAAAABABABABABBBABABBBABABBBABBAABABAABAABBAAABAAABBBBBBBABABAABAAAABABBBBAAABBBBAABABABBABBABAB...

output:

NO

result:

ok no solution

Test #70:

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

input:

AAAABBBBBABBBBBBBBABABAAAAAAABABBAABABBAAAAABABAABABBBABBBBBBAABBAABBBBBABBBBAAABAAAABBBABBBABBAAABBAAABBBBBBBBBBABBBAAAABBABBBBBBAAABBAAAAABBABAAAABABABABABBABBAABBABAAABAAAAABBBBAABBAAAAAAAABBAABBABAABBBAAABABABBBAAAABAABBBABBBAABAABBBABBBBABBABABABBAABABBABAABABABBBBBBABBABBAABBAAAABBBBBABABAABBA...

output:

NO

result:

ok no solution

Test #71:

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

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: 3ms
memory: 4300kb

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: 5ms
memory: 4872kb

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: 1ms
memory: 3944kb

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: 2ms
memory: 4216kb

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: 2ms
memory: 4476kb

input:

BAABBBBAABAABBBBABBABAAAAABAABABBBABBABBBBBABABABAAAABAAABAABAAABBABBABABABAAABBBAAABAAABBABAABBABBAAAABAAABBBBBBBAAAAABBAABAABBABBABABBAABAABAABBABBAAABAABBAAAAAAAABBABBBAAAAABBBAABAABBABABBAAABABBBBBBBAAABAAABBABBBBBABAAABBABABAABAAAABBBAAABBBAABBBBBABBBBBBAAAABBBAABBAAABABBBAAABAAABBBBBBAAAAABBAB...

output:

NO

result:

ok no solution

Test #77:

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

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: 0ms
memory: 4684kb

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: 2ms
memory: 4652kb

input:

BABBAABAABABAAABAABAABAAAABBABABBABABBBAAAAABABABBBBAAABABBBAAAAABBABBABBBBBABBBABAAAAAAAAAABABABBAAABAABBAAAABABBBBBBAABAABAABBAABAABBABBBBBABAABABBAAAABBBBBBAABAABAABBAABBABBBBABBAABBBBABBBAAAAAABABBBAAABBAAABABBABAABAABBABAABBBBABABABAAABBBAAABBBABAAABBABABABABABAAAABBBBABAABABBBAABAAAAAABABBABBA...

output:

NO

result:

ok no solution

Test #80:

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

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: 4ms
memory: 4480kb

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: 5ms
memory: 4840kb

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: 4ms
memory: 4744kb

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: 3ms
memory: 4564kb

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: 2ms
memory: 3988kb

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: 2ms
memory: 4568kb

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: 1ms
memory: 3768kb

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: 1ms
memory: 3840kb

input:

AABABABABAAABABABAABBBAABBBBAAAABBAAAABBBBAABABBAABBBABBBAAABBAAAABAABABBAABBBAABBBBBBBABBBBAAABAABBBAABAAABBABBBBAAABBABBABAAAABAABABAABABABBAAAAABBABBBAABBBAABBAABBBAAAABAAAAAABAABAABAAABABBAAAAAAAAABABAABABBBAABBBAAABBABAAABBAAABBBAAAABBBBBABAABAABBAAABBBABBBBBABABBAABBABBAABABBABAABABAABABABBBBB...

output:

NO

result:

ok no solution

Test #89:

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

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: 3596kb

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: 2ms
memory: 4940kb

input:

ABBAABBBBAABABAAABABBAAABAAABBAAABABAABAABBBAABAABBBAAAAABBAABBAABAABBBBAAABAABABABABAABAABABBABAAABABABBABBBBABAAABBBBBAAAABBAABAAABAAABABBAAABBABBBAABABAAAABBBBBAAAAABBBAAAAAABAAABBBAAABBABBABBBABBBBABBBABBABABBABABAAAAABAAAABAABBBABAAAABBBAAAABAAAABAAABBABAAABAABBAABAABBAABAABABAAABBBAAABBBAABABB...

output:

NO

result:

ok no solution

Test #92:

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

input:

BBBBBBAABBABAAABAAAAABAABBBABBABABAAABAAABBABAABAABABAABABAABBABBBBBBBBBBBBBBABBBABBBAAAABBBBABBBAAAAAAAABAAABABABBABBBAABBBABABAAAABAABAAAAABABBBBAAABBABAAAABAABAABBBBBBBBABBBBAABABBABBBAAAAAAABBAAAABABBAAAAAAABBAAABBAAAAAABBBAABBBBABBABBAAABBBBAABABAABAAAAABABBAABABBBBBBBAAABAABABBBBBBBBABBABABBAB...

output:

NO

result:

ok no solution

Test #93:

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

input:

BAABBBAABAABAABABBABABBBABABAABBAABAABBABABAAABBBBBBAAABBBAABBABABBAABAABAABBBBABABBBBBBAAABBBBAAAAAAABBBAAAAAAABABABBAAABABABABABAABBABBBABBBABBBBABBBBABBABBABABAAAAAAAAABBBBAABBBABAABBAABABAABBBBBAAAAAABBBBAABAAAAABAAABBABBBBBABAABBABBBAABBBABAAAABBAABBABABABBBAABBBAABBAAAAABBBABBBBBBBABABABABABAB...

output:

NO

result:

ok no solution

Test #94:

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

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: 2ms
memory: 4120kb

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: 1ms
memory: 4160kb

input:

AABAAAAAAAAABABBAAAAABABABAAABAABAAABBAABBAABAABBAAAABAABBBABBBBABBABBAAABBAABABAAABBABABBBBBBBAABBABAABBBBAABABBABBBABABBAABABABBBBAABBABABABAAAABBAAAAAAABBABABBAABAAABBBAAABAAAAAABBAAAABAAABABBBABAAAABBBBBABABBABAABBAAABBAAABBAAABBAABBABABAAAAABAABABABBBABBAABABBBBABBABABAAAAAAAAABAAABAABBBABAAAAA...

output:

NO

result:

ok no solution

Test #97:

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

input:

ABABABBABBABAAAAAAAABBABBABBAAAABBBBBABBAAAABBBAABAABBAAABABBBBBBBABAABBBABBABABBBAAAABABABBBBBAAAAABBBAAABBBBBBBAABBBBAAABAAAABABBABAAAAABAAABBAAAAAAAAAABABBBAABBBBBBBAABABBAAAABABABBBBAAABABABAAAAABABABBBAAAABBAABBABAAABABABAABABABBAABABBBAAAAABBBBBAABBAABBBBBBABAABAAAAABABAAABABBAAAABAABBBAABAAAB...

output:

NO

result:

ok no solution

Test #98:

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

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: 2ms
memory: 4020kb

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: 1ms
memory: 3928kb

input:

BAAABAABBBAABABAABAABBBAABBABBBBAABAAABBBABAABABABABBBBBBABAAABAAAAABABBAABAABABBBBBABBAAAABAAAABBBAAABAAAABABBBBAAABBBABAAAAAAAAABBBABBAAABBABBBBBBABBAABAABAABAAABAAAABAAAAAABBAABAABBBAAABBBBBAAAABBBABBAABAABBABBABAABABABBAABBAABAABABAAABABAABBBBBABAAAABBBBBAABBAAABBBBAAAABBBAAAAABABABABBABAAABABBB...

output:

NO

result:

ok no solution

Test #101:

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

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: 2ms
memory: 4616kb

input:

AABBAABBBAAABBBBBABAABBAABBBAABAAABBABBABAABBBBAABAAAABABBABABABBABBABAAABABAABBABBABBBABBBABBBABBAAAABBBBBAABABBABBBAABABBABBABBBABBBAABABBBAABBABBAABABBABABBAABBAAAABABABBABABAAAAAABABBABAABABABBABAABABABABBABBBAAABABBBABBABBBBABAAAABABBBBBABBAABBAABABBAAABABBABAAAABBABBBBAABBBBABBBBABBABAABAABBBA...

output:

NO

result:

ok no solution

Test #103:

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

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: 3ms
memory: 4632kb

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: 0ms
memory: 4204kb

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: 2ms
memory: 3972kb

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: 1ms
memory: 4072kb

input:

AAABBBBABBBBAABBBBBBBABAABABABAAABABABAABBAAAABABBAABBABBAABBBBAABBBBBBABBBAAAAABAABBABBBBAABBBABBBBBBABAAAAAABBABBAABBABAABAABBAAABABAABBBBBABABAAAABAAABBABBAABBBABBAABABABABBBAABAAABAABBABABAABABAAAABBBAABAABBAAAAAABBBBABBBBABBAABBBBBBABBABAAAAABBBBBABBBBBBAAABAAAAAABABABBAABABBBABBBBABBABABABAAAA...

output:

NO

result:

ok no solution

Test #108:

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

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: 4ms
memory: 4560kb

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: 4ms
memory: 4444kb

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: 4ms
memory: 4672kb

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: 2ms
memory: 4780kb

input:

BABBAABBABBBABBBBBBAABABBABABAAABBABABBABAAAABBAAAABBAABAAABABAABABABABBBAAABBBBABAAABAABAAAAABABABBAAAABABAABBABBBAABBBBABBBAAAAAAABBABAAABBBAABBABBABBBBBAAAABBBBABBAAABAABBAABBBBAABBBBAABABAABAAAAABABAAABBAABAAABABBAAABBAAABAABBAABAAAABBBBAAAAAABBAABABBBBAAAAABBABAABBBAAAABBAABAAABBBBAAABBAAABBBBA...

output:

NO

result:

ok no solution

Test #113:

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

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: 0ms
memory: 4052kb

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: 0ms
memory: 4320kb

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: 3ms
memory: 4256kb

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: 4ms
memory: 4448kb

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: 2ms
memory: 4224kb

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: 2ms
memory: 4128kb

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: 6ms
memory: 4816kb

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: 3560kb

input:

AABAAABBABBABBAABBBBAABBBBAAAABBABBAABBBBAAABAABAABBAABABABABAABABAABAABABBBAABAAAABAAABAABAAAAAABBAABBABAAAABBAAABABBAABABABBBBBBABBAAAAAABAABBBBBAABBBAAAABBABBBABAABBBBAABABABBABABAAAAABABBAABBBBBABABBBBAABAAABBABAABBBBBABBBAAABBAAAAABBABBABABBABBAABBBAAAAABABBABAABAABAAAABBAABBAABBABBBAABAAABBBBB...

output:

NO

result:

ok no solution

Test #122:

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

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: 1ms
memory: 4112kb

input:

ABAABBBABBBAAAABBABABBBBAAAAABBABBAABBAABAAABBABAABBAAABBBAABABBABBABBBABBBBBAAAAABABAABBABAABAAABBABAABAAABABAABBBABABAABBAABBABBAAABBBABABBAAABAABBABAABAAAABABAABAAABABBAABAAAABBBABBBABBAAABAABBABBABBBBBBAABBBBBAABBBBBABBBAAABABBBBAAABBABABABABBBAABAABBBABABAABBBBAABAABABBBBAABBBBBBBBBABBABBABBABB...

output:

NO

result:

ok no solution

Test #124:

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

input:

AAAAAAABAABABAABABABAABAABAAAAABBABABAAAABBBBBBBBABABABBBBABBBBAAABBABBABABBBBBAABABBABAAAAAAAABAABBAABBAABABAAABABBABBBAABBAAABABAAAABBAAABABBBBBABBAABBBBABABBBBABBBBAAAAABBAAAAABABABBBAAABABABABBABBAAAABBABBAAAABBBAAABBABABABAABAAABABABAABBABABBBBBBABBABBAABBAABBBBBABABBAABABBABBBBABBBBBABAABBBAAA...

output:

NO

result:

ok no solution

Test #125:

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

input:

ABABBBABBBBBABBBBBBABBABBBBBAABAABABBAAABABBABAABBABABABABBBBBABABBAABBBBABBBABABAAABBAABABBABABBABBAAAABBABBBBABBBBBABABABAAAABBABBABBBBAAAABBABABBAABBAABBAABAAABBAABBBBBBABAABABABBAAAABBABAABBAAABAABBBAABAAAAAAAABBABABABBBAABAAAAABAAABABBBBBAABABBABBBBABABBABBBABBABAAABABBABABAAABAABAAAABAABAAAAAB...

output:

NO

result:

ok no solution

Test #126:

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

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: 4516kb

input:

BBAAABBABABABBBBBBBBABBBAABABBBBBABBABBBBBABABBBAABBAAAAAAAABABABBAAABBBABBBBBBBABBBABABBABBBABBBBBAABBAABBAAAABBAAABABBAABBBABAAABBAAABABAAAAAAAAAABAAABBAABBAABBABBAABABABBBAAAABBABAAABAABBBBBABBAAAABABBAABBBABABAAABAABAAAABBBAAAAABABAABAABBAABABBAAAAABBABBBBAABAABBBAABAAAABBBABABBBBABABBBAABABBAAA...

output:

NO

result:

ok no solution

Test #128:

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

input:

ABABBBABBBBABBBBBABABBAABAAABBAAAABABAAABBAAAABAAABABBBAAABBABAAABBABAAABABABBBBBABBABBABBABABABBBBBBABBABBBAAAAABBBAAAABAAAABAABABABAAAAABBABBAABBABBAABAABBBAAAAAAABAABBBBAABABBAABAAABBAABAAABABBABABABABABABAAAABABAAABBBBAAAAABAAABBABBABBABABAAABAAAAAAAAAAAABABABBBBAAAAABBBBABBBABAAAAAAABBABABBAABB...

output:

NO

result:

ok no solution

Test #129:

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

input:

BBBAAABABABAAABBBAAAABABBAAABABAAAAABABBAABAABABBBAAABAAAAABBAAAABBAAABBBABBBAABAABABABABBBBAAAABBAABAAABBBBBBABABAABBAABABBAABBABBBABBBAAABBABAAAAABBAABBABABABABAAABAABAAABBBBBABBABABBABBABBAABAABBBABBAAAABAABBAAABAAABBBABBBABABABAAABAAABBBABAABBBAABAAAABAAABBAAABAAAAABBBABABABAABABBAABBAAAABBABAAA...

output:

NO

result:

ok no solution

Test #130:

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

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: 0ms
memory: 4480kb

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: 4ms
memory: 4668kb

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: 1ms
memory: 4124kb

input:

BABBABABAAABAAAABBABABBBBBABBBBABBBABBBBBBAABBBAAAABABAABBAABBBBABABABBBBBAABABBAAAAAABAABBBBBAAAAABABBBAAAABABBBBABBBBABAAAABBAAAAABAABABBAABAABAABBBBABAAAABBAAAABAAABAABBBABAABBBAABAAAAABBBBAABBBABBBBABBBABABAAABAABABABBABAAAAAAAAAABAAAABAAABBBBAAABBABBBBAAABABBBBABBABBBAABBABBABAAABABBBBABBAAAAAB...

output:

NO

result:

ok no solution

Test #134:

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

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: 1ms
memory: 4100kb

input:

BBABABBAABBAAAABABBBABBBABAABAAABABBAAAABBBABAAABBAABBBBBBAABABAABAAABBBBBABABBAABBBBAABAAABBBAABBBBAABBBABAABAAAABBBAABBBAABBAAABABBBBBAABBAABBBAAABABAAABAAAABBAABBBBAABAABBABABAABAABBAAABABABAABBBABAAABAAAABAABABBBABAAAAAABABAAABABBBAABABBBBABBBABABBABABBAABBAABBBABABAAAAABBBBBABABABBBBBBABBBBABBB...

output:

NO

result:

ok no solution

Test #136:

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

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: 1ms
memory: 4316kb

input:

BBAAABABAABAAAAABBABABBABABABBAABABBBBAAABABAAABBBABAAAABBBBBBBBAAAABABBABAAAABAABABAAAABBBAABABBAAAABBAABBAAAAAABAABAAAAAAAABAAAAABAAABABAAABBABABBBBBBBAAABBBAABBBBBBABAABAAABBBAABAABBAAAAAABAAABBABBBABAAABBBABAAABBAABBAAAAABBBBBAAAAAABAABBAABABBBBBAAAABAAAAABBAAAAAAAABBBBAAABABAAABAABBBBBAABAAABAB...

output:

NO

result:

ok no solution

Test #138:

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

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: 0ms
memory: 4044kb

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: 5ms
memory: 4796kb

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: 3ms
memory: 4456kb

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: 3608kb

input:

BBABBBAABBABAABABABABBABABAABBABBABAABBAAAAABAABABAABBBBABBBAAABBABABABBBAAAABAABBABBBBABAAABAABBABABAABAABBABAAABBBABBBAAAAAABBABAAABBBBAAABABBBAAAABBBAABAAAAABBBAABBABBBAABABAAAABBBAABBBBBABBBAABBABAAAABABBABBBBBABABABABABBBAAAAAABAAABABABABAABAAABABBABABAABBABAABAABAAABABAABBBABBBAAABABAAAAABAABA...

output:

NO

result:

ok no solution

Test #143:

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

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: 2ms
memory: 4912kb

input:

BABAABABAAAAAAABBBBAABAAAAABABBABBBAABABBBBBBABBBAAAABBBBBABABABABAAAABBAAAABABBBBABBAABABBAABAABABBAAABAAAABBBBAABBAAABABABBAAABBABABBAAAAAAABABBABBABABBBBBBABABAABAAABABABABAABAAABBBAABBBBBBBABBAABABBAAAABBABAAAABBABAABABAABAABBBBBABAAABAABBABAABBABAAABAABABAAABBAAAAABAAABBABABBABABBABABBBBABBBBBB...

output:

NO

result:

ok no solution

Test #145:

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

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: 1ms
memory: 3916kb

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: 4ms
memory: 4592kb

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: 4ms
memory: 4728kb

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: 0ms
memory: 3876kb

input:

ABAAAABBBAABBAAAAABBABABAABBBAAAAABBAABBABBAABAAAABABAABBBBBBABABAABABABBABBBAABBABAABBAABBBAABBABBAAABBAABAABABABBAAABAABABBBBBBAAAAABAAAAAABABAAABABABBBABBBBAABABBBBBABABABABABABBBBABBBBBBAAABAABAAAAABBBBAAABBBBABBABBABBAAABABAABBBAAAAABBBBBBBBBAABAABABBABBAAABBBAAAABABBBBBABBBBAABABABAAABBBABABAB...

output:

NO

result:

ok no solution

Test #150:

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

input:

ABABBABAAAAABABBBAAAAABBAAAABAABBBBABBAAAABBBAABBABBAABBAAAAAABBAABBAAAABABABBBBAAAABABABABBABBBBABBBAAABABBAAABABABBBABBBBBBBABBBBAAABBABAABAAABAABBABBBBABBBBABBBBAABBBBAAABBAAAAAABABABAAAAAAABBBBABAAABABBAABBAAABABAABAABBAABBAAAAAABBBABAAABBABAAAABBBBBBBBBAABBABBABABBAAABABAABABAABBBBBBBBBABAAAAAA...

output:

NO

result:

ok no solution

Test #151:

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

input:

BAABAABAABBBAABABBAAAAAABAABBBBBAABAABAABABABABBBBABABBBBABAABABABAABAAAAABBBAAAAABBABBABBBBAAABBBBABABAAAABAAAABBBABAABAABAAABABBABBBBABABAAAABAAAAAAABAAABBBABBBBBBABBAAAAAAAABAAABAABBABABBABBAABAABBABAAAABABBBBABAAABBAAABABBAABBAABAABBABBABAABBBABBABABABAAAABBABABBABAAAABBABAABABBBBAABABABAAAABAAA...

output:

NO

result:

ok no solution

Test #152:

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

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: 1ms
memory: 3768kb

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: 0ms
memory: 4152kb

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: 2ms
memory: 4348kb

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: 3932kb

input:

AABAABBAAAABBBABBABBBAABBBBBAABBBBAAABAABABBAABBBBBAAAABBAAAABBABBAABBABABBBBBABABBABBABABBBBBBBABBAABBBBABBAABABAABAABAABAAAAABBBBAAAAAAAAABAAAAAAAABBAAAAAABAABBAABBBAABAABBBABBBBABBABABAABBAAABABAABBAABBAAABAABBABBABAAABBBBAABBBBBBAABABAAAAABABABAABBAABBAABABAABABABBBBBABAAAAABAABBABBBBAABAABAABAA...

output:

NO

result:

ok no solution

Test #157:

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

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: 4ms
memory: 4568kb

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: 2ms
memory: 3928kb

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: 3ms
memory: 4236kb

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: 0ms
memory: 4220kb

input:

ABBBAAAABBAAAAABBBABBBBBABBBBAABBABABAAAABAABBBBBBABABAABBBBBBBAABAAABAAAABBABABABBBABBBABBABABABABABABAAAABBAABABBABBBAAAABBAAAABBAAAAAAABBAAAAABBBBABBBABBABBBBBAABAAAAAABABBABABBAABAABAABABABAABAABABABABBBBBBAABAAAABABBABABBABABBAAAABABAAAABABBBAABAAABBABAAABAABABABBABBBBAAABBBABAABABBAAABABBAABAB...

output:

NO

result:

ok no solution

Test #162:

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

input:

AABAABBABABBBAABBABAABABBBBBBAABABBABBBBBBBAABBBAAAABBAABABAABABAAAABBBAABABABABBBBBBBBAAAAABBAAABBBBBAABBBAAAABABBAABAAAAAABABBAABABBBBBBBAABAAABAABBABBBAABABBABBAABBBAAABAAAAAABAAAAAAAABAABABABBBBABAABAAABAABBAABABBAABBBBBABAAABBBBBAAABBBABBABBAABBAABBBBBAAABABAABBBAABABBABAAAABBBBBAABABAABABAABBA...

output:

NO

result:

ok no solution

Test #163:

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

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: 5ms
memory: 4668kb

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: 3ms
memory: 4496kb

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: 1ms
memory: 3628kb

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: 3ms
memory: 4212kb

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: 2ms
memory: 4288kb

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: 4ms
memory: 4468kb

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: 1ms
memory: 3948kb

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: 0ms
memory: 3732kb

input:

ABAAAABABBABBBABABBABAAAAABAABABBBABBBBAAABBBBAAABBBBABBBAAABABBBAAABABABBBBBBAAAAABAABBAAAABAAAAABBABBBAAAAAABBAABAABABAABBBAABBABBAAABBBABAAABABABBABAABBBAAAABAAAABBBABAABBABBABBABABBAAAABBAABABBBAAABBAABABBBABBBAABABBBABAAABBBABBAABAAABABBBBAABAABABAAABAAABAABAAAABABBABBBBBBABBAABBBAAAAABBAAABBAA...

output:

NO

result:

ok no solution

Test #172:

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

input:

ABBBAABAAAABBBABAAAABBAABABABBABBBBBABABABAABBBAABBAAAABBAAAAAABBABBABBBBABBBBAAABAABBBBBBAABABBBBAAABAAAABAABBAAAAABBAABABABBBAAABBABBABAABBABABBBBBABAABBBBBABBBABABABAABBABBABAAAAABAABABABAAAAABBABBABAABBAABBBABABBAAAAAABABABBBAABBAABAAABABAAAAAAABBBAABABBBAABBBBBBBAABBABAAAAABABBABAAABBAABAAABAAA...

output:

NO

result:

ok no solution

Test #173:

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

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: 1ms
memory: 3808kb

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: 3ms
memory: 4244kb

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: 1ms
memory: 4296kb

input:

BBBABAABABAAAABBBBBAABABBBBBABAABAABBAAABBABAABBAABABABAAAAAABABBABBABBBBABBBBBBBABAABBBABABAABBAAABAAAABBAAAABBAAAAAABAAABBAABABAAAAAABBBBBBBABABBBABABBBBBABAAABAABABBBBBABAAABBAAABAAABABABAABBBBBAAAAAABBAABBAABABAAAAABAABABAAABABBAAABBBABAABABBABAAAAAABBAAAAABBAABABAAABAAAAABABBBABBAABBAAAAAABAAAA...

output:

NO

result:

ok no solution

Test #177:

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

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: 0ms
memory: 3988kb

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: 0ms
memory: 4500kb

input:

BABAABAABABBBAAABBAAAABBABAABABABBBABBABABABABBBABBAABBBABBBBAAAABBBBBABBABBBBABBABBABAAABABABABAAABAAABBBBABABABBABABAAABABABABAAAABBBBAAABAAABAAAABBAABBABBAAABBAAAAAABAAAABABBBBAAABAAAAAAAAAABBAAAAAAABABABBBBAABABABAABBBBBABAABAAABBBABABBABBABBBBBAABBBBABAABBAAAAABABBABBAABAABABABAAAAABABBBBAABBAA...

output:

NO

result:

ok no solution

Test #180:

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

input:

BABBAABBAABAAAABABABAAABBAAAABBABAAAAAABBABBABAABBBBABABBBBBAABBBBBABBBABABBBBBAAAABBABABBBABAABBAAAAABAABBBAAAABBBBBAAABABABBBBBAAABAABABAABBAABBAABBBABABBBBABBBAAAABAAABABAABBABABAABBBBBBAAABBBABBABBABAAABBABABAAABAABABBBBABAAABBAABBAABAABAABABBBBABAABBABABABBABBABABBBBAAAABAABBABBBABABBBABABBBBBA...

output:

NO

result:

ok no solution

Test #181:

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

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: 2ms
memory: 4788kb

input:

AAABBBBBABBABBABBABABBBBAAAAABBABAAAABBAAAAAAAABAABBBAABAAAABAABAABBAABAABBAABAAAABAABAAABABBABAAAABBAAAAAABAABABABBBABBABBBBAAABABBBABBBABBABBAAABAAABAAABBABAABBABAAABBABAAAABBABBABABAAABBAAABAABABAABBBABBBBBABAABBBBBAABAAABAABABAABAAAABAAABABBBBBABBBBABBBBABBAAABABBBBBBAABBABAABAABABAAABBAABABABBB...

output:

NO

result:

ok no solution

Test #183:

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

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: 5ms
memory: 4888kb

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: 1ms
memory: 4084kb

input:

AAAAAAABABBABABAAABBAAABAABBBBBBBAABABBABBABBBBBBABBBAABBABAAAABAAABABBBABAAABABAAABBAABAAABAABABBBBABAAABAABAABABBBBBBABAAABAAABBABAAAAABABBABABBAABBABBBBBABBBAABBABABBBBAAABBBBBABBAABABAABBABBABABBABAABABBABBAABAABAABABBABABABABBABBAABBABBBAAABBABBABBABBBBBBBABBAAAAAABBBAABBABBBBABAABAABBBBBBBBBBA...

output:

NO

result:

ok no solution

Test #186:

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

input:

AABBAAAAABBAABBABBABABBBABBBBAAABAAAABAAABABAABAABBABBBBBAAABBAAAAAABABABAAABABBBABABABBABAABBABAABABBABBABBBBAAABBAAABBAAAAABAAAAAABBBBBAAABBAABBABBBAAAABBBBABBAAAAABBBBABBBBABAABBBABAABBABAABBBBAAABBABBABBBBABABBBABBAABBABABBBBBAAABAABAABBBAABABBAABBBBAAABABABBAABABABABBAAAAABBAABABABBABAABBBAAAAA...

output:

NO

result:

ok no solution

Test #187:

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

input:

BABBABBABBBBBABBAAABBABBBBBBBAAABABAAABBABBBBBBAABBBAABBBBAAAABAAAABBAABABBAABAABBAAAABABAAAABABABAAABBBAABBBBBBABBABAAABAABABAABABBBAABABAABAABBBAAAAABABABABBBABABABABABABBBBBAABABBBBAABBBABABBAAABAAABBABABBBAABBABABABABBBABAAAABABABAABABAABABBABBABAABBBAAABBAAAABBBAAAABBBAAAABABBABBBBABBAAABAAAABB...

output:

NO

result:

ok no solution

Test #188:

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

input:

ABAABAAABAAAAABAABABBBBBBABBAAAABBAAAAAAABABABAABBAABAABBBBBABAABABAAABAABBBABBBBBBABBAAABABBBBABBABBABBABAAAABBBABABBAABAABBBAAAAAABAABBABBAABBBBAAAAAAABABABABBBBABBBBBBBABBBBAABAAABABAABABBBBBAAAAAABAAABAAABABBBABABAAABABAAABAAAAAABAABAAABBAAABAAABBABAABAABABBBBAAAAAAABABABBABAAABAAAAABBABABBBBBAA...

output:

NO

result:

ok no solution

Test #189:

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

input:

BBABAAABBAAAABABABBABAAAAABABABABABAABABAABBABBBAAAAABBBBAABABABBABABBBBAABBBAABABBAABABBABBBAABAAABABAAAABBBBAABAABBABABBBBAAABBBAAAABBBAAAAABAAAABABBABAAABAABBBAAABABAAAAAABABABBABAABAAAABAABAAAABAABAAAAABAAABABBBAAAAABAAAAAAAABBAAAAABAAABBAAAABABABAAABAABAAAAABBBAAAABBBBAAAABABBBBBBAAAABBBABBAABA...

output:

NO

result:

ok no solution

Test #190:

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

input:

ABBBAAAAAABABBBBAAAABBAAAAAAAABBAAABABBAAABBAAABABABAABAABABABBABAAABAAABABAABBABBAABBABABABABBBAAAABBABABABBABBBAABAABBABBABBABAABAAAAAABBAABBBBABABBABAAABAABBBBBBBAAABBBAAAAAABBABABBAABBBAABBBBAABBAAABABABABBABBABBAABAABAABBAAABABAABBBABBABAABBABBBBBBABAABBAAAABBBBABABBBBABBBABABABAABBBBBBAABABAAA...

output:

NO

result:

ok no solution

Test #191:

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

input:

ABBBAABAAABBAABBABBAAAABBAAAABBABBBABAABBAABBBAABBAAAABAABAABBBBABBBABBBABBBBBBABBBAABBABABBABAAAAAABAABBABBBAABAABBAAABABBBABABBAABBAAAABABABBBBAAABAAABBAAAAAABBABAAABAAABBAAAAABABABBAAABBBBBABBABBABBBABBBBAAAABBAABABBABBAAAAAABBBBAAABAAABBBABAAAAABABBBBAAABAABBAAABABBAAABABBABAABAAAABABBABBAAAABAA...

output:

NO

result:

ok no solution

Test #192:

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

input:

AABBBABBBBAABABABBAABAABABBBABABBBBBBBABBABAAABBABABAABAABABAAAAABAAABBABABABBBAAAAABBABAAABAABAAABBAAABAABAAABAAABBBBBBAAABABBAAAABAABAABBBBAAABBAABBAAABABBBAABABBABBABAAAABBABBBBABAAAABBAAABBAABAAAAABBAABBBBABAABBBBAAAAAABBBABAAAABABBABABBBAAABABAAABBAAAABBAABABBBAAABAABBBBBABBAABABAABBBBBAABBAAAB...

output:

NO

result:

ok no solution

Test #193:

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

input:

AABABBABAABBBBBBABAAAABAABABAAABABBBBBBBAABABBBAAABBBABBBBABBAAABAAABABBBBABABBABBABBBBBAAAABBAAABAAAABAAAAABAAABBBAAABBBBBABABBABBBBAAABAAABBBABBBABBBBABBBBBBAAAABBABBAAABAABABBAABBAAABAABABAAABBABBBBAABABAABBAAABABBBBAAAABBAAAABAAAAAAAABAAAAAAAAAAABABBBABAABAAABAAAAABAAABBBAAABBABBAABBBABAAABBBABA...

output:

NO

result:

ok no solution

Test #194:

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

input:

ABBABBAABBBABBAAAAAABBBBABBAABBBAAABABAABBABBABBBABBBABAABAAABAABBABAABABAABBABAABBBBAAAABABABBAABBABBBBAAABABABBBAABABBAAAAAAABBABABAAABAAAABAABBBBABAAAABABAABABABBBAABABAABAAAAAABAABABAABBABAABABABABABABBABABABBBAABBBBBAAAAAABBABBBABAAAAAABABBABBABAABAAABABAABABABAABBBAABBABBBBBABBABBAABABBABAAABA...

output:

NO

result:

ok no solution

Test #195:

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

input:

BAABAAABAABABAAABBBBABBAABABABAABBBABAABBBABABBBBABBAAABBABAAAAAAAAAAABAABAAAABAABBBAABABBBBABAAABBAAAABBAABAAAABAAABABAABBABBBBABBABAAABAAABAAAAABBBBBAABBBAABABBBBABAAAABABABBABABBBABBBBABABBBAAABAAAAABAAAABABBABABBAABBABBABAABBAABBBABABBBBBBBABBAAABBBBBAABBABAAABAABAABBAABBBBABBBABABBBAABAABAABAAB...

output:

NO

result:

ok no solution

Test #196:

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

input:

ABAABBABAABBBBAAAAAAAABAABBBBAABAAABAAABBAABBAAAABBBBBAAAABAAABBBAAABBAAAAAABBBBBBABABABBABBABABBBBAAAAABBBBBBABBAABBAAABBAABAAABBABABBABAABBAAABBBAABABBBAAAABABAAABBAAABBABBABBBBABAABBABBABBAABAABAABABBAABBBBBAABABAABBBBBABABBAAABBBABAAABAAAAABBABBABBBBBBBAAABAAABAABABAABBABAAAAABBBABBABBBABBABABBB...

output:

NO

result:

ok no solution

Test #197:

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

input:

BBAABAABAABBBBBBAAAAAAABABAAABAABAABAAAABBBBBABAAAABBBAABABAABBAABAABAAABBABBBAAAABAAABABABABAAAAAAAAAABBBBAAAABBBABBAABAABAABAABAABABAABBAAABAAAAAAAAABBBABAABABABAAAAAAABAABABABBAAABBAABABBBBBABBBABBAABBABABBAABBBBBABBBBBABBBAABABBABAABABBAABBAABBBAAABBBAAABBABBBABBABAAAABBBBBAAAABAAABBAABABBABBBBA...

output:

NO

result:

ok no solution

Test #198:

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

input:

AABBABAAABBBBBAAABBABBBAABAAAAAAAABBABAAABAABBAAAABBAAAAAAAAAABAABABBBAAAAABAAAABBABAABBABAABBABBBBBBBBABABAAABAAAABBAABAAABAAAAAAAABABBAAABBABAAABABBBBABBBAAAAAAABABABAAAABAAAAAABBAABBBABAABAAABAAAAABABBBABBABAABAABBBBBAAAAAABAABBBBBBBAABAABBAAABABAAABAABABBAABBBAABBBBAABABBBABAABBAABBBBAABAAAAAABA...

output:

NO

result:

ok no solution

Test #199:

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

input:

BBBAAABBAABAABBBAABBBBBABBABABBAAABBAABBABBAABBBBBABBBABBBABBBBBBABAABBABABBAAAABABAABBBBAABABAAAABAABABBAAAAABBABAAABABAABAABBBBBAABABBAAABBBABAABBABBAAABABBAABAABABBBABAAAABAABBABBBBABABAABAAAABAABAABBABABBAABBAAABBBBBABAABBAABAABBABABABBAAAAABAAAABBAABBAAABAABBABBBAAAABABBABABABBAAAABBBAAABBAABBA...

output:

NO

result:

ok no solution

Test #200:

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

input:

BAABBAAABBAAABBBAABABAAABAABABBBAABBBBBABBABAABABBBBAAABBAAAAABABBBAAAAABABABBAAABBAAAABBAABABBABAABBBAAABABABBABABBABAAAAABAAAAAAABAABAABAABBBAAAABBAAAABAAAAABBBAABAAAABAAABBBABAAABABAAABAABAAAAAABABBBBAAAAAABBBAAAAABBABABBAAABAABBBBBABABBBBBABABAAABABAABABAABBBABABBBAABAAAAABAAABABAABABBBBBBBBABAA...

output:

NO

result:

ok no solution

Test #201:

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

input:

AABBBBABAABBAAABBAAAAAABAAABBABBABAABABBBABBBBBABBBBBABBBABBBABBABBABBAAABBBBBBAABAABAAAAABAABBBAAABABAAABBAABBAABABAAAABBABABAABABBBBABBABBBAABBABBBAAAABAAAABBBAAABAAAAABABAAABABAAABAAAAAABABBBAABABABAAABAABBABBABBBBABAAAAAABBBAAAAABBBABBBBABBBBBAAAABBBBBBAAABABBABABBBBBABABBAAABABAABBBAAAABAAABABB...

output:

NO

result:

ok no solution

Test #202:

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

input:

AAAABABAAABBBBABBBABAAABBAAAAAAABAABBABBAAABBBAABAABBABBBBBAAAAAABABABAABAAABAABBABAAAAABABBBAABBABABAABBABAAABAABBABBBBBAAABAABABBABABABAABABAAAAAABABAABAABABBAAABAABABBABBAAAAAABAABABBABAABBBBBAAABBAABABABAABABBAAAAABABAABBABAABBBBABBAAABAABBABBBAAABAAABAABBABAAABBAAAAAABBABBAABBAAAABAABBBABAABBAA...

output:

NO

result:

ok no solution

Test #203:

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

input:

AAABBAAABAAABAABABAAABBBBBABAABABAABAAAABBABBABBBBAABBAABBBBBBBABAAAABBBAAAABABABAAABABAAAAAABBBABBBABBBBBABAABABBABBABAAAAAABBAAABABABBABABABBBAABABAABAAAAABAAABAABAABBBABAABAABBAAAAAABABAAAABABABABBBBAABABBBBABBBAAAAAABAABABBABAABAABBBBBBBBABBABABABBAAABABABBAAAAABBABBABABBAAABBBAAABBAABBBAAABBABB...

output:

NO

result:

ok no solution

Test #204:

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

input:

BBBBAABBBBBBBABAABAABBABAAAABABAAAAABBBBBBAABABBBBBABAABBABBBAAAAAABBABBABBBAABBBBABBAABBAAAAABAABBAAABAABAABBBBBBBBABBAAAAABABBABAABABABBAABBAABBABAAAABBBAAABAAABAABBBBBABABAAAAABBABAABAAAABAAAABBABAABABBBAAABABABBABBBBBAABABAAAABBBBABAAAABABABABBAABBBBAABABABAABAABBAAAABAABBBABAABBAAAABBAAABAAAABA...

output:

NO

result:

ok no solution

Test #205:

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

input:

AAAABBAAAAABAABABBABAAABBAAABBABBBABBBAABBABABAABAABBBBBBBBBBAAAAAABBBBABBABBAABABAAAABBAABABABABABBBAAAABAABBAAABABABBBABBBBABBABAAAABBBBBBABAABBBABBBBABBBABBABBBBAABBAABBABAAAAAAAABAABBBBAABAAABABAAAABAAAAAAABBAAAAABAABBABABBBBBAABBBAAABBAAAAABBABABAAABAABAABAABBABBBBABAABAABBAAAAAABBAAAAABABBABAA...

output:

NO

result:

ok no solution

Test #206:

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

input:

AABBAAABBABBAABAAAAAABBBABAAAABAABBBAAABBABBBBBAAABBBBBAABBABAABABAABBAABABAABAAABABABAABABBBAAABAABBABABBABAAABBBBBBAABABABBAABAAABBBABABABBABBABBBABBAABBBABBBABABABAABAABABBBABAAABBBBBBABBBBABBBBBBBAABBABABAABBBABBAAABBABABBBBBBABBAAABAABAABABBBAABAAAABBBABAABAABAAABAAAABBBAABABABBBABAAAAABAAABBBB...

output:

NO

result:

ok no solution

Test #207:

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

input:

AABBABBAABABBABABBBBAAABBAAAAABABBBBBBBABABAAABAAABABAABBBBAAAABBBABBAAAABAAAABBAABABAABAABBBBAABAAAAAABAABBBAABBAAAAAAABAABBAAAAABBABBBBBBBBBBBBBBBAABBBABBBBBBBABBAAAABBBBBBABABBAAAABBAABABAAAABAABABBAAAAABAAABBAABBAABBBBBAABABBABABABBBABBBBABBAABABAABABABBAABBBABBAABABBAABABBAABAABBAAABAAABABAAAAA...

output:

NO

result:

ok no solution

Test #208:

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

input:

ABABBBBAAABAAAABAABBABABBBAAAABBABAABAABABBABAAAABAAABBABABABABBABBABAABABBBBABBABABBAABAAAABAAABAABBBBAABABABBBBABAABBBABBABABBBAAABAAABABABBAAAABAAAABAAABBBABAABBBBABBBBABBAABAAABBBBAAABABBAAABAABBBBBBBAAABABBBBBABBBABBAABABBBABBBBBAABBAABBBABBBABBABBBBBAABAAABABAABAABAAAABBBABBBAABAAABABBAAAABABB...

output:

NO

result:

ok no solution

Test #209:

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

input:

BBABAABBBABAAAAAABBABBAAABAAABBBBAAAABABBAAABBAABBBAAABABBABBBBBAAAABBABAABABAAAAABBABBBAAAABABAABAABAAAAABABBABBAABABAAAAABAABABBAABABAABBBAABBAABAAABAAAAAAAAABBBABAAABABBAAABBBBBABBABBBAABBBBABABBAAABABAAABBBAAAAABBBBBBABBABAAABABBAABAAAAAAABBBAAAABABAABBAABBBAAAABABBAABABAABABBBBBBAAAABAAABAABABB...

output:

NO

result:

ok no solution

Test #210:

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

input:

AABAAABBAAABBBAAABABBAABABAAABABBBBABBBBABBABABABBABABAABAAABBABAAAAAABAAAAABAABABBBBBAAABBAABBBBABBAAAAAAAAABABBBAAABAABBBBABABBABAABBBBBABBABABBBBBBBAABABBBABABBBABABBBBABBBAABABBBAABBAABBBAABBBBABBBABBABABBBABABBBBBBAAAABBAAAAABAABBBABAAABAAABBAAAABAAAAAAAABBBBBAABBBBABAAAABBAAABBBABABBAAABABBBBB...

output:

NO

result:

ok no solution

Test #211:

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

input:

AAABBAABBABBABBBBABAABABBAAAAABBBBBBAAAAAAAABBABBBAABBAABBBAAABAAABBAABBABAAABBABAABBAAAAABABBBABBABABAAABAABAAABABAABBBBBABAAAABABABABBBAAAAAABBBBABBBAAAABABBAABBBABABBABABBBAABAABBAABBBBBBBBAABBBBABAABBBABBBABBAABBBAAABAABBBBBBAAAABAAAAAABAABBAABABAAABABAAAABBBAAABBABABABBBAABAAAABBBABABAAAAABABAA...

output:

NO

result:

ok no solution

Test #212:

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

input:

BAABAAABBABABBAAABBBABBABABABBAABBBBABAABAABBAABBBBAABBABBAAABABBBAABBBABBABAAABBBAABBABBAAAAABBBBBBABBBBAAAABBBBABABBBBABBABBBBABBAAABAAABBBBBBABBAAAABABBBBBABBABABBBAAAAAAABABABAABAAAAABABBBAABAABBABABBBABBBABABBAABABAABBAABAABBBBBABBBBBBABBBAAAABBAABBBABABBBBABBBAAAABBAAABAAAAAABBAAABABAABABBBBBA...

output:

NO

result:

ok no solution

Test #213:

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

input:

AAAABAAABABABBAAABBABBBBBBAABBBAABBAABABAABAABABABAABBAAABAABABBABBAABAAABBAAABBAAAAABABAAAAABBBBBABABABABAAAABBABBBBBBBBAAAABAABBBABBBBAABABAABABAAAAAABABBABABBAABAABBBAABBAAABBABBBABBABBABAAABBABBABBAABBBBBAAAABABBAAAAAAABABAABABABBBBAAAABBABBAABBABBAAABBABBBBBABBAABBAABABABAAAABBBBBAABABABBAAABBA...

output:

NO

result:

ok no solution

Test #214:

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

input:

AABAABBABABBBBBBBBABABAAAAAABBAABABAAAAAABBABBBBAAABAABBBBBBBAAAABBAAABBBBBBBAAAABABBAABAABBBAAAABABABAABAAAAAABAAABABBABABBBAAABBABABAABABABABABBBABABBBABAABBAAABAABBAAABAAAABAAABBBABAAAABAAABBABAABAABBAABBABBAABBAABBAABBAAAABAAABBABBABBAAAAABAABABBAAABBBAAABAABAABAABBAABAABABABBBABABAABABAABBBAAAA...

output:

NO

result:

ok no solution

Test #215:

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

input:

AABBBBBBAABBBABBBBAAABABAABBBBABBBBBBBABBAABBABABABABBABBAAAABABBBBBABABBAABBAABBBABBAABABBBAABAABBAAAAAAABAABBBBABBBBAABBABABAABBAABAABABBBABAAABAAAAAAABBBABAAAAAAAAABBBABAABAABAABBBBAABAAAABABAAAABBABABBABABAABBAABAAABABAAAAAABBBBBBBBAAABABBAABBAABABABBBBABAAABBBBAABABABBABAAABBBBBABAABBAAAAABBBAA...

output:

NO

result:

ok no solution

Test #216:

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

input:

ABAAAABBABAAABAABBBBBAABBAAABAABBAABAABBBBBBBBBBAABAABBBABAABAABBABAABABBBAAAAABABABBBBBAABAABABABAABABBBBAAAAAAABABABABBABBAABABAAAABABABBABABBBBABAAABABAAAAABBBBBAAABABABBBBBABBAABABBAABBBBABBBBABBAABAAABBBBABABBBBABABBAABABBBAABBBABAABABBABBBBBABABBAABBAAABAAAABBBBBBBBBAABBABBABBBBBBABAAABBABAAAA...

output:

NO

result:

ok no solution

Test #217:

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

input:

AAABABAAABABAAABAABAAABAAABBAAABABBABBBBABABBABBBAABABBBBAAABBBAABABBAABAABABBAAABABBBBAABABBAAABBAAAAAABBAAAAABBBBBABBAAAABBABAAABAABBABBBBBABAABBBABAAABABABBBABBBBABAABABBBBABABBBAABBAABAABABBBABAAABBAAABAABBBAAABABBAAABBBBABBBBABAABBBAAABBAAAAAABBAABAABAABAAABABBBBAAAABBBAABBBABABBBBAABABBAABBBAB...

output:

NO

result:

ok no solution

Test #218:

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

input:

BABAABAAAABABABABBBBBBBBBABBABBABBAAAAAAAAAAAAAAAAABBAAAAAABBABBAABBAAAABAAABAAAABABBAABBBABAAAABABABABABABBAAABAAAABBAAAABABAAAABAAABAABAAABAABBBAABBBBAAABBBBBABBAAABABAABABABBABBABAAABBBBABBBBBBBBAABBABABBBBABBBBABBABBBBBABABBABAABBBAAABBABABBAABBBABABBAABAAAABABBBABAABABBBBBBBABAAABAABABBBBBAABAB...

output:

NO

result:

ok no solution

Test #219:

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

input:

AAAAAABAABBAABABAABBAABABAAAABBBABABBABABAAAAAABAABABABAABBABAABBBBABAAAABAABAAABBABAAAABAABBABAAABBBBBAABBABBBBBAABAABBBBABABAABABBAABAAABBBBBBBABABBBBAABABBABAABABAABBAAABABBABBBAABBBBAAABBABBAAABBBBABBBBBBABABABABBBAABABBABBBAAAABABAAAABABABBBBBABBBBBBBAABABBABBABBBABBBBBABABBBABBABBABBBAABBBAAAB...

output:

NO

result:

ok no solution

Test #220:

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

input:

BBABAAABBABABBAABBAABBABAAABABBABABABBABABBBABAAAAAAABAABABBBBBAABBABAAAABBBBBBBBAABAABAAAAABBABBBABABABBBABBBBBABABBBBABABBBABABABBABAABABABAAAABBBBBAABAAAAABBBBAAABABBBBBBAABABBBBBBBABBAAAABBBBBAABBBBABBBBAABBBABABBABABBAABAABAABBAABBABBBBABABAABAABBABBAAAAAABBABABABBBABBBBAABABBABAAABAABAAAAABBAA...

output:

NO

result:

ok no solution

Test #221:

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

input:

ABABBBABBAABBBAABBBAABABABBABBBBABABBBAABAAAABABAAABBBABBAABAABABBABABABAABBBBABAABAABAABABABBBABAABBBAAABBAAAAABAABBBBBBABBABBAAABBAAABBBABABAAAABBBBAAAABABAABAAAABBBBAABBBAABAABABBBBABABAABAABBAAABBBBAABBAABAAABBBBBBBAAAAABBBAAAABAAABBBBBBBAAABABBAABBBAABAAAABAABABAABBBABBBABBBABABAABBBAAABBAAABAA...

output:

NO

result:

ok no solution

Test #222:

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

input:

BAAABBBAAABBBABBABBBAAABBBABBBBBABABAABBBABBBBBBABBABABBBABBBAAAABABBABAAAABABABAAAABBBABBBBAAABABBABBABAABAABABBBAAABBBBBABAABAABABABBBABAABBAAAABAAAABAABABAAABBAAABBABBBBABBABBAAABBBAAAAAABAABAAAABAABABAABBBABBBBAAABAABAABAAAABABABBAABAAABBAAAABBABBBBAABBABAABAAABBBABBBBAABABBBBAAABBBAABAABAABBAAB...

output:

NO

result:

ok no solution

Test #223:

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

input:

AABBABAAABABBAABBBABABAABAABABABBAABBBBABAABBABBBABABBAABBABBBAABBAAABBAAAAABBABBABBBAAAAABABABAABBABABBBBBABABBAABABBBABBBAAABABBABBBBABAAAABABAAABBBABAAAABBABABBABAAAAAABAABAABAAABBAAAAABBAAABBBAAAABBBBBABAAABBABBBABBAABAAABABABBABBAABBBBBABBABABBBBBABAABABAABBABAABBAAABBAAABAABAAAAABBBBAAAAABAAAA...

output:

NO

result:

ok no solution

Test #224:

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

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: 0ms
memory: 4572kb

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: 1ms
memory: 4852kb

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: 1ms
memory: 3852kb

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: 0ms
memory: 3548kb

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: 1ms
memory: 4436kb

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: 1ms
memory: 4272kb

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: 3896kb

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: 1ms
memory: 3732kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 1896 3766 5526 7367 7369 9314 11180 

result:

ok good solution

Test #233:

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

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: 1ms
memory: 4232kb

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: 1ms
memory: 4696kb

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: 0ms
memory: 4688kb

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: 1ms
memory: 4020kb

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: 1ms
memory: 3872kb

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: 1ms
memory: 4764kb

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: 0ms
memory: 3924kb

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: 1ms
memory: 4748kb

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: 4516kb

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: 0
Accepted
time: 1ms
memory: 3780kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 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 1...

result:

ok good solution

Test #244:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
898 1763 2623 2624 2625 3577 3578 3579 4517 5387 5388 6299 7202 8122 8984 9909 11696 11697 12625 13495 14398 15281 16212 17087 18907 19868 21643 23493 24390 26182 27083 28025 28968 28969 29878 30779 33523 34365 35275 36241 37168 38072 38073 39902 40785 41703 42603 

result:

ok good solution

Test #245:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2 3 4 449 606 751 919 920 921 922 1072 1073 1074 1075 1247 1404 1405 1406 1890 1891 2030 2031 2032 2184 2185 2186 2187 2510 2649 2818 2987 2988 3123 3124 3439 3901 4039 4199 4381 4382 4853 4854 4988 4989 4990 4991 4992 5157 5302 5303 5304 5305 5477 5629 5784 5785 5786 5957 6128 6277 6278 6413 ...

result:

ok good solution

Test #246:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBB...

output:

YES
73 148 226 286 348 426 427 428 568 688 749 750 900 977 1040 1041 1042 1178 1179 1314 1455 1456 1457 1518 1578 1650 1722 1846 1847 1848 1925 1985 1986 2121 2190 2252 2253 2312 2313 2314 2315 2443 2521 2522 2589 2664 2865 2866 2928 2929 2930 2931 2932 2933 2988 2989 3054 3119 3120 3121 3186 3187 3...

result:

ok good solution

Test #247:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
555 1070 1577 2101 2639 3113 3622 3623 4649 4650 5720 6230 6231 6757 6758 6759 6760 8235 8236 8237 8739 9259 9746 10258 10259 12292 13344 13345 13888 13890 14380 14879 14880 15391 15896 16411 16922 17455 17956 18467 20560 21051 21052 21597 22123 22657 23182 24163 25151 25660 26276 26807 27325 

result:

ok good solution

Test #248:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAA...

output:

YES
152 153 290 291 713 714 715 716 840 999 1000 1001 1002 1145 1268 1269 1426 1427 1557 1690 1691 1692 1837 1838 1839 1983 1984 2106 2107 2226 2349 2350 2494 2495 2624 2625 2626 2769 2770 2892 3195 3347 3470 3593 3883 4034 4317 4318 4438 4439 4883 5025 5181 5182 5306 5307 5579 5580 5581 5870 5871 6...

result:

ok good solution

Test #249:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
61 62 63 64 244 245 246 341 342 401 402 403 404 405 444 492 493 494 817 881 1038 1093 1094 1095 1096 1193 1194 1234 1287 1334 1335 1392 1393 1501 1604 1605 1606 1607 1700 1801 1802 1803 1854 1905 1947 1948 1949 1950 1951 1952 2010 2011 2012 2013 2014 2015 2016 2075 2076 2077 2130 2294 2410 2506 ...

result:

ok good solution

Test #250:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
86 87 303 304 305 596 597 598 599 802 878 974 975 1070 1167 1168 1256 1257 1347 1550 1551 1647 1753 1958 2054 2151 2152 2342 2343 2344 2427 2535 2536 2648 2649 2732 2837 2838 2934 2935 2936 2937 2938 2939 2940 3016 3017 3018 3019 3020 3021 3022 3213 3303 3411 3412 3584 3585 3689 3690 3782 3783 3...

result:

ok good solution

Test #251:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
107 108 231 232 442 443 633 634 867 973 1067 1068 1069 1070 1071 1360 1464 1574 1751 1851 1852 1853 2072 2169 2170 2171 2172 2270 2375 2487 2488 2489 2490 2491 2594 2595 2596 2692 2787 2901 2902 2903 3011 3012 3013 3014 3108 3207 3208 3209 3304 3305 3306 3307 3426 3543 3544 3545 3723 3946 3947 3...

result:

ok good solution

Test #252:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
181 381 382 585 586 587 588 589 590 591 1186 1376 1572 1573 1574 1575 1576 1577 1744 1745 1746 1951 2376 2377 2378 2593 2594 2763 2954 3349 3350 3561 3562 3937 4151 4545 4546 4789 4790 4791 4792 4793 4794 4795 4978 4979 5362 5540 5727 5918 6336 6337 6528 6720 6721 7155 7562 7796 7797 7973 7974 8...

result:

ok good solution

Test #253:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAA...

output:

YES
149 285 422 569 731 732 733 734 735 1010 1011 1153 1308 1309 1761 1896 1897 2054 2210 2211 2212 2361 2530 2531 2677 2817 3223 3224 3225 3353 3354 3355 3501 3794 3795 3796 3953 4110 4260 4435 4436 4587 4725 4726 4877 4878 5031 5032 5033 5034 5450 5451 5592 5593 5594 5743 5909 6059 6060 6228 6510 ...

result:

ok good solution

Test #254:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 136 137 373 374 375 376 948 1066 1183 1297 1298 1430 1545 1675 1676 1928 2188 2319 2449 2450 2570 2571 2683 2801 2802 2803 2804 2805 2943 2944 3054 3055 3170 3171 3294 3295 3404 3522 3523 3524 3654 3655 3656 3771 3898 4177 4305 4447 4448 4449 4450 4451 4452 4710 4711 5092 5093 5315 5316 5317 5...

result:

ok good solution

Test #255:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 66 67 68 134 135 136 137 138 201 349 350 351 352 353 354 416 478 553 554 623 624 769 1001 1071 1131 1132 1190 1268 1269 1357 1419 1476 1477 1478 1479 1480 1481 1544 1617 1704 1774 1853 1936 1937 2010 2011 2012 2085 2086 2087 2154 2237 2317 2318 2319 2461 2462 2463 2528 2602 2675 2676 2732 2805...

result:

ok good solution

Test #256:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 92 93 94 95 160 161 162 163 164 165 230 231 232 233 336 458 459 518 519 588 589 655 656 719 720 764 765 830 883 952 1104 1235 1311 1384 1451 1501 1502 1503 1554 1682 1683 1684 1685 1686 1687 1688 1689 1740 1808 1869 1924 1980 2051 2117 2118 2263 2336 2407 2408 2409 2410 2411 2412 2413 2414 241...

result:

ok good solution

Test #257:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 243 244 245 527 528 804 1863 1864 1865 1866 2405 2939 2940 3222 3223 3224 3225 3226 3227 3228 3446 3447 3716 3986 4254 4255 4256 4257 4769 4770 4771 4772 5041 5321 5596 5597 5852 6406 7006 7275 7525 7808 8053 8316 8623 8908 8909 8910 9184 9185 9421 9422 9929 10221 10495 10496 10497 10762 1...

result:

ok good solution

Test #258:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
261 262 263 778 1272 1273 1274 1750 2249 2250 2485 2747 3002 3003 3252 3490 3748 4520 4783 4784 5044 5045 5317 5573 5816 6065 6314 6527 6528 6787 7051 7572 7818 8352 8639 8640 9435 9436 9437 9682 9938 10179 10696 10969 10970 11229 11230 11502 11503 11504 11781 12034 12531 12532 12783 13282 13542...

result:

ok good solution

Test #259:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBB...

output:

YES
1 2 52 117 176 177 294 353 408 477 478 479 533 534 535 598 773 774 955 956 957 958 959 960 961 1014 1015 1083 1166 1225 1226 1269 1270 1271 1321 1384 1445 1507 1574 1575 1642 1702 1775 1776 1907 1963 2017 2018 2080 2213 2388 2506 2507 2557 2558 2559 2560 2731 2795 2865 2933 2986 3043 3098 3099 3...

result:

ok good solution

Test #260:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAA...

output:

YES
1 2 3 4 5 54 91 137 138 207 248 249 250 251 297 352 353 354 355 401 520 636 637 638 639 640 690 796 797 798 853 901 949 1000 1001 1055 1056 1113 1169 1170 1227 1343 1406 1407 1515 1516 1629 1630 1793 1846 1899 1900 2004 2005 2006 2051 2214 2215 2282 2283 2284 2340 2398 2453 2454 2552 2553 2610 2...

result:

ok good solution

Test #261:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
166 351 352 353 695 696 697 1070 1248 1249 1250 1404 1405 1406 1585 1754 1943 2132 2674 2845 3213 3214 3215 3216 3389 3390 3583 3763 3764 3765 3960 4299 4300 4639 4986 5520 5521 5698 5699 5895 5896 6218 6399 6400 6401 6402 6403 6572 6761 6762 7145 7146 7539 7540 7720 7721 7899 8604 8605 8606 860...

result:

ok good solution

Test #262:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
102 206 207 208 209 210 211 212 213 214 215 216 217 218 545 546 547 548 643 644 759 876 995 1090 1091 1092 1201 1202 1203 1204 1394 1517 1612 1714 1812 1923 2017 2149 2150 2260 2261 2262 2263 2471 2584 2585 2705 2892 2993 3106 3198 3199 3405 3406 3407 3408 3409 3410 3499 3621 3735 3736 3737 3846...

result:

ok good solution

Test #263:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 4 5 700 701 1420 2191 2192 2193 2194 2195 3655 3656 4377 5120 5871 5872 6604 6605 6606 7281 8658 9397 10132 10857 12392 13069 13070 13823 14533 15269 16734 17429 18901 19631 21050 21771 22492 23175 23916 24649 24650 26085 26855 27572 28245 28994 28995 29724 30422 31934 31936 32668 33366 34...

result:

ok good solution

Test #264:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAA...

output:

YES
1 2 70 71 72 73 131 132 287 358 430 431 498 559 560 561 725 779 840 1078 1079 1080 1081 1082 1139 1212 1348 1417 1418 1419 1494 1564 1565 1642 1711 1712 1826 1881 1882 1883 1954 1955 2026 2097 2163 2164 2234 2235 2377 2597 2598 2669 2740 2813 2889 2890 2960 3031 3118 3193 3194 3335 3392 3393 339...

result:

ok good solution

Test #265:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
79 80 81 170 171 172 173 174 242 331 332 413 414 415 416 417 418 498 573 574 575 759 760 761 762 850 1007 1008 1095 1189 1190 1277 1363 1449 1539 1612 1613 1695 1696 1853 1928 2001 2072 2073 2074 2075 2076 2250 2251 2252 2337 2338 2411 2673 2674 2747 2748 2837 2838 2920 2996 2997 2998 2999 3066 ...

result:

ok good solution

Test #266:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAA...

output:

YES
65 139 216 281 371 450 451 452 453 454 455 663 735 793 952 1182 1260 1261 1347 1348 1349 1507 1508 1585 1669 1670 1671 1672 1673 1674 1675 1676 1741 1742 1743 1818 1876 1945 1946 1947 1948 2036 2179 2249 2250 2395 2483 2548 2637 2850 2851 2921 2922 2923 3065 3066 3147 3148 3306 3384 3452 3453 34...

result:

ok good solution

Test #267:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 144 145 307 378 379 380 381 382 449 529 594 746 967 1110 1179 1240 1241 1242 1243 1297 1376 1377 1564 1565 1566 1638 1639 1640 1641 1642 1718 1792 1934 1989 2039 2109 2171 2172 2319 2395 2396 2397 2398 2399 2400 2401 2462 2463 2464 2465 2611 2676 2744 2745 2746 2747 2748 2749 2750 2751 2752 28...

result:

ok good solution

Test #268:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
114 221 222 464 610 611 861 967 1102 1103 1104 1403 1404 1405 1406 1407 1538 1689 1812 1813 1956 1957 1958 1959 2092 2218 2219 2220 2345 2481 2747 2748 2749 2854 2855 2986 3251 3379 3645 3646 3781 3782 3783 3784 4056 4057 4198 4310 4311 4449 4712 4713 5082 5083 5210 5338 5339 5340 5442 5812 5813...

result:

ok good solution

Test #269:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBB...

output:

YES
45 46 47 48 90 91 92 124 163 211 289 290 291 374 375 411 470 471 510 511 512 565 607 654 698 699 755 807 808 853 904 905 906 985 1040 1090 1091 1138 1139 1140 1232 1289 1342 1387 1424 1475 1476 1529 1571 1573 1619 1660 1713 1768 1769 1824 1922 1923 2056 2101 2149 2188 2229 2280 2316 2362 2403 24...

result:

ok good solution

Test #270:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAA...

output:

YES
1 2 3 4 5 6 7 90 193 194 297 477 478 576 762 860 861 957 1053 1054 1158 1159 1248 1249 1350 1526 1527 1528 1529 1608 1808 1907 2099 2194 2296 2392 2471 2567 2568 2569 2570 2658 2659 2660 2661 2743 2824 2825 2826 2827 2906 2907 3005 3114 3115 3116 3286 3382 3383 3384 3385 3386 3581 3582 3583 3584...

result:

ok good solution

Test #271:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
304 305 576 577 1134 1135 1136 1675 1947 2219 2220 2221 2776 2777 2778 3314 3315 3590 3591 3866 4160 4161 4433 4434 4718 4719 4978 5235 5236 5237 5238 5239 5503 5504 5775 6054 6055 6871 6872 6873 6874 7129 7393 7394 7395 7396 8188 8189 8190 8439 8983 8984 9276 9526 9528 9810 10075 10612 10876 11...

result:

ok good solution

Test #272:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAA...

output:

YES
26 27 53 73 74 106 107 108 109 135 163 189 190 191 192 223 224 225 226 227 228 229 230 231 248 298 358 385 423 424 453 454 455 482 510 543 663 681 710 745 795 824 825 826 827 849 850 851 852 853 854 880 881 882 901 924 925 1043 1044 1045 1046 1047 1101 1102 1103 1104 1105 1106 1156 1157 1158 115...

result:

ok good solution

Test #273:

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

input:

BBBBBBBBBBBBABBBBBBBAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAABBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBABBBBBAAAAAAAAAAAAAAABBBBBBBBBBBBBAAAAAAABBBBBBBAAAAAAAAAAA...

output:

YES
13 21 22 36 37 38 39 40 118 119 136 137 152 172 173 174 175 186 197 229 242 248 249 263 276 283 284 290 291 292 315 326 345 374 387 388 400 415 416 430 447 448 456 481 489 490 500 501 511 545 555 556 557 564 565 581 600 601 611 612 630 654 670 671 672 673 682 683 697 698 712 713 725 748 770 771 ...

result:

ok good solution

Test #274:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
99 213 302 303 304 398 399 400 401 493 494 594 682 683 684 685 889 890 891 892 984 985 1161 1162 1283 1284 1285 1286 1287 1288 1289 1397 1495 1496 1589 1590 1591 1592 1795 1796 1900 1901 1902 1903 1904 1905 1983 1984 2231 2232 2426 2527 2625 2626 2627 2730 2820 2821 2909 2910 3009 3010 3117 3218...

result:

ok good solution

Test #275:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
140 141 142 269 270 271 272 390 518 1055 1200 1201 1202 1325 1473 1892 1893 2052 2053 2178 2179 2421 2553 2554 2555 2683 2684 2825 2826 2827 2955 2956 3072 3073 3205 3206 3207 3348 3735 3876 3877 4036 4037 4156 4157 4158 4159 4160 4454 4455 4456 4599 4740 4741 4864 4865 4866 4996 4997 4998 5740 ...

result:

ok good solution

Test #276:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
149 309 310 311 771 772 773 774 775 776 1109 1264 1430 1582 1583 1743 1909 2072 2073 2074 2075 2245 2246 2247 2248 2249 2250 2251 2252 2567 2568 2725 2726 2727 2884 3051 3213 3391 3567 3739 3740 3910 4072 4073 4074 4075 4421 4422 4582 4583 4584 4909 4910 5081 5082 5083 5396 5569 5738 5739 5740 5...

result:

ok good solution

Test #277:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
114 115 269 270 399 400 508 641 765 891 1118 1364 1365 1366 1367 1495 1496 1631 1877 2013 2014 2015 2137 2249 2364 2365 2493 2608 2860 2861 2862 2863 2864 2865 2991 2992 2993 3108 3109 3235 3488 3602 3603 3604 3876 3877 3878 3999 4000 4001 4002 4243 4244 4245 4494 4622 5037 5176 5688 5689 5808 5...

result:

ok good solution

Test #278:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 54 162 163 164 165 221 222 260 261 262 263 264 321 322 323 324 371 372 373 374 375 376 377 378 423 424 468 469 632 682 683 684 736 791 847 848 849 922 974 1100 1154 1155 1156 1198 1199 1239 1317 1318 1319 1320 1321 1322 1378 1379 1380 1381 1382 1383 1384 1494 1495 1496 1549 1550 1604 1663 1726...

result:

ok good solution

Test #279:

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

input:

BBBBBBBBBBBBBABBBAAAAAABBBBBBAAAABAAAAAAAABBBBAAAAAAAABBBBBBABBBABBBBBBBBBAAAAAAAAABAAAABAAAAABAAAABBBBBBBBBBBBB
BBBAABBAABAABBAABABABBB

output:

YES
1 2 3 14 18 24 25 30 31 34 35 42 46 55 61 65 66 75 84 85 89 95 100 

result:

ok good solution

Test #280:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 69 105 147 183 184 185 186 301 302 303 337 367 368 369 403 404 405 406 450 451 452 453 454 455 479 480 481 482 483 516 517 518 553 554 620 621 622 623 624 663 709 710 735 736 765 766 837 838 873 934 935 1039 1078 1104 1144 1204 1205 1241 1242 1243 1244 1266 1267 1305 1306 1307 1335 1380 1381 1...

result:

ok good solution

Test #281:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
93 94 175 261 262 263 264 334 412 413 573 656 657 887 888 889 890 891 892 961 1046 1187 1269 1270 1338 1339 1415 1507 1508 1509 1510 1592 1662 1663 1664 1756 1840 1921 1922 1923 1924 1998 2147 2148 2149 2302 2381 2382 2542 2543 2544 2625 2732 2822 2823 2824 2910 2911 2912 2989 2990 3076 3077 314...

result:

ok good solution

Test #282:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
131 267 268 269 270 398 529 530 653 805 927 1056 1057 1186 1320 1321 1597 1874 1875 1876 1877 1878 1879 2123 2124 2125 2374 2521 2659 2798 3063 3196 3316 3452 3453 3454 3573 3719 3720 3721 3863 3864 3865 3991 3992 3993 3994 3995 3996 4150 4151 4152 4277 4525 4526 4527 4528 4529 4530 4626 4760 47...

result:

ok good solution

Test #283:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 229 330 436 537 630 631 860 861 862 863 864 1300 1526 1637 1638 1848 1950 2060 2061 2062 2063 2168 2169 2170 2171 2172 2173 2281 2478 2662 2754 2872 2988 3080 3081 3184 3286 3287 3288 3399 3497 3498 3499 3500 3501 3502 3730 3731 3835 3944 3945 3946 3947 4051 4161 4162 4163 4380 4760 4761 4880 ...

result:

ok good solution

Test #284:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 996 1922 2928 2929 3955 4932 5910 5911 7892 7893 7894 9851 10900 10901 12785 13794 14768 15779 15780 15781 15782 15783 17704 17705 17706 18641 18642 18643 18644 20653 21689 25620 25622 26587 27613 28652 29697 36640 37624 39571 41521 42519 43465 44420 46422 47420 47422 50312 51275 52190 531...

result:

ok good solution

Test #285:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 86 128 168 169 170 262 263 264 265 318 376 421 463 514 515 516 555 556 557 558 611 612 613 614 825 926 962 963 1057 1058 1059 1104 1152 1246 1247 1283 1284 1383 1437 1487 1488 1583 1623 1624 1667 1716 1804 1805 1806 1807 1852 1853 1892 1976 2021 2067 2205 2344 2345 2462 2463 2464 2516 2574 257...

result:

ok good solution

Test #286:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAA...

output:

YES
1 38 39 40 69 115 116 117 118 158 159 160 161 238 239 290 337 369 418 419 420 459 460 495 496 531 564 565 566 608 609 647 694 749 750 795 796 797 798 918 957 1020 1065 1105 1106 1107 1108 1153 1154 1155 1156 1157 1200 1201 1202 1244 1245 1329 1330 1381 1428 1429 1430 1431 1519 1563 1564 1602 160...

result:

ok good solution

Test #287:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 83 84 227 228 473 474 475 476 477 478 617 692 764 765 827 977 1033 1102 1153 1154 1155 1156 1218 1219 1289 1290 1356 1420 1421 1422 1423 1700 1701 1817 1818 1898 1899 2059 2060 2061 2133 2206 2280 2504 2505 2506 2507 2586 2587 2588 2589 2590 2641 2642 2700 2776 2979 2980 3053 3117 3185 3309 33...

result:

ok good solution

Test #288:

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

input:

AAAAAAABBBBBBBAAABBBBBBAAAAAAAAAAAAAAAAAABBBBBBAAAAAAAAAAABBBBABBBBBBBBBBAAAAAAAAAAAAAAAABBBBABBBABBBBAAABBBBBBBBAAAAABBBBBBAAAAAAAAABBBBBBBBBBBBBBBBAABAAAABBBBBBAABBBBBBBBBBBBBABBABBBBABBBBBBBBBBBBBABBBBBBAAAABAAAAABBBBBAAAABAAAAAAAAAAAABBBBBBAAABABBBBBAABAAAABAAAAAAABBBBBBBBBBAAAAAAAAAAAAAAAAAAABB...

output:

YES
1 2 3 4 5 6 8 15 16 17 24 42 43 48 49 50 51 59 60 63 74 75 76 90 91 92 93 95 96 97 98 103 104 106 114 115 119 120 121 122 123 125 134 135 150 152 157 163 164 178 181 186 200 207 211 217 222 226 239 245 246 247 249 250 255 257 262 263 264 270 280 281 282 299 300 303 304 305 313 314 317 319 320 32...

result:

ok good solution

Test #289:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
664 665 666 667 3485 3486 3487 3488 4215 4914 4915 4916 4917 4918 5586 6277 7643 8350 8351 9729 9730 9731 9732 10436 11135 11827 11828 12497 12498 13170 13171 13848 13849 14539 14540 15222 16559 17213 17925 18633 18635 19324 20682 21355 22007 22709 23437 24148 24850 25509 26191 26885 26887 27540...

result:

ok good solution

Test #290:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 4 5 6 7 8 9 276 526 527 1077 1323 1324 1325 1326 1584 2412 2413 2663 2918 2919 3180 3707 3708 3984 3985 3986 4234 4235 4484 4485 4925 4926 4927 5195 5196 5457 6232 6478 6700 6701 6702 6703 6927 7222 7223 7224 7476 7695 7696 7931 8631 8632 8633 8634 8888 9147 9148 9392 9393 9646 9647 9648 9...

result:

ok good solution

Test #291:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
98 196 306 307 404 405 512 513 514 515 516 517 627 907 908 1002 1103 1209 1322 1423 1424 1425 1530 1531 1532 1629 1630 1631 1712 1713 1714 1715 1716 1818 1819 1912 1913 1914 2007 2097 2098 2099 2182 2183 2184 2391 2492 2493 2690 2691 2901 2902 3021 3125 3208 3335 3336 3337 3438 3439 3440 3441 35...

result:

ok good solution

Test #292:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 7592 22818 22819 22820 45815 45816 60889 

result:

ok good solution

Test #293:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2 3 56 57 110 111 172 224 274 275 276 277 327 434 435 498 499 549 602 603 659 660 715 716 717 718 768 769 826 948 1002 1138 1200 1247 1306 1307 1360 1418 1476 1532 1594 1659 1660 1718 1769 1832 1881 1944 2045 2159 2226 2228 2341 2451 2499 2556 2605 2653 2701 2805 2854 2968 3019 3079 3185 3236 ...

result:

ok good solution

Test #294:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
1 2 3 4 5 96 97 205 313 314 419 529 731 732 733 734 952 1030 1121 1328 1426 1427 1506 1507 1508 1629 1819 1919 1920 1921 2020 2216 2217 2449 2543 2544 2545 2546 2734 2834 2835 2934 2935 2936 3037 3316 3317 3318 3505 3506 3507 3508 3509 3597 3773 3774 3775 3969 3970 4178 4511 4512 4619 4816 5231 ...

result:

ok good solution

Test #295:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 428 429 430 431 432 433 2106 2107 2543 2982 4216 4673 4674 5094 5489 6370 6371 6372 6373 6800 7251 7252 7253 7254 7676 8923 9331 9332 9333 9773 10195 10196 10197 10198 10199 10200 10610 11007 11863 12278 12704 12706 13516 13518 15218 15647 16076 16941 17349 18223 18639 19065 19517 20390 21156 ...

result:

ok good solution

Test #296:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

YES
75 76 77 78 79 80 316 317 378 463 464 531 532 591 592 659 660 736 824 825 826 827 828 829 968 969 1122 1283 1284 1285 1286 1361 1362 1502 1740 1741 1818 1959 1960 2114 2115 2180 2181 2182 2183 2258 2259 2260 2340 2498 2584 2585 2822 2890 2891 2892 2959 3039 3106 3191 3354 3416 3417 3418 3629 363...

result:

ok good solution

Test #297:

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

input:

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB...

output:

YES
1 2 3 3096 3097 4069 5089 6082 8162 9175 10154 10156 12177 14253 15262 16280 17346 18404 19468 20503 21528 22562 23640 24677 25750 26780 27784 28780 29814 29815 30835 31881 32847 33877 34871 34872 35878 37964 37965 38971 39962 40973 41989 43018 45071 47088 

result:

ok good solution