QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#449598#8596. Подарунок Ледiarbuzick#100 ✓53ms17404kbC++202.4kb2024-06-21 15:15:252024-06-21 15:15:25

Judging History

你现在查看的是最新测评结果

  • [2024-06-21 15:15:25]
  • 评测
  • 测评结果:100
  • 用时:53ms
  • 内存:17404kb
  • [2024-06-21 15:15:25]
  • 提交

answer

#include <bits/extc++.h>
#include <bits/stdc++.h>
#define unordered_map gp_hash_table

using namespace __gnu_pbds;

using namespace std;

constexpr int mod1 = 1e9 + 7, mod2 = 1e9 + 9, base = 29;

void solve() {
    int n;
    cin >> n;
    vector<string> a(n);
    for (int i = 0; i < n; ++i) {
        cin >> a[i];
    }
    string s(n, ' ');
    for (int i = 0; i < n; ++i) {
        s[i] = a[i][0];
    }
    unordered_map<long long, int> ind;
    set<int> free;
    for (int i = 0; i < n; ++i) {
        if (a[i] == "?") {
            free.insert(i);
            continue;
        }
        int pr_hash1 = 0, pr_hash2 = 0;
        for (int j = 0; j < n; ++j) {
            pr_hash1 = (pr_hash1 * 1LL * base + a[i][j] - 'a' + 1) % mod1;
            pr_hash2 = (pr_hash2 * 1LL * base + a[i][j] - 'a' + 1) % mod2;
        }
        ind[pr_hash1 * 1LL * mod2 + pr_hash2] = i;
    }
    vector<int> nxt(n, -1);
    queue<int> q;
    for (int i = 0; i < n; ++i) {
        if (a[i] != "?") {
            q.push(i);
        }
    }
    while (!q.empty()) {
        int i = q.front();
        q.pop();
        int suff_hash1 = 0, suff_hash2 = 0;
        for (int j = 1; j <= n; ++j) {
            suff_hash1 = (suff_hash1 * 1LL * base + a[i][j] - 'a' + 1) % mod1;
            suff_hash2 = (suff_hash2 * 1LL * base + a[i][j] - 'a' + 1) % mod2;
        }
        if (ind.find(suff_hash1 * 1LL * mod2 + suff_hash2) != ind.end()) {
            nxt[i] = ind[suff_hash1 * 1LL * mod2 + suff_hash2];
            continue;
        }
        int j = *free.begin();
        free.erase(j);
        a[j] = a[i].substr(1);
        s[j] = a[j][0];
        nxt[i] = j;
        int pr_hash1 = 0, pr_hash2 = 0;
        for (int k = 0; k < n; ++k) {
            pr_hash1 = (pr_hash1 * 1LL * base + a[j][k] - 'a' + 1) % mod1;
            pr_hash2 = (pr_hash2 * 1LL * base + a[j][k] - 'a' + 1) % mod2;
        }
        ind[pr_hash1 * 1LL * mod2 + pr_hash2] = j;
        q.push(j);
    }
    for (auto ind : free) {
        s[ind] = 'a';
        nxt[ind] = ind;
    }
    cout << s << '\n';
    for (int i = 0; i < n; ++i) {
        cout << nxt[i] + 1 << ' ';
    }
    cout << '\n';
}

signed main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
    int t = 1;
    // cin >> t;
    while (t--) {
        solve();
    }
    return 0;
}

详细

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

3
zatzatzat
atzatzatz
tzatzatza

output:

zat
2 3 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #2:

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

input:

5
mvxabmvxabmvxab
abmvxabmvxabmvx
bmvxabmvxabmvxa
vxabmvxabmvxabm
xabmvxabmvxabmv

output:

mabvx
4 3 1 5 2 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #3:

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

input:

5
aijjjaijjjaijjj
ijjjaijjjaijjja
jaijjjaijjjaijj
jjaijjjaijjjaij
jjjaijjjaijjjai

output:

aijjj
2 5 1 3 4 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #4:

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

input:

3
qnqnqnqnq
nqnqnqnqn
ooooooooo

output:

qno
2 1 3 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #5:

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

input:

4
pxiipxiipxii
iipxiipxiipx
xiipxiipxiip
ipxiipxiipxi

output:

pixi
3 4 2 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #6:

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

input:

5
acaaaacaaaacaaa
aacaaaacaaaacaa
caaaacaaaacaaaa
aaaacaaaacaaaac
aaacaaaacaaaaca

output:

aacaa
3 1 4 5 2 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #7:

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

input:

4
bcbabcbabcba
cbabcbabcbab
babcbabcbabc
abcbabcbabcb

output:

bcba
2 3 4 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #8:

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

input:

5
bbcaabbcaabbcaa
abbcaabbcaabbca
caabbcaabbcaabb
aabbcaabbcaabbc
bcaabbcaabbcaab

output:

bacab
5 1 4 2 3 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #9:

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

input:

4
caacaacaacaa
aacaacaacaac
cacaacaacaac
acaacaacaaca

output:

caca
2 4 4 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #10:

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

input:

3
bacbacbac
acbacbacb
cbacbacba

output:

bac
2 3 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #11:

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

input:

5
rhuqrrhuqrrhuqr
uqrrhuqrrhuqrrh
qrrhuqrrhuqrrhu
rrhuqrrhuqrrhuq
huqrrhuqrrhuqrr

output:

ruqrh
5 3 4 1 2 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #12:

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

input:

3
rqyrqyrqy
qyrqyrqyr
yrqyrqyrq

output:

rqy
2 3 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #13:

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

input:

4
wfruwfruwfru
fruwfruwfruw
uwfruwfruwfr
ruwfruwfruwf

output:

wfur
2 4 1 3 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #14:

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

input:

4
arlharlharlh
lharlharlhar
harlharlharl
rlharlharlha

output:

alhr
4 3 1 2 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #15:

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

input:

5
uuvrzuuvrzuuvrz
vrzuuvrzuuvrzuu
rzuuvrzuuvrzuuv
uvrzuuvrzuuvrzu
zuuvrzuuvrzuuvr

output:

uvruz
4 3 5 2 1 

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #2:

score: 6
Accepted

Test #16:

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

input:

261
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddiddddiddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
261 261 261 261 261 261 261 261 261 26...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #17:

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

input:

300
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjbjjjjjjjjjjjjjjjjjjjjsjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjrjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjjjjjjjjjjjjjjjjjjjjjj...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #18:

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

input:

286
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
286 286 286 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #19:

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

input:

274
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssussssssssssssssscssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscssssssssssssssssssss
274 274 274 274 274 274 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #20:

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

input:

261
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuueuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
261 261 261 261 261 261 261 261 261 26...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #21:

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

input:

274
didididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididi...

output:

dehccfficbiccaahehejeggdagjfcadgajbdbbbeibjhgfeeafjgcgebeghacabcfgjdaeafacdejegbhbcijbgjdjaahhjifachdeiihdabadjbjeicjjdijgfefjeihhggcdchgbbgdddchifgchadfhedhejbbaeaejfjagiccajahbfibhhccdcfaddggjabjjcbbeajfdhgdgccaifaggihdfhcfdaddhcjadaggaadiccffgfichehicijjieehehaaddacaehff
253 247 272 243 252 273 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #22:

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

input:

261
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

chdjcceghiegaijjbdcchicijjdccdiggbgieddcgfdacdbjbideeaaadfaiibeaabdgbadhedaheegbffgghidjjfjagaeadbaeggijcgefbbicgaagfjhcjbgiadgbheibadgehaeeefagabjeadbhfdedfefgghbhhbjfggigfjcchehbjhdhbidfijdaagbbajaaeigjbbfcheehhcjehebgcfiihhaebcbjhaghfdgfheejeiifeddegddibjfgg
230 241 255 244 230 230 252 261 241 25...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #23:

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

input:

298
fgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfg...

output:

fagifgjhifjggdhcdjbacfbabcbcjaiddbgihbbgfgchjfciebghbedjbhiafgcaigicfjbbigcegfdbdceifaiahiecigicjfdcfbbjbehejefaacbhdedjjchebfeahcfcfachhdbddehadihihedhcgfcbdhieaieiieggbebgjfdagjfeaegiafegdcjihagefjheibchaghhcbdbfjhjgbgbfhhihjdadijfiiebchdcdhfgebiiedgjaffccfjacaheejcgdebigddgfaghaieffhgccebbeehff
1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #24:

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

input:

285
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

igjfjafbhaebiijajigjebhhbfdacgachjaeddicfggcejjgcichifgbjehaacaechagefjgfjfafbhhedggbgdbdbacighifgdhcaaghdggefdcfjgbehghagbfbidhibedcfbgegjbcdegffdjbhdjcbjdccfeiegjfeiacgfbgaagdhbabbigfahbijbfdehecabbbdfdaccbeigjbcbefhgdaehgbjfebchhcfgigehgcgjafdfhdbebgcdihibjdfibfjbcjhdbaibchaggaigbc
282 151 269 26...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #25:

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

input:

272
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

iaeaighbecbbjhfcjchjceidcjjgeibjgagbhgdddaijcdgdiffgdhefeefghgcdabggcbhghejbajffajicecbbijdfgecdadcjdbifjeadaeijfbechcheeeaccbecaafaheeghchedaaedfaihecdghbhfjefgeffiicgjbiaefdjfdgcfebagehigehfgigejbdcgehhabcfdjddhjcicjihedegjcdfaaadaebdjbihjchiahjfbecigbbdbacafediiidcaibi
272 269 262 269 272 253 246...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #26:

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

input:

296
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qzexljnactcaxsjnasqdhywyrhmoxjmxbpmnzeuveirsmdzwsmoxltipgzqkxcfsuqgmqdxciugvfxsteltdhmutunxkeqqtqliaolztqthrhbedvvdvtzpihkdxekidvegsiuleowdeeqswkdaubscvtnfornwkfkeiflmvevopwmmuwzrnyijtphbqjfeupwicxveivyzkuvwtovxercujocksqlxzhxhtvvyncxwfhubjtcikmvcfegjwnarphpfqyluobiscaccopyjcbyqadqmhpqvyfcltqdrc
282...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #27:

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

input:

283
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

ifdgkclbqjvhdedriksictbzidhevdgqsyihpjovsedmyvulavudogsddzhotvuemzwecjpxtnldmqlwklxuhgzkhfjdejqvdpvpjsgxahaknqcssxuypiyptldfmjkfcfpgyldwcbkqaocirppgqzplkjtxtsotulzcvtlvsqtzdhejnzibobuzvaidqbptclosiihnrowjxqdqgerapjphuyqbhtavyikwltolrgjqijadtwokneqvwtlxvhjzjuzjwyubckhsqtfxubvkfhkitzg
280 277 188 283 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #28:

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

input:

270
klklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklkl...

output:

kfxmqyljuitgldbrytqzwnzyzcrggrkcchliyshwadgwrhotuicudynzlznanoskkggcqnklctxbvznyannedcdszfkhnlgpoocbqtfwqrmuzcvcjzncxqklfkquehgbwkxgzvphevvygjpcaonxrhwkzujdkpxlcehlrplvdrayjxwebwtkjumbevjyortdngztkbfdtlffwuxwcwahatspmzpkyjlouyzfqfbjevyhspzswnybnnxgirmebwafvpejrpeetjxrnh
160 256 267 251 229 158 223 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #29:

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

input:

257
ycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycyc...

output:

ytscdpohubayllylufhzsctsosxxgrcempnncqbfluaklvlarvanlvljmsyfefbtcnewulzhemcoauzinbxxprqzjnmzbwzqrkltbyzecdjbkjvafuefgdfpzcbbldolwwgmwzeqmqzpivfpnhwujefjnjqbsucoqjmthgofboogixqqhavoaioijayhlcutixxjjjpluqxpzbbwswhhzigjvajkemjuhmuwircnofmsjognxarfejkdmrjrbzqdm
105 119 214 183 126 163 7 210 78 159 249 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #30:

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

input:

294
gbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgb...

output:

gcsojlkuqqszulrctvmasnwoqulhxjfomazioplqbsixohkugodtdzncuksgsujkurywtiwceayhboftqssdeahryeipywnhuypcboysraevoyyldowbkwnhmsqjerqhqiaaqnnesezagzqcnjovqbrrbvtgmbgpohnpvdjuotuthnltycpkdyynwynizwbzuemvnpzhkpbmjcizmyhrobijbqianjebwhukxbdrurhwpxdljjaiqbljjwjigyzgwugyzhjwjivpguwrxwqmlwmrtipcfooymlaldz
191 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #3:

score: 6
Accepted

Test #31:

score: 6
Accepted
time: 1ms
memory: 3920kb

input:

295
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuiuuuuuuumuuuuuuuuuuuuuuuuuuuuuuuuuuuukuuutuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuucuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
295 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #32:

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

input:

282
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjpjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjbjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
282 282 282 282 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #33:

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

input:

268
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

llllllllllllllllllllllllllllllklllllllfllllllllllqlllllllllllllllllllllllllllllqllllllllllllllllllllqlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
268 268 268 268 268 268 268 268...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #34:

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

input:

254
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

dddddddddydddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddvdddddddddddddddddddddddddddddddddddddddddddddedddddddddddddddddddddddddddddddduddddddd
254 254 254 254 254 254 254 254 254 254 254 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #35:

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

input:

293
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

ttttttttttttttttttttttttttttftttttttttttttttttttttttttttttttttttttwtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttetttttttttttttttttttttttttttttttttttttttttttdtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
293 29...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #36:

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

input:

291
kjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

khmnjhcigdigjloioiejgefgdhggblabbikgekaifcndnbcinkmehkjbfoghondieaikmanibdokodkchclldcfdfbghdcjgagnnaoadfmgikliafdkmabclmdaeelgiganeolhcgdbdbobefmleknbddkmfjicmjmglndeakgbohhihmljmkgjdheilflfhncjaejcoodgiejnbjhlddgmkadgmflfcicklgiekemdehklocaingedcgklejdcimcflmaajhmngcnjangeldfjkenmigagjllj
279 204 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #37:

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

input:

278
chhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

cnlbfhhfieogdeljhnedmdceobbolddobimkdmlmkhfobfoiegjabdihoeceeijfnglnoehifjailmddkfdnekclogefldlobdehakaaocoofceicihcomoedaknkjjlkfhmnnolnegandodediaidigmakjemlaimmgomaeimeaenmmlkhmfibfoeidnddiafjkoiobenbbaadbogniffeejfgjfbcodngkijnofalhcecgeabfnojmankgnmioafdoilcmcllhkmkjfkaeah
278 278 278 278 278 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #38:

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

input:

265
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

output:

hknhafmndfedfdaibeemjhmhlbmhfccalahaahjnagagkjcfibghehfngiinfdhbhcbgbdklgjjaminekgdiklfdoimgfcggmgdbbdgnhmfglndgjfahcfbekleblhiaekmicngdennofhkoiankbimbikafiehfoobhfhhhdmljldhddlomdfianmkmmlalfcnebhbiodjkojbelcijkemgmhifjgjjglkfidolnibnjlbnifjjhoclacalbnacnbkhgfedb
188 261 241 257 155 220 155 260 22...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #39:

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

input:

251
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

cldjkfkinneeejhhkhfjgllanfmlbgijhchgfjjagekegmnleoeojdhjfbfbmnnnadlekneoeecjjiiknmcobfifehedmggmjbfchfelfjabajmjmangnodnibojdakceokegiakooflbioglchhdcjjjeolagdjogmlmlcomlnnmkhmondbgeffdaihjjhajclckllehmeemanodheigjjiacoelalgikdeediakgjflmmkagfmbbkeiie
218 218 218 218 218 218 215 218 215 188 218 218 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #40:

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

input:

289
ijjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

ihhihokioabnaachheceaahgllbocbahlohkoilhillclcggljonlnehdkiihicaconmcaimdlmodkfafglldgecmojgelfnfibmabjhbcelgkicafnkajgfolacjgmnkljkknbhodlejknhogknlclaellgkgnhklmllebendacabdklngcfggdmjiflelifhlibmoblbfhkokgnhamhfhmlgeojaolklnfhjkeiabjjgjdhcemdokiljfojmdejakfodnfinihiljmmloagimcmbmagmmfn
257 228 20...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #41:

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

input:

278
kvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

knjewksuqygfeultwzttgpovltlxrrzbzrgjsanijusssfxdoewobpesethvkxjwuqkygicfjjqbzajipbjmozsnallikbmwrqwrfeleasykounacbmremkdiqazbfibvnttrwwxbqimnohdpttxtapkvgzxvmrcnfmrgyczpdhbcbfrvndvdddtznrbtboxjiogeaxohvkibygibleogyyrdmifgajryftwxsqvmzbklmfyewypevsanqaveacvqasvvorujotqqopxjxykxu
260 249 144 243 243 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #42:

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

input:

265
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

aadbzuvcsfcjotyjncdojjftsztzylygyuyocgydfobfqwzjzsrftwnkxblezpeotccainmhfxhuajqmiwvqifwvqgjzrlwdgeynhvqhlqlmieebwjcrlujueojqlwvngqetmglrelgpcuyeiscimvgkggtccwpovvzygquktdquftcuaxzofqdhzqfcxahgpgjxqmgpafhssyduwhpkxrlegnbkbgodtmcfmxtwuoknmdtycwmfepbgxllwvxdbscvutzqap
190 250 244 256 185 260 190 241 24...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #43:

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

input:

252
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qpstshaqlzubhxwfnvvnqcukxxagivjzkybohissmadxubjjolaauonjjfsgmqtgwehgbdlrntpfgzcqxyvfjpiriexnqqmkbjbiyfospyjoxbvwiapxepvwmvrreamdytnzrapzsvrpnyctctfgjltitethswvjubnwmzayzcgjjwzvgdlfsnjvwjyyamnczmpehvehzefzillorlaanzqnwoozxljgwfcyvgadpsjqcaufmksckmzvqhgi
236 246 141 29 5 236 236 141 236 246 184 236 18...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #44:

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

input:

290
mvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

mqcfswhewsoutfjvjtpunqpetvloszsltwwoogaddetoeyjzvbviknsyexpmxtastbfhfirvlxdukccrzimhdehfqceajoptpptgljnqollcecytakyivqgnxqgphkqttdwapddubunygtbjqbbmdvivedkrofhutkwmjskfpslgmskabtzifubbmwlnknphmetlotcfaithojyehfsclwiorxnwtfqwnfdqjuhzybzfwucbybmvbojtmikfinffujewmbjfxgvhecbwinhggcpyjymdsbmhvi
117 258 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #45:

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

input:

276
ciiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

ctpbhmxndbmgjihpqkkxujlbpdojbdictjjysuukcxdqmqdcfioisifrqelqkjhkinzkvfujdovefhbmvodblsbvymfjavfuluornjsamjdemnpfwrggniyaujazqaklckuztbyxseaasmokraxxytdswucfkeyhdojsqhuguyodhshotsommzsyhdblizmzdetphrqlxvuajhzgxervblilaciqmtsqvvokntqrfewfvhpevodbmcwdawhucuxsyoxdzbbepirgasnqbfoc
189 130 240 242 242 240...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #4:

score: 9
Accepted

Test #46:

score: 9
Accepted
time: 2ms
memory: 3956kb

input:

292
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrcrrrrrrrrrrrrtrrrrrrerrrrrrrrrrrrrorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
4 4 4 4...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #47:

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

input:

278
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffrffffffffffffffffffffffffffffffffffffffffffffffffhffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
167 167 167 167 167 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #48:

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

input:

266
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffflfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
266 266 266 266 266 266 266 266 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #49:

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

input:

253
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
253 253 253 253 253 253 253 253 253 253 253 25...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #50:

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

input:

291
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooohoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooosoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooloooooooooooooooooooooooooooooqooooooooooooorooooooooooooooooooooooooooo
219 219 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #51:

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

input:

295
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

debcdececadbbecbebdebbccebdddedbacbaaedaaabebebcdacaabdbebcabadabbedddddcbaaecdbeceaacecabbaedcebbcedbacedacedecedbeeaacecacdebbaeabbaddbecbecbadbbeceebbdadcaacbccaacaabbcdeabdccbebeddccccccddbbaceadddebedcdecbdbeaaedebaadcbeadbcbacbacdcbccbecdbddcadaaecdbcaddaaebcbaedcbcebadccbdaaebbabbbbdcceb
1 1 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #52:

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

input:

281
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...

output:

eacecbbbeeaadccacaacdcaadeaccdeedcaceeaececdbccebddecebbeabddccbebeddcedcdedaeeebeecacecacccabcbbabedddaddebcdedceaabbebbecddeeabdabcaccdcaabbebdeebbadcaebcadacaacedaeeedeacbebcbdceaecedacaddcccbbceecdeddaaeabbebbacedebcdaddcaedacdeebccdeabeedeecaccccdbcdddebccacdbcdacaaccdaaaeedd
1 1 2 3 4 5 6 7 8 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #53:

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

input:

268
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

cdbaeeacbbbdcbebeeeedcbdbaebcabcbaddceccccbecdaedbdaddededbebbeaabababadedceadeabaaadccbbabacabcbacbddacbedddccbcaacdccbecdcbeaaeebeababeceeccadcbecccdcbbadbcabeaececeaabcbdccebabcacabaebdaaddaaebcedbebadaddbaacbaabcedebaccecaedebdddbcadcddedbaeabdcebecccdddebcddcbaed
1 1 1 3 4 5 27 7 8 9 10 11 12 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #54:

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

input:

255
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

bbbcabccdaaeddeedbdabdacdebacaedcabacaeeadbaeceadcbcbecaeabcdecadbcbbaaeaaccdeaecbdbdaabdbaaecabaacdbecaebadbacbbddbabcadbebbbdeaccbdbccabbbcdcbaecbaedbeeccddcecdddeabaddabeaadabbcceaddecdeaedcbacdaebaaddcdeeddedccaedbebbadcbebedbdceeabededceddbdbdbaaadeb
84 84 84 84 84 5 6 7 8 9 175 8 12 25 14 15 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #55:

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

input:

292
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

bbdbadbcbadbbbadecdbdbaebecdaedebedccedbebadaacccdeaccecaccadacecceaeabeecadcaddbbbdaaeadaaeceaaebcaedccacaacceeacdedabececcdbabbdacbcccbdccdeaecbbaadadaccaceadabbeebeadacddeddebcebeabebcdecbaeabbdbdaecedeccdebbccdeeeacceaacbaeaecdddbababbebabedabecbaaacccacdaabbdeebecdacbdddeadabbebcdecddcc
2 2 2 3...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #56:

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

input:

289
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

cwuavzgwhszmyahthcciimlzvdjhcbxiqmfltbcigsykpukhodmjkxbiradxymarqcbwudexepqyshzrjjgpihrlirccuoxvvpctuimwzjrwhokrnrcvqnbceeehocbreqpxrzfqordozbifwqnjilgiuodroxinucduoypzqjejqiatburbygvskmbwfjbtewcurmmnbyxzsqiyxezlvlcaiazeklzpwhdkognsukqnzjmjrneyiwaouyfobjfbnouexgrxmellagodpqifejizdvqvkgshb
215 215 21...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #57:

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

input:

275
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

szpstgtivbqoueqrrnarfkkghnivkkpbmoxjtcjdazmmqaywluozcblrlghbdhyqwuokykzsqlbinwfjkmdzwrzfotmdgponsruseonudiahotposvfdhwrtifoniiubdasmkqsflrevrvxjusribkpvbvuwvoqxtmnrdqffecwyjnsqfrwdhbknhfnxtrafxftxqxapqiotonfidyippmigagnkronplooosfnxrvsnzuhiaalavvxitpswolljxlzsocendueswvbhaag
1 1 2 3 4 5 6 7 8 9 10 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #58:

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

input:

262
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rmjygziopxbwvbqazdfcoqxfgdsdlqdcggxnvqnpqoawxusmfdfzepqvzjrefrdiadtptzdxkwhicghszyohjdzcezyurtckxrltvnoeymnqudrhfrrrycojdeoioiyqxbyjfyoxldyajfewntehgsdtphwrbzpppwfnxadqqhxlfxopwaxpxhobxjnrejqeibdgqnzhjlozqdknllbqrfvwbdhdvffbsrkomenleydexwsjsfkswlmanbzvhxrjreacgv
1 1 2 2 2 1 6 1 42 2 10 11 2 2 1 15 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #59:

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

input:

300
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

output:

nyltrdweybalineehgjailnwkeaelvunxnsojspruwnvrozslgakbhwcstulfomljytrlsynrtrfxwaawqxtmeoybbsvybrpxekyphrhjynfpviypjhxykwemozqalzymnlvfhldrsbxfaoizivknptlmkntfavtteyfmabjmjbhfguuiemradhgjuxujtuhuiagruigvevtpxtcdiqdegjwjglldeeyuctqmxhfiiiogtqyflielcsntwkvhfgysbfpstoiaqsanawkclqgdjhfpfhcxecavkeducyieagv...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #60:

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

input:

286
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rvueznemoeywyknhdyintobqvtldfvwqutarxctyzefzuaudbhjdcbhbcvtyreyhyvewelkasdzkcmeqoyhwczrgeqaafzczsjjyooemmryrdfgojufpzgpamodmlfbwbladpjhogkvmbxvjghqbrjtwhsnkfljnwinnhnjrsohuaxpzkykzmpqdqckwykwmwesduiolbwiackadupfmqrzxahscqwtrsfjtktyedufhaavvfsordyuzecvafwlppvhqlupflwuvzctlxiwtecaubpapxh
1 1 2 3 2 3 3...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #61:

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

input:

273
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

voyhfvgcbjzlxkeirtnuofdmzntnqyaauswhhrbotgknbfmrxgictzfxevoqtjalnnlufrsvghrkkuhilluajqytfrkxkiffzikrqpddfhyihmzgrneewhlxipwpvhpwwjitelxrammnmvbcxjoeopeokdwcgbvzxzpyzmqtwvmuvvjpmvqgzwglocdjwyqhyzwuzgxolbzjugtmdgjsfgzgfinhbpwtbbbcsdwxjookbufnflpqbxdimzdxoqsokcphqyojktussymdd
1 1 2 3 4 46 6 46 8 9 85 8...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #62:

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

input:

260
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

xisobppiatrxdcdevqcqbjpuindnygomhtxczeacmxtfpbpglwmlrhgzfmqgjeqmlnairkvcnjsskxbvhjgqyozgynqulyreqqmqnzhjsddkcdnwrdcqiklzoofocnnuhhdgxayoyeemndrkyflgfpnvzbnreqctbmzyjjhukbwgisgsabsnbhmpgawjpkjudfbanihidrljfxkcytxtsbeqvbogfetlwyjbhmqqoylfhtjmgnikconhbjxhsslofzrj
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #63:

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

input:

298
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qnmgmjhjoorlksuyhowxdxakysuhaijoxpkzzlmhmesnspcwptmomfnoyngzkkjuxhnxyrafrgrppelooxwxbezhpjksyczskdhlcidjzmchmpsdqckqghgixawmgsejjttxsuqmoydgxkjreqrhukpgywangspfmmxozdczvicolqxrgfijzuxefobpoegswtvtfmxjuyjilyhukbtszjxdmlxxjsotvgcanwquaxdaqqnzwoezouteppeepagobpamwlmacdvgkionybneuootakqozpqnrgrdduhqpn
2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #64:

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

input:

284
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

apogzhbjlaecakdwmpgoyqlyvafaxmhflhoqsriybbzjbtwdgrjemszofshnefhgyrkqsdfwwijfdrogipuywkxrqcbrptswcdvtxbpzmbswzkwvqubduqjngllyesriweavibqftmqpxilraulgbiuefibfrcvsamvjpeoyxvllrzostilvaygohkblbhjvwrjjreqqfirgfxexcrzvladilbqnmzhtkackcrnimucbrwtjdrawrowqqrkcbilmjfvlosiwanqzrdsvewodqasuukwx
1 1 2 56 4 5 6 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #65:

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

input:

256
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

output:

khdptoabpluknqoalhfygwckrorcxkfdiqznewfmutaspakgotdmdbzqwidymdchojswkndctxyslzfgjljuplberclqrupedfqifzdvbwgsihuzlvcmhsqmnpzgxntyklkzsjupanmygsrxtswxbtphwrdjmoxhsiqgyfxssvfbagsrtykzlmjejsebntqirnokyuuxggolkxhcbsraigrqbzwikmiukvivoeuaxqfbalkcqzlaovgzqrbfhfwj
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #66:

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

input:

293
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

zxlhxpdphelfacuhqwyzwdqdnpafobctieclbygipnzlvweapqdtkdddvnpgsxrvibqwtwqdbpejyjxhddaqtbfdtnohhkpvuokafwppbptlagzfvpqkfgqybrxubllvdgmnthagbndcsqeqoozreveyyqhqmdnvczpicsreuuuyrcgkaglfpbxzusjevvwswzcwulehiejeqtlsqlnvyyzynykjbtcxxcajpnhgcphxjxyhbnjbnyyegqttutgchaufqqvyyjzniftfhcqmiizrxooonwzfvvggw
1 1 2 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #67:

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

input:

280
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qffqpoqvkqnkidokvafmpqzpxhyelfsfcmefvyatxwlhcccdfiaucfwrkfhqnudbysusryjcihfalpykqnnpytklfcnhhponvyfejciffakfyejeauifyjmoahobkxozxwhxkrilwveqqdoggujypzhqnnwkstuxznlfkfphqkrrriejkxxuapinwsnmowwgledmlccxwwhywpcfubtioeaqsgexvjoaadyrpwbmoovzpvuimslkhtbjxdvrsujxrumukjxkpilmzoavsgjzaibq
280 280 280 280 280...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #68:

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

input:

266
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

hrtcqfzeytzdzpppmmlejeyfhjviejifsvpzssmpxmrunpfafumjlmoctnjwddxmzhzvdkmpuzayraacmedzfonwkjbywckidntneqdetthcaazcidrjcvcujuypdyamuwiskjspwcqapjlkiewgcbyoyvncxcbslxyuccvjeqvvzuhzcgtlqiqiftoqjbmraaumxhtsassrkcougcyllkpwuzbihhtizlxbvzgymizesqfjvkhedotawygsoprujnjmolzwui
1 1 2 3 4 5 3 7 8 9 10 1 12 13 14...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #69:

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

input:

254
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qvmvgslxadhcdvfyqynlnbnmfzmwsfhrbnmtagjlvkwihdpinweyuwvjixiqflbtwdijdtssderqbvwlndmagjocgycjcrqcbzpjstrfuxgetmofzxbgxehpnlchmdxrwkyqjkbayubegorzjehwgevcpsxzlkitwsairakcgxwqnvhqxqedkuxyfrpiujespiqewvnyowoleeohjzrrlywlbxskjrktvzjwgdfzkjsnhodyphunxsczvekose
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #70:

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

input:

291
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

gzpljjluoorhbvftgbaeflggasehwzpmxbnefjwajsbuvokttbgvvfrugefzksyzchoqpazkmjzueylcqhbazhmoceyravkjaelsobwsdyiiczcogzeobknmrujoicbmffcorrrrunnscnzsaackmxulkqxphqdkzketorhjkkexspqwebhpsyalgzbfndwteksqmsuprkulqiffdesarntrwnviqfyxsnnahxcfqoylnajpqbsvlkteobuwjawqinpdzczlmhjathosmzxvynwkrcrqyazqegg
1 1 2 3 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #71:

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

input:

278
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vslnfuawlgntpfmucixqkxqycgknqofpznougpkpuqqxudkhchdbcwpteoouedolkvjzktqgvwxnflxvokutalerojuniaholmkqtbmhlqsdjqhwnjbmdvhpgxqjvhdinmycoagyiweufmcaxllpttwioqxuzfefpjfdbnzeoisbybhmyitbmqeykmmrhkfbgqbqqvlhpauxfgoltoravurrfxyvqnhndhsyppfdkskmyrdluoagdsprwoccojolrzycslhxeaukjokwfappbq
1 1 1 3 3 5 6 7 8 9 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #72:

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

input:

265
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uocnksebkhzetcckvnpwldpbhidaxuhkuxgqhvicupylfxxrkhebzfjicejtbdivfdkljlhpernzpzsljagekrjzamupeneoorjzllpsrmljyxzovvzsoefqzjgjhhdbenkqwfsgqfjiknvmqrhsocmfmzrxahfgovrfejbgofjhhvhmpsolkpiszmeeudavvrtyvyfkqtqjxwlffsnypypoxshsdyrqfdxypzgmmzaliiuyfmhwlmuoxzoujlwdjzvtkiqcv
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #73:

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

input:

252
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

ziscmjiwchbfyrkgydtyoswhsckmketjsywypudcobjgxxmpqrpntbmgpuseuyivqkqazkonavdjnldygzuzppfwmtlsnrsvsnnucqtdfnjwikfiudgwqtrxilknrzzyywavntiukrczbwzczgeoxynlmmoeafsoebtchfswuaozboxqlbcppknpjmaeubirwpnhsxbgbaivzpvzsqlxhpewlslglvvclyichxejzwbtomjbfkwnbcjkodli
1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #74:

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

input:

289
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

hxcdgbglccapakrljlqujomxoikhvbtrqvujqcjhqelcpcspzqizxapqyjheojfffzmvuhrcfvgpxbboyxjixxawebzedukjmikncwtcoltincjofvmrqoolvtuqqnsjznbrzxtunzouxxbyftvlogbakbsiwohswpkxinnbjyfolzpfopcpmbcolxrzgsqzxrkdpgwnrremhqwpusvswqwipiseepwywakbezojqvawugsdiiixmanqzkfzidbgznizvicziddrurnbvgetlpgqjmkmkuhmi
1 1 2 3 4 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #75:

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

input:

300
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

zsoyvpnqtxitmisqxqvyvtyfeoetyzmpbgyitwshtazizsaesqcgqkzyoyypwmelcbzvoaomuddqsrxmggjvglybddopszchormnbcycfsztkumvcgnjmdvdymrnqxekvbeapendqqgmvifnusqipcrhgzpzaltfhmazadxecvntrbnuswxolikzhhxycwiixfrqgjvejavevrtxphyorprvfurwjirgvtgiqprumgflvuhfajyymzgvpzyfitesegkmjxfzkpfqotheiaqibbuyaroarextbqcpdxjlzqzl...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #5:

score: 9
Accepted

Test #76:

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

input:

281
ffozzfclawruudmagwzfmalubhznepniirhtasvdscasxjmhmteljfqffitupfspwbtplamodxrnaeielpyratsxownkmvrezvqtukmxbknbcxhlufdedcxgxndelrnxrqjbtquugybhumiqlngimmulqdnvwhoheuoiolswakcwdqxacsuchkfyyrbfxsxsskcruberllxxzvabcalysvptbqjyfefhcvynsprxujnjgvsbvbgkjdspkkgotuhgphrewhdwobpzvkpthzctyrhygffozzfclawruudm...

output:

fmfhbsbeskqtvvrplmbuwyffwnxnsfkxuxgcusffcvxdgulnxuwkixtioblhutrxpmwhbtgjlppvplenvprzskkyoqdrydxdxnjekcrwdxstacawrvfbmnkmqhsbpqlvywdrtoqtoynhlasjgzuyuzdfcislrjzauuaiutiamqbzrdnrsylidvnccxhleaofhffbveerpzggqhnjhmmpercoegagkudttxacwkklemxbjahsuehpxmsqbubhlcyowyhhilzobrpcaesjtgvausnfz
115 167 79 119 39 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #77:

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

input:

267
cjpcxadgrhhxvbmjidqqjflftjreslkvhxpsokwppudwapvmwpeyetdlckwoezcowsttnccmmwgfohceiayibaudxqtnlfrulwqrumkqvuvgyteqrsmkjyskhiupjqntnjfrxrxhuhmmptfggmkgkwjtykyeiceuyaerdvhkprdurhxituilmmjhkvpcvwxsqgbpqxkycdlsdytpiuqhdhqnrcqmcyecrrfssmlvvvkpjldqaoydtpfjsufiwftrqgjfyxaoutccjpcxadgrhhxvbmjidqqjflftjres...

output:

cqqqppterthtchnrbdqkksffphanqcocjwfsjwdmhthcsakxvtfdyxjedmcvmfcukhygliyovuyipcxflvepsmawylyjxhpfsumerwswprlqkhcpkkqwhtxwgvlxuyjgvktmfeyrtfrpvjnzkdjggvirsejhmeedtequpoyryovquigldtbujakedwxiftodrcajgadinpbrkixiundosipmhmhmpkluqwcljctqmjdxqyawurfmmsplurgrqvxckrqystvtuuc
127 14 99 148 213 12 152 85 8 15...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #78:

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

input:

254
xrjfnduworypztxeqijpyuprdplqzvsqwtyturivmjingkuxihmchsxfvvafosdmgplhwdbseflnwdhfuycewyxbtfgbomxpzzfcratezjxpcpvjfxzbywrfbkrtgrejvrhnaihysavqomoufzyahgzcpimmrhostdstupfevouwsvslbeywaowhcnypfhyayxqevtwxfdqfybbicjwxmlcpkpilsozsqfdvyuxgscgarddqzbolbzjjcxrkygxrjfnduworypztxeqijpyuprdplqzvsqwtyturivmj...

output:

xpfyihgsljdkzfdlrjcbtzhscmhwzuaedtgsypufdpqtpuvonoomjpxwxcdyykjqoropmhvwvnzgvydooeiizghcumegvxhildpoehbffrbkwqpezwsvbarxbykguiqzpxrswwywtoxzsmrclatfzvjvrgwbbrpyawxbmxbjqhzffsnlpcyrxesyurqrdedhtiagsftflavihuyuwyxcttrvffonmjajyfcpyjqapsiscvdxfsqlzxnycebfum
131 237 211 185 142 49 1 178 23 240 203 188 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #79:

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

input:

292
kvvgbwynoebiapoeyqkmrdnkfviuvbvjkmjgqjrmjzrofvmtxtholphvnigovmteydqhburokcyrovjjhxmfgsgzawbslhjbnarychkldalicffvuluobkiqzvlqdvopumyigdwhuasyzjniwoerthkdpxqzktobftzqvgzphqspzaugwayrknpwkufmxvuqxbhoefkuqudzqtcyratwgboknochxkpuxcimycxjmgfdwwjxdhxlkzaohbhyttaaynqorastemempostkrlrimourvbuikkteohtkvvg...

output:

khuodwedvviqfuhzdntkgoybabzigxwnerunrmvlaexxktmquhjmgonkujhotdlsroelvempkyudpzfkriolplwhwglmomwmbgolxqecajjykmhxoxqpkqcxbnumbvfcwjabsdhqwjkohndivazoybuhootiafhhqnqsxckasrktvbezvrwascpyprjuvqlkvtuuhxiykubzgdkhqtftgkrfavrocooqybffbeypuavwthocrmomhurayskyaqvjrzivtmiijvrotdttzibxyjkgpyfpnzkggmzt
218 45 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #80:

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

input:

278
qprcltvmvglmzelluloxahrvjsvsnkxgjwfwiplmwnqreoewxpiqsmpspulvywcrjkvdsfjcaceqfjrnnilfvarlsviwbufpotgbshltbynlfothpwfedvtarqzumiedgagavenhzoqoeiazpqllmndnjqinqlfgsxnasosjqqjmyvjloccrwxwtsamgzmblxdcgyrpgubuebbxthcyxtxhnrfpfswwgyvzbjsadiacqeamcvtknmeodmlskaztfkxajbphbahebhizovbjhcwqprcltvmvglmzellul...

output:

qhflmjsiolitnmymknraumvebvvbehhcosjczqrlmbxcgtlluolqxzvufpjdaahlyjjwdzimfbwsrbhvaepbdnfqoknblwrvayspageoeckgwccrifxiqtjqitasryszpywefenblacozhtjhvnbjpfefcqjlnxfflgnliatsjcdvlmtvmbwpgmmwltaqfalkwvssobzrhnqxmzlxwgeqbrsvgusssuokhlpqxretqhapnpzxoejwsxtgwvanvddiavcgyewrpudopnijxgcam
150 260 197 162 141 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #81:

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

input:

265
dmbziqbtmmmyxwausfphikfhpnqfrnvvhyrerlveuzcjeeykdnxoskudwlxrcsrjszbhdsyammxiomxnkpvjxwopuqblqythekvlejamrpdoyedgytlqxovnplkvjeniwankuhohwllplrepliutzqaafiuhrhaidtglzvzrinbhdylftsmnyxbudaekpazmnlkvcvdvlrbuvwfhkqekmvnlaerznlhjhdhcmazkdaznkxqnqilxbvsykzfbnilmvebrqsagpdmbziqbtmmmyxwausfphikfhpnqfrnv...

output:

dmokvtpqzmxyxyrfvseoyhuxgillrbngfhxvnvzmidrmrkzmsafiwxvpknxufvpdvynrkoilnlkupnjlevmupbnzfykxeyylvtmaklpldphrhnlvudekvarhbwsecczxaalsahorzzazdphkvglzqfqehsmqjqpialnlaboydrtahkhnwbjlatjcblnjbaedstkijleqbdlefarbiudoibvhqkneedzelweynqqikdcxhmvqunrimvsmnpkhwrxhmuszmtywu
40 236 103 16 187 146 215 95 125 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #82:

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

input:

251
lihtvcwauiabuqgbybcqwwilaaynynzjourymeeifpcexiihsvltsugnyqcjthiyhzqluxxwbebbjfaxhfzfwqfwvasixzuhqklosclnxcamavwfeghjdjntlithbfliiefelpigwmcffgxmyqxkhipgnoxdyoqqgraqrahdmbxwxcogreguklqyzabzdeplhupqcrliuzjeuotvbiuzxtnhwbpoulauzzvflghmlxqbkgqtvezmaqxhqeflihtvcwauiabuqgbybcqwwilaaynynzjourymeeifpcex...

output:

luqywhnlnyaklubiqvruiehcfoifaecazllzelualzttouiwguwqeeqazqghjpiawxhioiqxedbtpvbyaocvblxyuftbgpnlziqxyduftnlwrfqjmvcgwhiuttuyxbzhfqeuhfvvihnxtzqmabhfkjhhcdfoqxjhsjgzggbnrlgyldapmuxwchyxzekqevismugsiczaqijfzgmwqcexwoboribrmfyxsaqlkaqwpixgbfpehelmxxalnbc
63 149 167 7 135 194 223 120 91 193 4 171 195 14...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #83:

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

input:

262
dcbelopfjvpvbddwnslmnoyjfunfvggptxbsyurivdcrohmtzqicptcutequyevxpialbzopyjznyybpohcvchjkyixqbafihjpknwgnhveyfuymyjbfbwogzikbwhnncngrzhbxvtppbppzgcuyneeabzpstauobiqrxwfngbkuaqzwurscajatbmextjotypklalfhekvfrzbupzbgrjnovmdsycqxlfzemtrwwdehukqobsalxqpfixvykgekxrqpwddcbelopfjvpvbddwnslmnoyjfunfvggptx...

output:

drxuzctjgdueecxyzoumkticzocxcjfbwfgnfyepuioxcaouaoeakcnbctlsapyyvbnifcnurqpvbuzwazyibvxspbpbffgonrzzsrijepjknwcaeowmdtqhjsztlzyqpppbeqhlpnvejtqhbywiatxvxyhdvvsvudylrhvbbyyxufgmrpogyfhbwjzfbpobhifmrpvdagjqwtvkbghonwwgqgkbrempzesutkplnqnppyqexribxnkyflkthuakblmjnd
54 215 129 170 50 152 240 36 113 57 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #84:

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

input:

298
ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppnppppppppppppppppppppppppppppppppppppppppppppppppppipppppppppppppppppvpppppppppppppppppppppppppppppppppppppppppp...

output:

ppppppppppppppppppppppppppppppppppppipppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppvppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp
1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #85:

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

input:

284
yyyyyyyyyyyyyyyyyyyyyyydyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyfyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyydyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyfyyyyyyyyyyyyyyyyyyyyy
187 254 132 100...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #86:

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

input:

271
mmmmmmmmmmmmmmmmtmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmimmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmtmmmmmmmm...

output:

mmmmmmmmmmmmmmmmtmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmdmmmmmmmmmmmmmmmmmmmmmmmmmmmmimmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
188 47 179 243 247 80 204 19...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #87:

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

input:

257
yyyyyxyyyyyyyyyyyyyyyyyyyyyyyymyyyyylyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyiyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyxyyyyyyyyyyyyyyyyyyyyyyyymyyyyylyy...

output:

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyiyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyxyyyyyyyyyylyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyymyyyyyyyyyy
240 53 126 84 252 133 138 187 81 237 178 3...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #88:

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

input:

295
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbgbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbfbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

bbbbbbbbbbbbbbbbbfbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbgbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
24 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #89:

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

input:

283
bhdhfebjdecghjfeahaeccjhhififhdejcbadjabefbjajjjbgfdjjfebddegicfhegbejafdabhjcgcffiheegahbggjaaedijfcafahcaggaaegchhifieeabhbghjihadjiabaghdaidjhghihhchedeiieecebahagfiffabjbhfabeieddabggafffbfgjfaecedjifbfgbfciagahgddhggeahdbjjdciecidhaghafhfchjifcdecbegjgbajddiahifcejfjcjjhgehfdhabhdhfebjdecgh...

output:

bfeehfeehjajeiffgijecejfceijhhhjahhdiidahhcfafegehbddbbbbagifigheihefegieaahgjiffegejhfdiedejdiadbaacahjhhjgbhjghacghhjfjebaijajceabiehajdajddbggcghejdjcjdbjafgbghfjcbcaaiahjfgbacdfffghiafbcgdfehdggbjebfdagdeafihhhjagacfheijghdibafbdifhfaaacabbdjihdafceeedcecdjfccbfhfcgbafggdecgjahi
118 156 198 278 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #90:

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

input:

269
ebafdbdhdbdedfdfhacdaheibeeibbfbeigcfhbbgcigjicbhjehaecdciedhcjaaibfabhcdefjfhdbcecjhhadfjjjbccbhgigegdjeabfighbjjiefjicgbaejbgbfjadghfaibahabecjcbgfhiaiegfedaedcgbbbigeeiihhafafdhfgbebchhjcjadafijejbehbabidddgiifbgaehjjdgegijgcdjdfcfhhcigcbgjjdabhighddcacgdeegjhiedfffebafdbdhdbdedfdfhacdaheibee...

output:

ebhhjhghijiebcdfccahhbjaeidaggdbbhfdeaeedjhaibjjdbdbhbdifdhhejchfedfecbbideghffgfabgbbhihjdhdhedgdecfjgebbeceeafjefagdjjebahbcfjfbchebdehjdbcicajjieafgcafhidcjcjggghheijagghfighcaijedfafjddcaadbjbabdaejgiccabfdeehbficacfdafgibghbaiefgdbbicccgdfigebbbfbjidiaghjegiigciji
46 90 153 233 268 219 105 43 8...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #91:

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

input:

256
hjgghjhbfgcbjajegbabebeigbgbbgcjbbafaeaifafcfbigigbciechiciacbbhfebfhicjjjjcgcdfgfbhdhieifagdacaabfjfehifdafficijhcaeedeciagdfcdhfhbachfdiaecbaefdghejhiihhibfciabibhfjbgdcaabfcjefbcbccbdgejigjhjdfjgcbjfegjieegffgbghbebdjeaihjgcgjdjdgiadbbejbaicbjafccijajejhjgghjhbfgcbjajegbabebeigbgbbgcjbbafaeai...

output:

hfheifggjgfccjjgdccijhafjifggbbdjaaccbicbjjchaahbadicigjdieiaaijhjbbjhafaefaijiebgcbcafgdbbeccgijgfagcdbfhaccicbghfbeagajbhfhggjjghbcjfiecieiaehehjgfbhiddfdgbjiedbddaibfgicbcgjebffigbebgbcdeaceigfccabhbhaibbbhfgjcabcdibffebbddehejjeeceahffhjejbjajjieffiaff
15 32 77 94 16 182 18 139 143 88 70 22 127 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #92:

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

input:

294
fbjhbjadjahefeicfdhddfdjiiefcebebgfibiabjiiagciceegceidjdbicijchifijghhadabghaffbabjahdcfcjaccghdiefjebghhcdifdaadgagjhfefcbabedhddbfdehccjgicefifbejijehfiahiigbfccaccjdfaccfefcgaccjcejbbjachefbcdjcjediahjdcjdjdjgfefijadeaiibgjajaabffjgedgeibcajdbjceegcdccefihgafedcggjaehffgfdafgiiagbahbeedfeafb...

output:

fbdabjbbaiahhacdejgggjbhfeacdjijicceahgfjfeidadcafjdadjhcddjgdejhidccbbibichdjeicfghbajfhdjiddfeaiceecfdidedfaffefedceccjiehgaehehcaeecifbbcffhejjhiijcbhfagbjhcfgbbeigcaecadffeghbebaaccadjgiaeghcdafiebgjgjfffaggjdbbidhfdficcgfdiccfihjcebidegejbebjijadidfacdaeaiifjajgeihccfjjeaagabfjgfjfgciccab
139 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #93:

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

input:

281
fgbeeibgbahgfjjccfahaegjgghfcdbbbageijdjaigafgddabhfhaaggadcdcfeigjaedeciiegijahbgbiihbacbeaiecjgbajbbjechicefadeacgbfhhcfdgdhiffbaiebebdchgbabaaefecigebfeadfhaejhcabggcfiedebhfgfjciiaiidicbfechffgfaibfjdijadajihhdabdhibjdefcbbgchefjajdejdcdaihgabjhjjefgeibjedefgeiaahejhehahecheeafgbeeibgbahgfjj...

output:

ffbgaijchfhhcfaebegfcdaacaeaibjjgjicdcheeffjdhjghefhjdfaaeaeffhffgeheajgeagcejgbifbaabdiaahehjagedebbbggigffjegaeibeidadibegbbbeebfidhgdadhdhjcjcchdbefigehfbigbheecagigedbcdaihjbigbagihibhiichaaieachcgjahbfjbeeabefijaiiaadcdcchggbhaeajghagejadcfedcjafcfgidffbdachbejjjbcdbefidbjiie
79 259 214 16 273 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #94:

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

input:

280
kfeyyynidpmxvexyunkcrslmkkesjpfmrteqgclmwgvbjjhznqokutinmgbnltvybvmhqxjmqipfqppikrkbutjdjhzybepwaghvwzrtozpjkacosyaksnrjcldmoncsxoewlhdseyislsfluetsegcjfcltlikpfzersltfedfbguxmtyewiuuxjumiiuqakwebvdvhgmbottgnuylxnftanpoackwexjvnaaerssbqjbyscdyfpqrbhoxhsomwfnceudfftepkcrjeoczuztoukfeyyynidpmxvexy...

output:

khrbyyuwnljxjtnydoytudxnfajtsejduludusmebimhvnktqwbtzafeokcuustczppeqcookmrfdottxfaccyoemftfzscuknmiigpxspxprnvlwvlrebinrhvnncbefpssejrmhzqpoliigyfqmzagefjsmbgqmnmwldhnoeflcyxhivkcwgbyajgoqpulebzaxjtuoephzwsmttwkaktebfksfcpemvkcufbglpjrkjwyjvinkevlrkshtlxxbdqcdsejyrugyejusqesayio
154 77 13 128 184 8...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #95:

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

input:

266
xnesnhtjykbarnjnfrruxlcwvqouowxnelqhorrquljljlaxcjejhthzjidsbzoxdpazuyvqnyunrrpbrlouolfrxlbafsyghehzcbxpeftmwhcnjmkfpxkfcoxqhtstbeazuoifydxhfaqoedwpwppupoxvguihuiqnxgidilxypvxltveeiknwnxjjblchnevtqxgdrgystkonsvlfzrotclttefplqicuqdhdblbpwpdeqgyqnqhnqesrxisipvqcnwouybxnesnhtjykbarnjnfrruxlcwvqouow...

output:

xwedeffqqjrvlhjoyuuonfbydwwwexqroctnsqviibwtfnxbvsldxxsnvneijuhadhtqoxqupehwiabwgtcekaobzotvrltcqaxsjlkhxqzeofnrogonimnixftxpfynxjoihjhpdprebntetzqzlcjslullpcbwhpuuvsnbsyodnnsycxxlioodupyeczkppfqbqtxjruvlkgircpkrdhhebjfpxpryenhhnlpvudixuurajtlnegqalqzgqhmygqlxflrcry
229 138 6 30 78 231 107 238 120 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #96:

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

input:

254
cuqfnqloibwzloexxfyjwjwpdkpfouujdrqkrtqhhalrzuvpfvhofunzcdkegqcqoznskuniogdglyrwqekiyftywxtlehgazioqrwolrxuryjwqysccdfslqyuajikdftegkuckviwilqtkwmlaaanwcodwcerrtggzrlzmhgivaqbgrpxhmlbsbawmpfnwxelpfxcvxgwqnkestyygewcfccuukarcggpbjwgbzgivmeaxwcmgbgloggqsvtcuqfnqloibwzloexxfyjwjwpdkpfouujdrqkrtqhha...

output:

carxqewjkqpkqzpzfztyfrfgurjyeqqbgoplyukawwdubltwnumpflcicvarwhanioktfrncjubfcuqiwpqecouawxdgwfqhglrrgxjeognwgzskesileazrbsqwthuwcclexvwikcyfjyxrfgywlrvgcwgsugcocqlmdzilywuvlndpqgxvydtgrkaktaiqgnobisvmhtoltlkxclvicazgbbogefyxmwzeokjgarqekqodhufmdpmsxhwggn
50 170 246 161 196 54 227 148 127 201 222 44 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #97:

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

input:

291
tjrztteweevyxbwhmivuciyndbdyggshdfgztewenwhtsnngqvomktgeqqngdkrflklyftuihtkarcdxbdcooajhxdiwnerevguidrdgnmsgezvspxywybmnkbrliucxhsmthxvfqdebbaxxubrllnomxeqspnhwttvhexczfufrsbkvynjfxgruagmzyotwlmbuswitoazdjvqozfhiejycmybwiyhqnnsaggfjylvfgautgkzcuxjiaivqysywwqbabdzgnevzwlmmviyyyfzkpgguudutocitjrzt...

output:

tzflvrzqwtdhzewdugzyddgwyryvhbbnxwwkvtjeimyfisonyhflxiooseicyugmgznmyhrxzneyxenimbcofvavgccxtiyxlxtewyxvqgyebqbtsakbfshymobwgnfygdlgqqtnmknlsgrghvkyiiukbsxhnqzwusummrfwrgsqeshngbapxrwhulfwkteamozfurjttvaectcoapnbvclegueikaznkgbcxsfdtqjdpuomhdmjltbiuuddijgyandnyfjgejzirvabvquzvwwtiuvdyxgehdt
199 190 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #98:

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

input:

278
hsgppfvcemnngjqajmbezdwtvgygxpwjnqpxkfmlpmkjyhmjrznvuwooenbtmrdxekrmnlbaxxbnupwitpwgzalbrtsedvyzgmtsfymbwxpyterhyjehoadcigmjjqqcldxqxxeuamtfpbnijwjrakszmftprssljdkgfsaojwfnzkpsxzaozbuglsdyzeztlpzgpxkokbhtiphwhmfkfcwqltalcmeywadugzwytdxztpnmeoqejnjpvgifwfmxfcggugrkytbozsfiglihaihsgppfvcemnngjqajm...

output:

hkhnsejgpgrmltnidweceftmadvgaemotmgwxnjjgatgxedsjwlpfwjombrzbhshyukwehqlakyttppuisbmnyiwtebsoxboztzfzeilrjguwbzezqxnfhphcxfjduembogvztarqwpyrlajpmltpktigfpmmnxncdqfcbdcgoqxkypargtzbvapdyqizmfwgsvmjlxngxmfnnssiwpqzxexylhuwkrgekfsdyjolmfmnjyzvfxkbwsappuilypcfajjwtagkzdtrgkmozpzxj
247 278 50 108 46 237...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #99:

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

input:

265
ctrtcvfveofflofmqtntnalsidtqrkapafjdgjhaowscowfdflaekjnfgjkwvhnywourrsfkntbkedjtaooxxrznoemzhajqmhitunuxishmuuxqbyowvabqiqpwxyfvosjtkxnkxztsekdgjuoumxliexmsztgwshumzcacjkacenuotghzorezgajjlwtxbqgvrmzpmlwjnfkmoibqzarwwpsgjuhzozybrvsvahtcfwhkbxcpkaqxbwbypnpywrgvsxuqbctrtcvfveofflofmqtntnalsidtqrka...

output:

ceixlhfhwypwlquhwzyfvhphzgqbmsvsftotvvglnxmqdoujkxcatrtkogimnjwfufjfewttjmrflnumewueowvbiaafdgnviewdqqjzusjbblgckcdosnzdnwrcptkzfrxyobsxqkwjoaxukaakginrsmqxjzhgsrjbecrxgstaphaypteokgoqwzaoiwyvtfbukrrohktjqunbcoakwqmefzpxjozoxhaltssvjhvubjykxasawnmmxofpxnmanzzttcrub
193 133 260 156 97 3 127 223 30 76...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #100:

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

input:

251
ncseyyrumqkwaokyxbnjgxdscabygipdgpfunyxsombemsokafjqlipfggiywppwtfxkyrybhrslioqpggcgmgbtnxdctnxxvzsuakwcjbzpesubjhbpgfqvkjybrysysjwvnbkxtyzvublccxnsachibxohuyumfhexzduudjqdvdbiiabferhpgmdlrevofyfolnznxgyehzmwcwhpjtzkvzwpelpeqdftsdeerxgnottcamkhiltuopsncseyyrumqkwaokyxbnjgxdscabygipdgpfunyxsombem...

output:

nybghtmtknulsibzkhgixuenxkwxegeftbjayumbpqrkuflixseplcuwwwskcmayrreckduoovhkxxygxcudmttzdtpcrpnmhppsgdxgjvkefpduvyilpxyxtbnythogcubgoyhwhfaogzxdofyanmysvnsbjhzdjwwcdslevsigbzqtiibvfgcazcuoxgajfypfnqspclqbsxpieohejlgvznmkjerrqyeyayfmsbdrbnbpdsqozjbpfyw
183 118 14 219 83 228 205 92 97 120 131 238 188 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #101:

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

input:

289
aozpddtfwjsutsqyhvgjdaxvpyaihmaqirzqgtxvathtvgztbkvicdujjlcwelkebsvqskytgdkhfkiogexeegmflaozfiifgesdsxsrsjuconcdscryvlordriwcfeaagbnvwolwrxilgbvpwukljhbhjpdbbzpbqgkpqxfpobeaiydanizljrsywxtpwqxrkefdrztfzzsuypsktwppilwctowrpfttfulawxfznjmpsuvfebigpicbggbmrzwjnhviknturhoquznqkoesdgufqjfktgpbaozpddt...

output:

atpetbttowislipuctgahfkpqzigppdvbyuebkareglxknfvdkngtqptvevdsosgknsltazjxkttcfwtadfbalfktidcjaewdwxhlibzppgofwkefcxrubsvpeqijwrufzapipvurxgrxqrryhdhwsuokaijueoqqdgiwglzjnkkcsbjfgfsgbeihtflmjnrfyufwwdmivgzmiixrasbprzuhxdjnsqwwqbwszeguveyfztxofzydqocholtrjapivcymsbcszvslynpgpoljrbzkvbdohgjq
159 129 19...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #102:

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

input:

275
mocidmpozrmeuuulrhpxzijnqjfyfsgssralnvuqmakuapgtsvalleyowuvznnzxjfnypubsufwoffhzyydjvsbvvxxuskxpyjiwgtqvuvilxdwqoydjjswhvupblcwgmbkozwefqwmvztkwygzuojavxhaxjmeypzquimuzzgqfoiryevhvxvlrrfbrmvpdsytxdswtbplnwesrbjvbtijstjpzigvwqwupwjmdnlcdwjxbifwadavnnzebsmbvlsuxcqaffvmbgbejlljmocidmpozrmeuuulrhpxz...

output:

mpqmzfvuiunlrwnomsyrsgtlrsvdujjsofwdusezxxxaxmhiylvjajiiytauxvnywtyfovdvirwmflzvbbazsdsbuouabrdhqbmwsnxnbjqvutwwlivdvyfbvxovgvlkzwwabhefwuznhwysfmgzpppzfzslfarnijbzqwvqjvbfoppsjeelfbdsqeyewggrlwbpzoxwuxutcjglvknzgmndjgjdpmiicfkupzmuxavusbjqymptljxteaykvxheqjumcqpcjyusrlwojvv
69 105 272 216 140 68 99...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #103:

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

input:

269
iwckcqhjjvazcrtrwkwuibplkfjhjopkrfdjwxieyuoxpgtlxjwjvkovoqyksqwmthxuzsdcpotlhqtuohdqvnqchvjvrrskawzacffwgzbhimxragvueypdfmyinbejkwcweiqzphoopktzxhtnqwnmhkovahnqwimeosccbxwxyvjzdoqdykaoxpzpgtjyatximfsepodpvpuuijfsusxmqvgolvpnqjztogvcjsragzjxrlhdohyhcngsomqscenrzsfwfucbxiwckcqhjjvazcrtrwkwuibplkfj...

output:

ioqmpwnmrqpkhqxtjqapccucjxsaaxyvwqthauuzzslozvleojcfjtgexujjishxkzpfjrhvhavrqohtwdwauvozqsxfjswooxsgfbwpntlsjcnkltvguvxnvtpxrnhamrwowioohqkifrhhbjwnkqysmzizjtzzgppdrodehthepxvccvjbrzsgwpglkmvyqiijeqpyufcrmyjnwbpkooztkwfnopduogcyfevxchmdedvcydgwsifdquihkmbjscooxacykqkwx
95 161 239 30 215 155 150 31 3...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #104:

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

input:

256
fknoxbacycrxctykkbkbwmwpubmhcvgiocuezvujgxeznlaxzsjtmropjhkuqiqpihtnwgoubrijlpevrtafbueuvtsntwhuznzjhqngyajomdklgnvldqjaxfdnveyeykpgduczutsmzlbfchxzgnmcrubunrlvirxvjwtipsmtgnohvpemofodzphaemdvdzangjwzocwhwvditzlcqqedejvvgaonpordlirwjrlxrjddilzddxkvwttucbunfknoxbacycrxctykkbkbwmwpubmhcvgiocuezvuj...

output:

fmfepjlglvstkeojzwluacxzjowrpwjjcrxtqoorodkjudkxyhredoovrpvauzutxodmnrvkbntvraghhtcrilputzewhxzicjcxpzrszeiujguycigirzezvoglqunkdnvmngnkwhzwjvqtfdsosjrtvvuntqampdldpmhcuhvxgckdnnwjgkyemznwniuhbpnudctbneqbulubhebvdqwyvcayaelcdoabxdziltxgbmalmwnfbvmzijdptgfi
182 55 97 250 15 41 23 25 190 79 189 139 12...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #105:

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

input:

294
ejmahwgcpwfouwdyewysfgeijpazzwtqyphkqtnxqderaywyykoceescirealejskmzuoouugobbbtgojpoqrrpisixiqpkevflwqmmcpqqmjrxvjqjyoipbmabymmxbvmggnfllsbgjazfbpxevjwckxqflwxeuwhqpqrmvjrvohvqbgfcwademomtwkggihdkrtwhjufpkxnfkzqlgvajvduffuhnbjjokfpeddvoyolxswipmciziefmrrunbnmdesictmbproaezjlbgcuskgtqmptncszbjrdej...

output:

eqbizsumfaqoqnjdjcudwrlkfmowlqumulvrtjosqagepbvqesvhwjtavvfwjgfinktyzteapdammrrmqmysjkwbgcyjxcqrigwzloscpovjzqwnrchkvufgucrveimmqyqhxwpxfpwgcmjofbslezwpvibncwcjytpyvfoijtfdmbhkktbrdoomwpxpnebxekkagjijutamxpeqpnooahlohigrlzklgypsgemebqqiwkxugmamjjbeegsoyjgrdqwdprykcuzxfbfshpxuiofdbebnrzfeidbpem
54 22...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #6:

score: 13
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

100%
Accepted

Dependency #5:

100%
Accepted

Test #106:

score: 13
Accepted
time: 2ms
memory: 3880kb

input:

290
oahdsuzjxlbtppnzzddxjqivjpvcfwkborvfhrbirwrtfvbvqwxtqsxqjrgybhkwrjrtvwqzbvwezkpjtkkpcdmwyyenweimobrcvhjuvsiohlhkensyzqpbkxdisvtjjlncqeihvcgzbgcqchlsgysmqjscvzvyvmqtgnwrrcuxicbwpaozeiwphbzxwhodbabirrhntsptebjifzyoezqxmfpteivcrpnooviqrqxtwrhhvaqzloahdsuzjxlbtppnzzddxjqivjpvcfwkborvfhrbirwrtfvbvqwx...

output:

ovvjnbzqygkrxmsdqagjbuqbbhxvyssvxtxavztvwraqhgcdvwkmqjftivcvdhfqbaqhutgoivawsbypwkiwxbhilthrbijrptxcibqwylrzwpoygcdobmxtporocneevpjrfjqwzbobbohpskiptzxgwrdwrkjichlqqmqzviexhjzfeigsdsnqpmyyhaclrinkhhrrrprzzkwrhskxlxqanebdavevccakevfzitmtrvwjwijpsvetocfvcpzewrjcncnzyouxhbxyrmcszyecobzwepjcsy
221 76 31...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #107:

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

input:

276
qvtqqvyyntfvsejtjarjkwkxysgzgfoscewganeaqrommvmtonokazfchgbnlfvnsxxivubijwkzqgzkqoivszxowoeomazfkiogwkqhkrdigwiqllrsfaswgvcpirgyfsydckjeqmnjhwqeyuyjubucsghcsyjbtczvslcmujxuiomsqnvanwpgcwjrlmoeictukxflzugkdgrqiitaadiqcdlvzggmnrjnjbxacweuiuprpkpdvsylqvtqqvyyntfvsejtjarjkwkxysgzgfoscewganeaqrommvmt...

output:

qjfjqzrslmwamgivilcantopjaspjkmikyxctrcwofjjkdhxgvvcnbvewgqzcnggxqeghbzinyzsifijgoqoaizuvomguratiijmknnsnzwxgnpjandvqokcagvlefqdiqavlhqvdeudfyougrmdjubzvwwaqlyqksyufqnuodrljhsjiwvfstyoyswcxepokotorgrbkgsnulekrckjqwxsywurkgpcosoltgkysmcvjjezshveicgwqmexwcvzuimhuacamylgtsrxflpb
132 54 179 163 184 92 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #108:

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

input:

263
idsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsv...

output:

ifwcqbpfrpwnzgultpgyohzpjaudswquzawbajjltzslsooumwgcldqucbjpeppudfgxstyxsdxtqlvrgljrvbbxdkuqswxpiufpsqihnswhfkvuaprsstgqnegpzcyxpsgwujpugvlyfmsbfywtcotnthrjzbrwxetdyeurobeeunuerlcdvajqljfhmheazundsupiwufaupihjxvuqxoaaolqlwvpmpdfvfsqayyanpnsyynhpkucxoufwhfpmlhezrf
180 255 64 201 234 78 254 72 231 254...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #109:

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

input:

250
mrjynajsojspmgmfvzjapohsuzwepjzqwhrehlpcfbflrqfdpwycpsmizsidjfsubmllkpcaurotkbfeebbhaznrhcakgqdnnqremqewwgjpswcwdkkwwfdouyoavzgeoczaorevidhprtcujgojypmbrutoyrglxwacaeksmjvaloqdyqluznfmjjfxpihhvvzyqnjiwdnwjmfhdqgoomrjynajsojspmgmfvzjapohsuzwepjzqwhrehlpcfbflrqfdpwycpsmizsidjfsubmllkpcaurotkbfeebb...

output:

meeuamgfpdeiwkpvysmlgmbecfufudoqghepisohwsmvlyobqjlrgyqziaudquzwdcvbfvsqykwjvdzkygpohldifayzgdnqhkpctrphvdmgnarzftlacuqylrkfhnswurzpjcbcopfjrjrygjswsblsghqwbokkuiajhjjlceyofrztfwnpnajanarzjotlwyjqpkjdvqemfrwhixpjwosemarcyealzhlwkphldnaosoninympkimojx
187 105 226 131 59 167 240 24 124 80 43 78 94 215...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #110:

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

input:

287
bxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavkywggtbxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavkywggtbxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavkywggtbxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavkywggtbxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavkywggtbxbblpxsplofcvxzwayffmrgwymbkrrtdqclmszfpcavky...

output:

bcuqrzxbxbegslaadiihkyslbcmdrmlrokwiofdverqytmeodfsskldvdqazwbfpcrwdmcnjvluwrguwzocpcksuawayqhwfswwofguofrorbbfrxcaqhvyazybwrmwzxlewjvomosrhvtlinswtgubplbxmzvvpljbjsbsklydkdjgjhpdzgvyocebbxyfudbkpoffxroptctkepcftkwbabixeaskhaytgsoabcrmaeupobzipadhyvlzutdliffhvtuksfkhtfegyvrefexgueiqqvip
189 182 70 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #111:

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

input:

274
gfowimhsqhahiauwyukdkstfoducfectroninvjaateqptwahrclpystsyvxojnnsppgfowimhsqhahiauwyukdkstfoducfectroninvjaateqptwahrclpystsyvxojnnsppgfowimhsqhahiauwyukdkstfoducfectroninvjaateqptwahrclpystsyvxojnnsppgfowimhsqhahiauwyukdkstfoducfectroninvjaateqptwahrclpystsyvxojnnsppgfowimhsqhahiauwyukdkstfoduc...

output:

gwxzkwnftwwttksilrncswpjtbkjtfxqesejhjfaegdwchbequoawfkuzhiuywfcdvyhkasipjpglnumkvswhpfpmqbmtgkfwmkehnbfboneziuqotifiargdqkmqsuhyizazimpzyymtnnypoqowinqlucibzbqzmweuhjgdcgcoljayuyapecxphfbxznckmztdxkremklcqtkcsjyatnvbfaiayqvcuawdpncbuhtjcdehpgxvluryfyiybbcnrqztjbgirjorybuoz
87 129 213 137 99 27 16 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #112:

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

input:

261
rpaixnsvlwylioyyllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

rqkxmlbuxispdvclkqgmozrshlugxgoahixcnimksokpxdchyctiqfvshnztjaaxuufczzvdkfphmqfjlyyuqhybkjyzzqeidfizlbowgonhjaykrrbekfntluxrloilqdurypitwmpjpfkeebrzeafkbndprktnofciqnsldwnllhpzizerstdripmjymwviuyerunzykuldvsdptsoggbxtnfmkotnsfwlaiihfvfenmfdpifshyozbmeirioxvnszt
75 57 146 258 106 6 107 244 221 69 22 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #113:

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

input:

299
vypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkx...

output:

vkbiogeaknnyblefmksyskrjegovgufaiaaohgxepwqlxzxxlonfkboxnymbctgrnryjrflgkjdemhohozuonpfnyoaxqsqbzcdllawnmigaansbmwoftrkcykmmwepprtzrzuhnvblfbyekgbpokjuabsozqglwtttymicgyhjhorwjqlbxtgkbvsjiakhqlobpotcvphklsxmxfqjogndilnsgabyskbuygbojbnhjjdxllwvigqvzmjlujuavrljxyhidfssbyworprrrlquovgqpnoytvmaulalmmkh
...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #114:

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

input:

285
ltyrwnfxvlleuvkkmfvqncgzvjcbqmtuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytuytu...

output:

lxmhytneorvdvlekibtxmzurcvjougbbcjlcwrknivhojawwqwaihpzjuavbhoycobvedewotaunahnmtdydnkvjqrzmtknhchfmznorlsksflplmkgsbxnmizkzhesieyhtevdfmwqxnrpawnndbvbgnkygndhmuoljtodowekifbwnqkegcremdyjxmnfyjhgxlnwwcndjmyovylvhugzkfqgctvzhsqgsqjieqajebqnenigehiszafxtfajczpxmjstfsvkhqmynropllvwrwnmjd
252 87 56 76 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #115:

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

input:

290
butyrdetighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbtighuijlbt...

output:

bgshapczjqiupfjgbifrjhegzohaxrtseiridnkbrkmmbcyatysejbtldtolwsderasrvhnslumruerigfviainipkuzcnilzdbiijybgtybutejwdzhbcldptmmjstnquylarxbbbcfxtmyhztuaswasnvmscfqtcymsontugrwqhfcifbcplebjkdkhdrsrmhzrelhuujxkxjcbasvbniegdbuszfluveyremisdyrosobcqcflnmvgqsuuaqqxeldijhucasreasjrytughykwecdrwzypa
91 238 21...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #116:

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

input:

277
vvhaxuaukabhvoijsskikghthkpqzswqizdenqvlgfduraluhpdechspdvvvklxfgakrkqejcfmoxkxipflfqnwxlnkekqknxksyhlmuznsjkprhecuvjgrltxkrkqejcfmoxkxipflfqnwxlnkekqknxksyhlmuznsjkprhecuvjgrltxkrkqejcfmoxkxipflfqnwxlnkekqknxksyhlmuznsjkprhecuvjgrltxkrkqejcfmoxkxipflfqnwxlnkekqknxksyhlmuznsjkprhecuvjgrltxkrkqej...

output:

vzeuiuipieunuwfgmpoqdxziejkboxsjgfphwadykikkanoaebnchryhclvalehfiyavsvhcosdgrxjiatzhmcshjpjnllqvulwqnskcgwdffztdtddxtslhksqwogfejalzsqcyzdivhizvjiltbdakdsgxtndvxhpejlogrtdfohexuxgpnzkltfacctlfxdhkrmzrsrqktenmswgkocxqsghxrmkuqddnkfwscuzkxtsvvklonqgakyupvbjpwhbacupyxbrmeqlhmjkuk
59 46 245 162 152 88 8...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #117:

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

input:

264
hdqxepuseypmadmbvfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

hedilzhzmmhdcfiotqcdlxwdbkoftrhndimkinemsvwapvazkkauovtdefxshycoultmdssoavsrqmlyzamunpooigesyhpubhsrcdkqlpravhyjwswjiprtdbzjgexxxleaqrrllwogilzumhrjkpvyxadeqjrgoafzrynsgptjyzlmmvbrpzrbfmwiuccarjbqforuaderjtucohooebzeerorqjzjjviaxpaoljvvxliqtpcqhlxbpkurltcurpojbdlu
202 181 98 116 8 136 191 61 195 154...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #118:

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

input:

250
iwlrnkvraiooelijjlinxwpddwsjupogghwznvuyjsadxaxidkmhzevdedjrwapwvikgenolqgpawfjgcxddlhxqgkwozzyhqvrbqvvwpzzsizqmkbrusizesmbizvfppxanqcgvuvjjwwoaccboluyajljxxsnfbjdbvmvhrsboqehweezcnuwunxirtnbkpxmatsdyrkfxcxvswzastkrsyriwlrnkvraiooelijjlinxwpddwsjupogghwznvuyjsadxaxidkmhzevdedjrwapwvikgenolqgpawf...

output:

iwbilgpkqeispxubykwvirzwwmsqpytzhwhkpmoxjcjvymrlbskuxridtktkwgnabjfggwvnhyqscroqszakcgbfdddraxciehbskanvldoqnmvbirxwfxirvmvslwzwyiovliavyzjpsuxdoszaohddwinpzdavupwepozuwjnjbajyjxaujgojbpaeqjuhssbescejkkrihsvdgwzlgnxcpxnnkxsxrdqhktwrasvcelizqdelvvazff
153 25 60 181 52 164 29 87 42 237 54 49 23 178 17...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #119:

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

input:

287
vjyunbmqicocecegwkcinnsqvtrwzryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

vckecxyoneopbjdrwzkqsyzroqqbywqrnntpfznbrguunxajzbpqnqvovesuwnvinqirmezkgpyzqsqzcguzxvexjcbbguefywoyplamoxtajghmculgkrqanmkvwiticbnrokiiucylwjrcsxehudgweaqivmlrdehynoqmnxxlavgsfvbcdshytxnvtdpugprnuzvhoigzglireoqoqezqudbzbqbbdzjxlsoolzxkogniyrzvkyxtpsbmjpkaqxtugwlnmedutcavumnfrnkypaxyynw
14 162 279 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #120:

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

input:

275
aniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyiejtrtdftijsbfcaniexacnvnhjfjwyi...

output:

avmetrovlapaeqxybkdfmstekjmmarrpccomwtecnnbcgeayjihbsaatbtqssdadxdzdsgzmjbweysxyvugibjsponiwjcygjvrivffffcnaptkycmlgiylmzpolxksomvszwaawduhaschjtfirqxxnupnxggapyhjbchczwyqrdefnrlyrfzrofpagatanjudpobcykpxetjszvdnmqhnfjsfllcgyaiuthigwthkefeuwkjliscbgrigvytssbkonbgibfxnhhrgnnsu
176 189 245 130 78 273 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #121:

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

input:

261
zyhpgykgikftsxgyvdjwxsaerbinwdvaknshcygvuzpnwsllvhpgagqdsdvenjaeyenqffrsjkhygsekijrwnalyyjmltgjhnycglswtqebvakmtlpxrzllhsnvqghhckbkfysibzyhpgykgikftsxgyvdjwxsaerbinwdvaknshcygvuzpnwsllvhpgagqdsdvenjaeyenqffrsjkhygsekijrwnalyyjmltgjhnycglswtqebvakmtlpxrzllhsnvqghhckbkfysibzyhpgykgikftsxgyvdjwxsae...

output:

zlyasltehkxnspjjvldrycgwetnelrzahvlhwrvjvhdibmkifkgwvdedmnavgippbctsfvoqgakdkpgqdsslhcvpzajvmgekpgtdngnicrqaaktvdvikkhgjuufreyspwbcydyqyyjtbxwnawzhnpykgwuieaeycgbksvptyisrruweknizplrzhyqcgdbthewzbnsjjxtsqbypyxdjfsbzefmjasmxigptgsnnzbfusyhnlnyvnltnysghjhyhzjcbfe
208 116 185 111 62 255 33 251 207 184 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #122:

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

input:

299
enujseyaizlucvjcvmgbutqpumvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

ejeahxilumufozjdtuwatnoqvyxdtkjuckwjdducqbifpnpukbawvazlmbwcnxhwlduluyeqeuqivoolfpcpvozzisgvyyvkihfiqrffpeyyqbdbqsmozgtxdzgielwrshgnfzqckmqmwxxiasdpcgcrvemardivpgshkoajvcuufkidoqowwusyyozuvezvqgybcgnsxpibjsqseqajkotzeqgukihdunssduepjhyfdlzgciuxrjhyallqpowwgjbuxcubsiwhjquzquyesiqlyhnvmwjijzmrorpftus
...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #123:

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

input:

285
hntsubeuvgtwltldhbyzhmeouaodmduqbbakesgcmqpyedajlpdoyilpdltgghntsubeuvgtwltldhbyzhmeouaodmduqbbakesgcmqpyedajlpdoyilpdltgghntsubeuvgtwltldhbyzhmeouaodmduqbbakesgcmqpyedajlpdoyilpdltgghntsubeuvgtwltldhbyzhmeouaodmduqbbakesgcmqpyedajlpdoyilpdltgghntsubeuvgtwltldhbyzhmeouaodmduqbbakesgcmqpyedajlpdo...

output:

hegglgxboejifwnimumppidqjbwczeilhlketazhsbuepwqhmrwfenaomuopzkxoeugcptvrfairemmyogbwhuqucuirtodvjjkjtzyurqtylvxqohlimnriaxzpscxebgpklriugszguvqqbjrilkqosrtfjydekqdgafzdufmfcavapudlzubgokaoygddwhjoslatqxyddbtmwwlufahsdgyvvqyfijktgadienrllbxolddwyocupzpzhuaoygidvrihusrbmpklllqgutjhatxdl
54 26 25 235 9...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #124:

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

input:

273
prdbczgnspszskktehjtavhwqitxblsezeromwcgclxrziddwfqtchmpnwawtiwikzxlzpbbofiwwghikpyjtomsccserkpcgpvtnbawldtgjupptcgdigmvezpoftfoiaaansurffpsygprneianwnsagfcjfzkjkzfapwxbuwxzzyangvrupkffhxxeunyabokoyqxxxmnwvydyjwcwacttnczfyzwwsggzdzpdaogivrqywcxdedebqelrxpwpzjhmedifxrkazdutprdbczgnspszskktehjtavh...

output:

pjgcchgpwwplxupuzzvrttiwijyivprgxgnwywffpezcswdwbjfqmcvwtxddcaoepakbqimsgbkahptfeaghmzaoydktgbgrlzcwnfwwyscdsdahnzoxcknydfpzvfgauvsnezibgdgqpadmeknrgztcsxpwxefrfqtrxxonspdppodgyucaakeiwezukixjzfhliywunktpepzftxbxjcaekjwtrssixlswyimacnrwtlmyraaxbhzoozzqcpfwrktefvdnojwtbnzzi
148 6 218 259 93 239 130 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #125:

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

input:

285
lofpfzarfsumowvmxjqbjejycmblcklbracobnvqcdslwhemeelclugfbdaddkaudmogfjsvhxgcvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

luzmcavvzzcipsprptxrdjoumrkshofslqiackrlidhocffcvucimdlwthfbbsgrghuqjaqbppbiimpgmzatnsfgvmnslosdtslelpgldcjonycfzpkmryhbgkqzfwfcezunivpysvmyfakxbldigkcvzxagqvzclscdevzgrmqhyyamllfgoojxrkpueywlsuvrftqbetdqpxbertlzkmblaospczujwueqnrnbpzhogvhreoviytdvzadtjeywdlwdjdaufjtxngebhxguzjyxguwpl
182 227 80 264...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #126:

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

input:

271
tukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvztukxvgfsreaxcauxfdwpvbhjvfvzwdvvmgtvz...

output:

tfuylzcjdbopecaniapttkdqbvsiyryozilhwybmsvxpujvbbskuvucchghftzlevkwovhxvcfiitdkdgvyhzryltcccnzewhrrwqhfyzvpqqjcnazfpwooxdpfiuoiofbyijgijzntxootrkocnuvschrdcjgyeprzthybcxncmzlsrddckddzrklscggfxxdnzpznzkaublxbekldfufvyfrwfelonvncxopvtivjxoafxevyskrnrqtltitvavirsugstphrtucg
3 260 22 33 213 265 144 150 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #127:

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

input:

258
wkjssxeyzssmzhxixnjqrtnfkqupxmrqatlyaazfperamixhwdwclsohdaoarxzymbydpvpsazvcsobfythkrwkjssxeyzssmzhxixnjqrtnfkqupxmrqatlyaazfperamixhwdwclsohdaoarxzymbydpvpsazvcsobfythkrwkjssxeyzssmzhxixnjqrtnfkqupxmrqatlyaazfperamixhwdwclsohdaoarxzymbydpvpsazvcsobfythkrwkjssxeyzssmzhxixnjqrtnfkqupxmrqatlyaazfp...

output:

wpaxkghxfthaclubnrnnsnbxvzzqfrocosyigaivvjrfheasegeqicylpjygmvjpdbbxdialggtclnkgbeubkahsairnzrynnihfkowxqmuyroptaahslmauvppihqxbplrzrxpxujxqmbteqlkmjibiyvailaqtizqslbmcehpuzdzvzlagiuvmccxxsddbyfahwcnmhkccmsbokvdhpgekdbmjpxcdsvjobhqbohskkcdsfysowwyowfrnzgalth
237 214 162 146 113 120 236 118 2 135 127...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #128:

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

input:

295
zvlkfalxtwjhrjthrtggwyyprxigunideezbxecyikqyjzdbibzwkycphegaybwkbxpnxrzbjrwuxmhyrslrixiqnrnermsbkgixineiznnxrivsphmhvqotaxhnuqhzdbhsrthlfqglxikndmlrxghzwplwxhovnabukbqbfosfgbsjmuuxshyxbpmjvawahjodironqdtepruhpogfewdfzctsizwlzdodzxxoiqtdbbmymbgsdzqipkbreififnmcgikradcouyoqtvugwivwqfnpdkyjpbiiezez...

output:

zwaksrpbjrbdoifdjbbqaqrxobxlhktdjsrguqsugmqpohgzzkarvcoxeaautxogiqshmpqmtlwhmheyzdyxoxrbguuozujmtpngbgxlyklxnpoirpybbmyfqsmbensvvhcigvpupkrhrfinrdxtdifrcdzmhznbwpgkqwxykynvbidfbhzisyrxlwecxohgkoiukzhelrjqjwjbjdttzhvbifxtfaidfzsnnwhyxkeneealpmiwrnnivpyiwienxhgiqiiwhidfysrdneiwbdzwzxxgeqizrcltubb
249 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #129:

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

input:

282
igfipxkmzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvpzvp...

output:

iorsrjqddpbpnajdybqywngjayovbrerqphbkhscvmtnejmwhiniczlbaaukmxmijiqrtpfqccnveakoxlkkgzjalxhrjnhdbpdywvrqopwugopfrspgktashotqjacnciylwgugwliqcpcakfemqctlnxhlumlhlerkrcdvckwvgprcpuqumdwmihmyuxnplhlzhapeoysyjmnocngcysfzytzeexiyqtyeekkkucpgxocvlqzakzlxmvprfdapkpvrrmllbcfnoyuwzvksoaofxq
173 11 227 73 5 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #130:

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

input:

269
mrburyhzaenygpxqgcfhahfvxremmtrznybleszannhqowfrtkjzjxiovpbvrrysbpddjbpxrcfijdjiwijflmnnjmkmrburyhzaenygpxqgcfhahfvxremmtrznybleszannhqowfrtkjzjxiovpbvrrysbpddjbpxrcfijdjiwijflmnnjmkmrburyhzaenygpxqgcfhahfvxremmtrznybleszannhqowfrtkjzjxiovpbvrrysbpddjbpxrcfijdjiwijflmnnjmkmrburyhzaenygpxqgcfhahf...

output:

meriahpgsoszwqhnijsdqwppuezxhnmqhrqyqzgrmwzhfrfymvykkfschckeahvjylrnlnkhobwqqzxespbhfhldecvejojfcbggcrjhdvakienjgqlnkofxfbioxdiyniprapqzujkobdpjbquwzoqfqmjvzmdnilocgtdkpyktschdrqddtrotdlhtwtzmpzxultnqsksrfnwxhrnjebaxsppmtiqnauztrjedxjmndqkpmekpvvzhdrvfyjsbtvbnrlmbkbrox
182 219 98 207 148 223 256 113...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #131:

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

input:

255
zrcrgrfjuganivhaovxgkdcbpquifkzlgnjizumqvggsbsymdgvvyjwdiwsobduqkzqtckcxneqznejxujzxllqxxucqleqptiecphxlsiwpwemwobwwooikfraqietisborevtzqedmrbkwmynkqoqjbkspwjsxuaqposygpsuhtgshsyrjetvvsweukmuqhswmyedhchlkvpaxcdjksnmqfpkwluqgdjtbxewsavvnqvbodcvamqpgnpwbhmdzrcrgrfjuganivhaovxgkdcbpquifkzlgnjizumqv...

output:

zthzssgkjxooeziekxhwxudvdyewdjxcbrfqocxwykmcvsojupxwqxbsjkvsunxgrbqmylcdlwgijgqtknvyuuspuszpjqvlmksputlynadeiawwlegwthqinpmimpnjbkdovaqveqppzhwfkjhxsewitcqgwvqkkytjvcpvdrzoavdgckcbgmsdhbesiowredsfqpjqbvqwfgknqrmetuozpwvqmmqcabenbblsrmaquuxoihgrqgslasinehu
170 109 148 70 142 151 184 135 18 101 197 23...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #132:

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

input:

293
buoxflctinsyenrjbzmlnqjyeqykfcdulqxnqnqwyudpddoydpankmiwwjbmhqykxjhkwcrbuoxflctinsyenrjbzmlnqjyeqykfcdulqxnqnqwyudpddoydpankmiwwjbmhqykxjhkwcrbuoxflctinsyenrjbzmlnqjyeqykfcdulqxnqnqwyudpddoydpankmiwwjbmhqykxjhkwcrbuoxflctinsyenrjbzmlnqjyeqykfcdulqxnqnqwyudpddoydpankmiwwjbmhqykxjhkwcrbuoxflctinsy...

output:

bmyypqesxezfftybqnrnjslehrkuvwcswdlqkkwcgcdnfmdfwervhhweyjxnhwdkuxhuyugvossajaehavysrklxwfsiznlcbqyqfzprddfynftiyheqehchgcaamcaxpcamyqycbzovwimowjejnjlaeqcfqtsmrvtxkbjagaiplpzyiplaksbzykqufadfcxulfyxdsjqwycainqoxpkvycjobuwvoycnlffvgdudndgwysrrsochldolxafwumscepbhttndejtrmhwwfuyulsyjjjzlprrexv
65 87 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #133:

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

input:

280
xotqwqdtezpzqraoaeqvjjtizhcfvsdalmfkwgtacmggmnogxcwwnqrcqoufsefelhgswoqqzdmtxqpryjrkluxafkffldpfdnwzaedvlffddmzalqmkazxjgsvupfzbqlvjsebixclcllhqgoioxnvfzpuujgswxpanhawuekxotqwqdtezpzqraoaeqvjjtizhcfvsdalmfkwgtacmggmnogxcwwnqrcqoufsefelhgswoqqzdmtxqpryjrkluxafkffldpfdnwzaedvlffddmzalqmkazxjgsvupf...

output:

xvjrcanttgelggdxlsfnsgzdwmsihfjzqztawsedmdgibqcmipjmxwjvpqxnsbtrxpxlqaflrwcmabvcoulhqinzyngqhngmvvpjdfziftpbfmksqxlgancbqupvmcjndtjjrtwqcgwfunmufwuxlwucerostzozrzzmjjqdeoiwjzaoaggpuboamlafbefgeaxqlgudofmekvawkleakqfzkolllgtdcujppllpgfxsfwwtqkdyhwfdpwfnlknfgvqfrhxcroaeqvtdrftovdeu
176 202 89 242 17 6...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #134:

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

input:

267
nbimtggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

nhsgslepulirfwcrlypedhtyltjtwzxsyrpsgovoqlueitptpndpudjookmcpcvlatmtopakxgfiozxpyddbwujjwqkruipbflaiewpkchzszbarkjlsxdnprixfnppxyjubyfcxxreiwrhmsdiqefzpkrnvoauwwusqnmnwwvbuwxjspvopdenwygfegcaivqyavkklmfyubjqzfyoeqgfzgoofzismdrnzgafvvpbyrfzhhevnrltyrvtocsmbbjpsfqqdgxb
96 106 30 193 129 52 229 33 140 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #135:

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

input:

254
nlnhcsainrxoxwybirjnjhbwbwucabuixrgnerctpmsrlmujglfyfeynsxnlnhcsainrxoxwybirjnjhbwbwucabuixrgnerctpmsrlmujglfyfeynsxnlnhcsainrxoxwybirjnjhbwbwucabuixrgnerctpmsrlmujglfyfeynsxnlnhcsainrxoxwybirjnjhbwbwucabuixrgnerctpmsrlmujglfyfeynsxnlnhcsainrxoxwybirjnjhbwbwucabuixrgnerctpmsrlmujglfyfeynsxnlnhcs...

output:

niqujxhyxsgzszfktnabrrvansmodhvednawyjzqyqlcbpbkymaatsjiznihdxdykcgmqafjeztctbsdncsznyaighkrfusesxfqjginivcwkkyhgyyrcesfzrwpnykohgxlfiwxwjfznloykctzzofftbogcrrxnygbamycpgwhzrvwxmemqeydvhrhwihmtcbsxwowfsdbeujxddfzunrhftkhojtdjorpuxshwbxxbiclaarvyfgdexvbtl
240 138 203 249 69 134 246 214 158 70 36 79 4...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #7:

score: 25
Accepted

Dependency #6:

100%
Accepted

Test #136:

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

input:

279
lirnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnr...

output:

lfvajiqyhazeyeiqgqldbirqhegialcmuckccrbkummucmjwvetvofwcwoxnfzgdgljopzrlwyewsrevdramihkrwpczrigyywzpoboztxlcuqphhfylljftichffzbjktvwnjiuqrtvijfylolaqabigjwpkcyihilezzyqpzznlqazzvialbjqxdpdcnvuyrmiymlybdcdhiyamvemouylhxwjzfshmvfrgpmypbdhltqeckdahbijlfgrhgyswgwyvofnbkvkyppfsugbwhu
141 43 224 179 172 7...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #137:

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

input:

265
hofaumdtuurnczvlnrnjtajuipifkrmbhgyrthclqfgxozeojkweqhcqexkvbfzpgiudplencgekesmqnndectokikcgcxsqfuocffykxqijtqptxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaaukaxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaaukaxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaau...

output:

heymbyqcacjocvwfdifedrqpmzyrlzfeoqkhalltohlpshcfacrimxneuegtefwwzuccmktqhypmkrgqreenvjictcbhnrxnudgccmdnefaaqplaetphwuiufciraccfqxasnrdupphediugkzuvxngtmpngffgjlcphxbuspyoeaneqjwckgopzxconverxtepxgesbqoiiqkuvcnnztjqwcqjnpeotlurbthqloskilkzakqyhubrgoihjnwlngykcbvnfu
249 39 31 23 247 70 62 212 154 41 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #138:

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

input:

252
lvslllnuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

lelsvhbparzazeaazwzlpirscncgcknyaskzdzrvhqoerugthjgnlvetvhcmiqdizxigvzmmcyvzqdwqxcthqhlzzmgdsawrbyftfhlmxuppqpthvwgijikmkdvyfivondoyqbbywlwyeijsbwqyluxiihidsyaahnguufisbfpacjenqswgbleujdtbygrdulpoyvqqkdjlzzhvrbqkypzovmapyspclbtdqcalriirsscviqbxbgcumgpn
69 20 126 74 50 245 49 1 249 68 85 173 170 139 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #139:

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

input:

290
mkpazbuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

mvuugsfxtmhsbuccddypaulfeiohtanhwsluvzuivdtsaasbzimqtduimemzbehwrvndnkblkfqodpgkqyjpilinamtmionuboyvrseyvjkdpwacfkejhoxbbhtczkwxdxyfyuyiimyqrulhlalhywisdgfsopapeshjnebtmblyfdwokvxglkehssakbqscnmvbnttwiypmvgpvlfpbyckullpnfvsnjdqikbtnuphlspimniczekzuqnhpnawkoneojwfzdjowdqgkjxkhzizfouobdsthxm
126 155 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #140:

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

input:

277
hpnajknenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenene...

output:

hrbbhbntxvrfchuizvesbinhztxrkalenvbovemfqerenfxuowacoxdqkktrmkszuiaxqftacxpklyetjjevuaeliwtepujjcvdlsclbsdglqbdbalmgqfztmlrsjokrljxudeqfqtaaqacvdgotikiflnguaafokfumbuhqxopaatweasyanqeftrxtnvbcafgixuamslgbazoasqwsdqawjrndnwrtawqpbkdfvivxykahgcjwqssaefriakzzqayneelnvursxhbaxkxsp
93 239 8 5 254 229 156...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #141:

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

input:

263
dimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxkl...

output:

dfvnjgijrdelpvsylaliipklatbbsycndafwwgioyjtzvicrjrlfcxbrkwupdbgvbuswfmprltwxekzxazyvfodvdpyfntsixpaqcgcracrytjogkqwekhbxvikbtcrgggiqqctkmhqwlvpighsfxrfnqnkqhqdpimhmhohitdwzjqmjrunkicfaqnohcazxqfhtkbqgproihgwudlsxyzawtvdmpemvyqiwgfgmvrcecupzesghxwdkxcmmzxdwdbvpukx
131 64 8 99 113 29 30 215 79 151 95 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #142:

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

input:

250
rnrotfjchmmqtfvgehxyjrepoeikghjpdnygpsudolabrfeliyarfvkkendzhnakhynilsudytljsrjnjdxseashiawrvualofsgdjzgottambuepzbeerjgncbrjndzobutdeshfhmvbawxcrwxpdohemrgdebgskxbwldfeujthslncimlngnucyjraddsrfvommiczmjeovoabcofzfiglceofypahjvbaxdxkbvcjkcvhiiqwkdzlqrnrotfjchmmqtfvgehxyjrepoeikghjpdnygpsudolabrf...

output:

rtohpyxuetrzzdsvilrecjsoavjdhvzsoclaehhcurlgectileisjgaavformtuzftomcdnaxjkdvbmwysjqbetgioxdlxdinsagrornlwjzerjxhbbunhyvffjbsxubjkniqkedajfcadfacglbjizyenarhpvghddufeedjmnmwehfogwedfcshpsroobwdllkmoamvaxhckhbyqvksiontnkrkzrdbnliggndyrjfybppejmcgefupm
231 38 161 129 55 5 184 27 170 66 149 147 172 7 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #143:

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

input:

288
vazdijkuxgcgyvzobgadxehkbjzkyswgiiqfnilvfezhazonrochlnhtlrykmpjkofwxbcfmemememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememem...

output:

vqpqzlubhlanibllpiunygibxpgifwnweghntxwcgdxgfgixtqwykhavfpdhoinzucsfzicjdrxbwofmwyjqjmfkxfljurmaezazhnvxfqoxukhdqdopsthzjvkkpkzugxericgzcfqefzjtumnvxtuljitmxrnpalifunfdcxdubhgammetonauvsedaqovgdlsnwddowmmtzbltkxxbdhhdreicunzmkmtgyhigclypjntlkeajrmmeawggftqdmmupwoblswaxhtkfoxsexrqdtplzvfa
11 112 85 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #144:

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

input:

274
egrlpyuvvjsarrebtidphauhawjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

emoxloyjeqeepziyjopolauroyiiwnhprxyvdjadhxuhynynqtcrudxhzuawrpvbhhylnuixvuadjlypaqpraexmoargdtuancjysyckpicxgqytapkyprfiasdrgyglwqkvgiujlraxskiqxwfaptxeudmvrffhubzwzgrtkpiwlqajihtvkxorfalctvkmpzphwpaihsmxyjaexwrpggoasqawwuibahfymuiwbawcpbrwosvwbrjfjaraavnddrviiyvklcmjajxaed
109 198 161 246 198 10 61...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #145:

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

input:

271
mnjvmzimlireoaegemqtdxenycllojmxdszwqxalgyxohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

mwbumsbfizqzhknyoexersefgaccoiplrnzbnyzhunzuimoclkrovaixkianorgppsscmjrgjlqzskslkqzkaprerxwaearpudlnedjxyemlgrynacyawpgpwyrelfxmioizbnnlynkolgemhfpjrmcbqoerncmrvtygtbjkdahbhxjxtvzxffvftyxvdefhlrbelxuvndvvyqbkzkdojvsuhaewxfijyrejumspvnlirjtowyqcmhyyjqagsnidbkxbmmgnppfzacf
138 243 206 50 187 214 141 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #146:

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

input:

258
pyojtbhbrqqrcsrqsedfeunlpzwznbgmehzjtrtcxjrshhdzlljpekhhnbgwashaagwbwrsieerljhtuctgysfcazmzjyigdbjjilxyjduvnndxaaqusvoefduxztyakoakhzvfmpxzlkweyjqiixrkwpqbccnwbpkjdzixuzqvvwfqnpcinbedfxxamsurvktgokypyojtbhbrqqrcsrqsedfeunlpzwznbgmehzjtrtcxjrshhdzlljpekhhnbgwashaagwbwrsieerljhtuctgysfcazmzjyigdbj...

output:

pwxyvrferdivagjjjtgkotyxhbgcrxslxochwfohswixguegaxcqfcqvvzdznebxwbjdxzaeprnyyhudnwwvyhnyqhyvhwuorlfaamtqozvjkbzqrqdukliqnexejpasamqcjszgqdmglefnjdrryhbzpustexjicwjckkjftmjimhctmzempaitrkiqxsvxljwdklatahybteoaprjqjigkineksrbdbkzlzkzkcamfdhfuufpnsisqflabqyqbdl
76 225 91 162 37 245 118 143 80 46 211 14...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #147:

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

input:

297
lcsycsqtiyhqwztoppbnpsttbgkbystovmffqzlkomtujhtcnsagickqnfeagrskxxufyovkpvexmsbyirasyavvonbwrqhxuhnvgwavcqhpjifyvxyzwufpdtvdxfckdzdneucloshktxxxvxsezgxjkgoulicazqgmcrasjbidcveeeswqljkgevzcptsyswofxvawdvyjqfkanzjgvmwjsllctnwfmqtxzlbtslhvcnmeevvjaocxldkmvgfumadzkfgwogdktwfxdczwaevjrdbpwyffnvvzckjl...

output:

lhfjgaywoxfifaktlvoukyxtfghsxyzskqqkogatnagjzkepgitkzdjxbxuvhzennfyqdfgxsyadgwylvrdfndhxozcsbemzycuvnjzvvrevtyqpnqbejxllcxdgcuecbvksfgumntcgovxqcklswwsvvaltjofcnfnswhymbaxlkaekabdrscgvdnmdecmxpkdtbzptlcptixwxvfcsjsavpdirtkzvicvqsagmjywkqfptucwomwvweqxqpcrmdtwvfzjhfjsvsvteosklivaehwzmfoyovscubsjzw
21...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #148:

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

input:

283
pmeuamhilassmpzhychdqqjlweqwtyomzymvjgcyppstwgubumnzzlxpvtawdbzyaqzthnibbwbjdpeeurgaqzqvvgaatwkddjtwsvoceqqteijipwrdqsfetkjalmmenubgyrymsptvcuvidonnabeyuwovontzrmwtcgxyvnmdqncllbqvoaraovsnxssqhdqamvladqlzzdvlohhnuhedhafabyeqthuyjkudabrtnhlwxasgwxzqapvncscfdhrawivnaldedyfwcwzibjuypyypmeuamhilassm...

output:

pyfcnulmnjqddpouqjptdldwpmuwswbwdmujqxkqoztyampqdgeptvllquezesnygxazuzqedsqxyhhvwlvbnvwclfthmqaucluwwshzsvmygzqokeviwmcygavzzdetiqyrbhvpibcbaybxjabbgvjbiitauyoaosdvtvuonqrtyfhhtoturjaldpeozqqzsdamtpdanixhpwwdgaytyhbncwbalcacwjsvaaaefirehymaymllgndvnvhzdneqvtqdmsrjenweszrkaynrcnhamsw
26 187 61 204 16...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #149:

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

input:

270
ceywwlfrvyqfbysnfzxrvwtpimlwrgccsyvbjsalhbdxpcsxfrkrskihehectaxoogrhjdaefiiwuhvoxyyzbvbzfvyfcstpuuzocyfatgzfcmihqxbqinkbralkihiatvtxmtizxzsbkobpzwevzezynlytlsjuvzlzyjumdggpurvgwdhwtojcmrgswvevgiquhrehwqthkcqdcerervxibxnezfypqybmmxrzmjhchujzfvtllwputxnpubirptcaihuvkfcmvhceywwlfrvyqfbysnfzxrvwtpim...

output:

cmxgcqzrkwwwalvuvwizhnwtvectkzjyohcetzrjrczpxsbfukdsxsioxadtrrduxlvhzbhinbuxqvkdxfeflmbzarbclvgpwstygxffuzteybrcsmqbziyxtbziabnehscjjiezyiqsupclcrpmknyclutzbihwwuefholvergjrpotvuvsirmzyshcmwioijhaxktafutgghqixhgempmokrvdyjhtnfvtvmywfzhhzqacxcflfeypvqbpybveyipwughyvrvlfr
36 229 175 5 240 53 192 246 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #150:

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

input:

256
nplegsmxfkerebbhslmbpdrjziiwrjbvfrbsvkfeeytoowxlmzyvuwnegrbyrqphgrtwqsxhjlgynctkdqhlckjmgkbxjaskgafktoguxxvmvhkxdfzwoyfhnikhkdrxmytwaxrfonxnuqgjauynyuysarmyvrjkdsrgzyqpmyavinbghwjowskjcxjrzfmzzdijimwrtfiopkarxcyvupngryudlvyzczrimrhooyargsyhvcpuisbyqhnrjrkdnplegsmxfkerebbhslmbpdrjziiwrjbvfrbsvkfe...

output:

njsoogwtxtaoaddfmpryoargwfherkngwmzkkxkdqwxijhjkumshvymjcfxjsqhbvyhyriybxzrfykgexsmlumabyfgiygtrhtrvrgrlvxctbhrzpbmjfshmwjabxjlcnxzyainxzykrwlfntrrkkbyrchvvnbdirgdsvzupoydgqurgmynspylnojhsapusvorujfdkjyrcclvdeziqyuvsxwkyeqfwaezqripuwignorkojkgxbrinmmyhpkze
18 227 254 240 220 239 125 185 67 198 238 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #151:

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

input:

295
?
dinrnuehnqzocvmugcntzsydnkehcsilrcqhfkbxlcjapvvtipklrvyxstcrccjoluodfzituvdvmukjcoktvibvfsoqrxsnwbwqqyhhhwoydupxqymjjsempivudwgmaynrmntxagjnbbfqrcseajiglpnypwzhsxakwlepxcjdinrnuehnqzocvmugcntzsydnkehcsilrcqhfkbxlcjapvvtipklrvyxstcrccjoluodfzituvdvmukjcoktvibvfsoqrxsnwbwqqyhhhwoydupxqymjjsempiv...

output:

pdzmtiobpjtprbnkrftyyjasumfreacycpdssuanxxcxviqpybnyvlhpcjiyehpnfptsuwbmgmfrsfetxcncafshrlqzodtiraqwifudilwzjpvxdqvyczqxwtzxxqzbjhyffzpmuvuvyscqkwvytjvvtvnfwgniplsuiygjwcavwcrjndlnoxzcjtecscbswuomqvoevxaphfkmcprwbhsafrkgyekjgjwugyqvkpgfoehlrzcknmccllgnzbehwlkmnfoqfdlxnpiobhdurwvzkqqpgnohljehqou
240 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #152:

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

input:

281
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vvtjmzyxopjngrbqeacixwtbanzfefbijynaldnelzijwxcjisgrqxpxmlfvvewduoixklpoxgpxwmyjojsrtglkhvefpelfshvmzbhgkyeeeclaiiaobceaejlthwmekzjlgpmutqcnzzdcxhdhkifgqbeufwhceqvvcuttlvydvnxnmymscvoazgcglaihbpdehzyncyubsxzttuvejycoszsifpqvwtbylchvxhxwhbpmzqjajhmraofryggokzlsgjcyuggyejxwzfrhyiwhn
224 237 10 73 85 4...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #153:

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

input:

268
iriririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririr...

output:

ipflamlwehnluecofcrhlchgbjjaehpligrysikjltbjlzzeswnhvrioqrxdbmtunieiywwpiztvfehwllhbqklypfksdizrmnbsimbqfbryixjyshuwegyshozfaatpxkbzrlqnyjyvryaqxtjcwmlhkzsxxvjcoibtpjijxhbejqhwghuuvjjcabsprgdsmxkhxyrikfoekrssqpimfdkvglabsacylhutcgicmaudabsmpjejajjumfvvpeojdasmsmnydrcs
266 144 72 62 233 52 196 71 117...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #154:

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

input:

255
?
pyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonh...

output:

npywrspwtokjeslffotacvqwvtmiicrktzpcgqobzrnfuiqjckrjrpjwronatheaxnysvzqygtsthkyobyhjytdhtjmxjzpfmtzthfmgkxdpphfwzeofbeoelnbbwaqqowayijztcaqfgggywjtaoclxefncyjjcsyeemfxcrqvnaxdwfxfqnzmhzrzxzqottvhyezixjtcgvguybvxcombfzqhvhyvszydxxkgfdqhibseotqzsppnxtfipghr
45 226 106 165 121 195 160 242 1 6 110 76 13...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #155:

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

input:

265
bmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpnafgtnxrdskqswpzmdiwxtwtwdmtibmtomzwzcuemqxasnhdoedjeqmdpywabmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpnafgtnxrdskqswpzmdiwxtwtwdmtibmtomzwzcuemqxasnhdoedjeqmdpywabmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpna...

output:

balqdsbeqcbdiqiiwuezghcssbewtetdjnnziqhuwlvnwrxdhlzxztfrcteujzqmzblhpiocalznggmtgmgoqxnfgtqypxltmyuumwsgszequkdjqjmrrfxwytzacjwqawumwhaxqbgqnijclusvyadzhoommvlngtwyhgdpekveohlmyesqkxttnzifazvscbcztzjqmkpzkqxtxllymxxkpqnoxwgfmzedcqmhnuyhxdasicirvqbypzehshmsypuetdedt
82 189 149 65 249 222 33 148 250 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #156:

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

input:

300
msvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlr...

output:

mjqqeltxlskhjnafvrmzorrukhkscxxqzfjucsmqxfndejfzxogpngescutmlgdycnlcewavylzvguqytobcorzgduuucunkctwycdtjsmzzpuxvyjgqrlverduwoumnhneifemrkifmregwpbsdtwterrmcxtpgaxqyluwnfpbftsjjxgrohhrglunxsujhbuswlnuysbqipsxdxrlrpppscplrzwskpycnntmrayxhezkksgxwgbuaqjfuppousrvajhaquviseodoldjbbctemmqdccrhnxcglhralkji...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #157:

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

input:

288
etrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjet...

output:

epdtuxmtfzqioslvvvqhvjgjmdxwmbxofwbatbionbwglvsneuzssjpcgawmgssbqwlbxbtjhtrzyhgqzyhvuyktmyvubxprlstsfjpkcmdblavttlbxwqbitjaekzzbtfqjmqdqhaompixbozvounulzlyzyikbtuhgnzrcznfdiigqjwhnwjbbwhlajobbacdtpdjzrxpkisoezddiwucruyduoznruazrqneuqnxarronpmlwmcrtvgdhzjenhpngnpivbfhpvburmjtrucihvkdaavdx
196 5 9 224...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #158:

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

input:

274
hukiiqpvojfuvjpnkwrccnjtqkignkbjacahjizrykywngrffvcsoqwmdpjtkoncyysbxvkgwhqgavozufqlewswxlglgzyjbnadbzaotnxhmwkikxqhgptqztglbbipplhtsfxvlzpwtljghkshpowibbobvqnmphnqnojryfvwfhsacdiajiaprtksffycxmijhhukiiqpvojfuvjpnkwrccnjtqkignkbjacahjizrykywngrffvcsoqwmdpjtkoncyysbxvkgwhqgavozufqlewswxlglgzyjbna...

output:

hjjkfeinthykipmcxricefwiyinzfancppuybzprblcmijxeifdvjpogvjslafenmkvozalaoyfgajtjrkikocbykxvzboxalsniwwodxwhfqhigbmgqjaccptuhtqfsjnasatpxblwmrwvyiosdkkcbqkxlthztsbpsqihznaknstvtvklhwothwqoorjhvsznggycxqpwwlosuovtwvipjxoppilnvnfzpykzftogpqtzmqojlwchxopukbpqgjbzhnhjqnffnbewcgn
251 30 195 235 135 92 61 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #159:

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

input:

260
?
wblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblu...

output:

uwwpejvkrbhvtdwrjvgohvzdfxnyfpsqxgtrjltoniyccjmzanxhsecatxedkkslmrjpgmxpobjykxxnisozviegewwxrsytyvmqogawntyvvzvcavrjohbunmnygxbbjbeucuaidrskaatpfuacdmcsmclmwrdtgduvxrujfbobhphfssufmjgdauqaarmminagdbbuijfbeudarawtgaseietdliayypaeqafrwaduakwddkczcaqavqsaezrlaiap
255 199 36 244 256 1 12 158 17 34 211 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #160:

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

input:

298
iprtxilwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

ixnrthurljecupvxmpkmgwbrcrtmkqeqyqjrqrghlevwcxpquawzslangcoailpaqugwsbthvnahwuvmettvfohvarmlyodmkamyphsfbqjyzlqafyrrfayjwybadbqqwinxjhqlpvwwbaxvwehapdvpaofvfbfxgaegswctqlaanpkdvuxlarfinacgdhptludizbpcgqgffnapqzmasxjltkqakynfksxwyrssfjvpdhnhabqwdametacokzmyhnccmudnoirldaabehawmlnankluhqxllpjpexzaig
1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #161:

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

input:

285
ctroifnwidurzzodpgxgmaluwcacqywdptmrtxtoynpehfngkzwgzeskzzdhhabvyapylhvnqxyquoygrxqhzvbhnlnevzuzegrfyjijazdaodzjpkvxhktdjsbhieyqbpgkibalejaiiifcmfgxxxvtqsosjklqytbnlznnoykhghzvbvurjonmcqltpakthrxqvdkbaysgatkcwuejssjgkpvpustzaepgsyhhmeonnnkgwahvagccsdiktgdpnnzahywncughrfasbuaoecoqbgaghctroifnwidu...

output:

cyqjsfnzocqftvgnbnllyirkrpzyldgbsrpzxkvcgitsuywghajfrwniarysxmnkaowcalnghggjvhtbfngplazauhgaruubbzezpahowskdewpvhnchnjqnaavepsfigxqdcqdaakvlqygwuetzevhfzgxkgnhqhqcvnotcdkthsigybgozubsxqbkptyjjtoezjzbhaijnytxkdtkdspakykamuntdivxoyuhhdchqhgvznjtsmecigzvbouxwzkdirmgyxlayoaremenhpeaopopzs
193 144 150 86...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #162:

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

input:

272
hnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhn...

output:

hnqumaktfwulwrawxjazosspywuraiejdhgboglybcdvrdcirfltlmetkgricxhchcgzvfauuhccadmhfzowwrfndrxtwxinznryahtvdvkfhksmwtavchzedbitrfcxzursshabkahmpvggepjjjtuvpqhffqpzjaawbskvoqdicmmcbmcvajtbemnjsytgxtmnckrftvayweytqmfdltlqiizqtbnrtjulntnqlaklarxzvjtazbwatkeyagaataaaaavjpatwedta
2 181 75 153 41 63 176 133 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #163:

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

input:

258
rypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdijzakebqlrnzpfsnjeumoyrvxvvowjgkeusrmyhjqlbskpshimvujujyjdnfrypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdijzakebqlrnzpfsnjeumoyrvxvvowjgkeusrmyhjqlbskpshimvujujyjdnfrypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdij...

output:

rujgjrrzivkijtuhfvelrcedzhqfjjlsvmcxjvscaakrbscpdjuxgoepekimpzikdhuvjuefzvzprvkmujgjtgypvokgiskeaemzbsymosrrlukskumttaganjoroeufalssjzdmuynxstqcbtwgzneuiabjlwupenqabjbncdqsvslwscegrrsiujntpdhkrxxruflgepotgbvsxbjggbxyfnjmghkjyepmqqljhdyygwhzevrosewejemzzbaxvd
225 5 258 59 236 24 163 81 61 36 189 7 16...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #164:

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

input:

297
fdrcblwtcprkqeugfuhhenwafgprmginvlzufwwfahskdkcfxacdaazibipvibrrsudjjnrcpjlywrvywjqteciouiupgcqlbnfvjemzngrwsuzinunfvhxqiizfwjdhmtspfalzwkvjacelgucjmmtnbzdywbjqqevcojgnxtpygiqywjifvbtzzwcsrfdrcblwtcprkqeugfuhhenwafgprmginvlzufwwfahskdkcfxacdaazibipvibrrsudjjnrcpjlywrvywjqteciouiupgcqlbnfvjemzngr...

output:

fnjmfwxkwctyicwhffbzwaszsnmdpivwjajvfrujcittncralobyidemrfncgznsgnqmbxzimognetvuerquaizpyzbudeteggowojqfcjvbiywrilanzckgjxsnalduntcjjoabpqigivwalmmwzecvgfbuizanauvipttsljkkcwccohcxrqbujlgudtslqphzteiwrsgshxrflhwdhrbfiwagwhfvradfstxlrybrhujgnwspkketgqwvwnzlhcenodowljalbvgypgzgeouyzgpmdzdsudvfadqml
22...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #165:

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

input:

262
dhxncmaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoao...

output:

dxcfnhegrbirqrpfcmctinbxrdhdzserukospsanvruiypnykzpfzmdofpoohwxwpwkbdiaopdntnijldakghqhneamhhofqlmtmqudlvjwfrvjnuhzotytyyshyljsvptuwferacikuetagnsflwahqjgapfzmaoeyqauojqrdunzmgroukaxzmlosepibahthnqzaafuwupdybcaivgaluvhpqaljagfoznaepwmapiiudmocrfzofokxykxhenycsih
123 204 247 58 247 226 116 141 2 193 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #166:

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

input:

252
?
?
kziojgkncvaxatpnpoatxzvugzublnwihuisukkhxatdhtfshcstnmzfrikqlxblzbybghptlhthlykswpwsajbkpltoonrqxxrcyzmoixybtwcghlguzecjfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjrao...

output:

zjkrigowxwujbqqcnmzgzwpndbytlbafdtxgvprsiirhqsanjpklnkfhchcobrkjptlxwhtnwlsjnyhuosoosaukatjxrovghzzeqnophmlgapawoifpebdkcxfoouzgztyujsvlisylnbfuxwuuzpimwqrzbuktbgsqemjkyvxcsfhbitxyaxgxrzahncsstpoydttzhlfmhticothlykswazanaaaaaaaaaaaawaaaaaahaaaaaaaaaaar
42 43 1 2 44 63 45 46 47 5 50 6 51 52 53 56 59 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #167:

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

input:

289
?
?
?
bklttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

htqbvycgoqjbwkmerjhxwsjwtkqgmlmavurdomgfkcrnmjlxmcgktilleuqaddxsjtiwgowolgfdanjifazjedawyifwoehzppsmnueckjafyaetwcxaeixaaaaawaaaatanahasaaajaatauaaaaaaaaouaaaaapaqapeaaamifureaaadaagiaangarajaaaaapcdaewaaaaumgaseskaaaakaaakaiawwaaahaaaaaaaoavkaraqaaaaaraoutazhaaaaaaaxqaaoaakmaqlaaoeaaaaaa
74 75 76 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #168:

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

input:

276
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vbrcgcjvantvkthpxxprjtiflvergxwzmlzfzglcxzpfbssambkkzrilzerxtgxrxnulnmwvorucuyadhpmnehgqoswsbztfgrqtzdkesjvzqbetutvkgjtevlnbqdmgwpamspwjljknndnukwqmoohbrlihdotxfczvpmeaaaaggnaaaaaaawpmaraadbaapaxdaaaataayzaiahiaaaaaaaayaaaacaaasucyeiasatarvmaafaaealjafpauaqhaeantapaafqgafabna
1 3 2 196 172 7 6 145 1...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #169:

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

input:

263
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
nmaotlnaoiyxipevcvqxkkurixqpglwyqaijvgxkjmyywiejxuzyfajchbcayohkmqnijxamevqgfcaifxtizgadksqbqjryyxoutmziogrsrgyjnruukhpgnzttrwcdmbrqfopkituqxuheohgalmnbuaxmfpcajjhfeupclkacthljcnckujvxljrfunssamohivgxssavcukbepztxgfsjxtxuxxrqxkhmqudxneaxryasnbpzprzaulnfsaqhspttjyn...

output:

maarxqbfsxzaogwrnlmqizragkguaudjykxepnntigfcqjqgzixamtolykykkcbfrsdfcuxrlqqmtnsxarpxsjmonqmnzlfkqjzrxpmcpnfinsbajpgtkkgbjaaqhrdyxiuluxpoqcfjutjiwaaxiheenrxuvybxmysurxqxqxppuhhxlaitcuujiptlkhrjejkhevfvvyapotugccgnxvtunskzsjtamtmyoyehwiivegjxxshuszayvfhcaujcohbcayo
29 30 31 33 34 35 36 37 38 39 40 41 ...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #170:

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

input:

250
?
?
axaubwiemjlkpkeugxgiufxhiqjwzvjpiwlcdnknhsqndzfeekruzjkobtuqmxyngrmlmnwzbatednwhhxntusskoctgbejlfntvjvszmmhnaxtbetcwpmlfrbxgxplilhlccqwprxdrjzpuxknyaynnuszrkhxcbufirlcryaceybwezwpmnliopdnwcxlxehwkkcuhsnrlntyurnvoybjnqulorytthvpzprammthisemgakzjtzdkzkaxaubwiemjlkpkeugxgiufxhiqjwzvjpiwlcdnknhs...

output:

xmanubxzjvleolwdorzpjrztyptzgxnshnasizirzyhlbnzctnxligxyntbwuffnxteankwpmkjrcprbjgmkvpzawsdmeouenhkwkzglranquckwnpsihbhhunuuempyxuxabnjqrnzmmpvprdewihmyqkslriutewjbhzitxxdtvrfktdjdoglkulknmklqtsnwtlehyeclxocnjclhnjeiucyrbwwcvksqcypehamtmclgfaurkbzfxx
68 69 1 70 38 71 72 73 74 75 2 180 76 63 77 4 221...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #171:

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

input:

251
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyqqqqqqqqqqqqqqqqqqqqqqqqqqq
37 6 34 150 181 220 26 169 41 69 92 49 121 70 11...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #172:

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

input:

290
kkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

output:

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkmkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkakkkkakkkkkkkkkkkkkaakkkkkkkakkkkkkkkkkkkkkakkkkkkkakkkkkkkkkkkkkkkkakkkskkkkakkkkkakkkkkakakkkkkkkkkkkakkkkkkkkakkkkkkkakkkkkkakkkkkkkkkkkkkkkkkkkakkakkkkk
263 290 2...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #173:

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

input:

276
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwwawwwwwawwwwwwwwwwawwwawwwwwwwwwwwwwwwwwwwwfawwwwwwawwwwwwwwwwawwwwwwwwwwwwawawwwwwwwwwwwwwawwwwwwwawwwwwawwwwwwawwwwwwwwwwwawwwwwwawwwwawwwwwwwwwawwwwwwwwwwwwwwwwwwwwawwwwwwwwwwwwwwwwwwwwwaawwwwwwaawwwaawwawwwwwwwawwwwawwwxwwwwwwwwwwwwwawwwwwwwwaawwwwwwwwwwww
276 276 276 276 276 276...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #174:

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

input:

262
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeekeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeieeeeeeeeeeeeeeeeeeeyeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...

output:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeekeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeyeeee
128 242 173 250 262 18 198 22 226 152...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #175:

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

input:

300
pppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppp...

output:

ppppppppppppappppppppppppppppppppppppppppppppppappppapappppppppppppppapppppppppappppppppppppppppppppapppapppppppappppapappppppppppppppppppppppkpppppppppppppppppppppppppppppppapppppppppappappppppppppppplpppppppapappappappppppppnpppppppppppppapppppppppppppappppppappappppapappppppppppappppppppppppapppp...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #176:

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

input:

300
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #177:

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

input:

300
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkgkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #178:

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

input:

300
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsnnnnn...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #179:

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

input:

300
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #180:

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

input:

300
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvtvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #8:

score: 10
Accepted

Dependency #6:

100%
Accepted

Test #181:

score: 10
Accepted
time: 49ms
memory: 16920kb

input:

1981
wcxdytnmefmpbpdlaulslnrcydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfevknffcniychezdvlnwumynjycbydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfevknffcniychezdvlnwumynjycbydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfe...

output:

wjjtyyjsikbuwvtxpfwiwoqirfleeswsywstzmmuvsumttlblqxsypctxyhomcluwpwhbifcobegbnrltzfikqyknvgvgcjpdqxwbukfjrustkhvnypmznbhbyxabgbfcruhyqlmomyensuuxbrjvlceufbtsyyhlnnoqzrgecmayawjszqujuntgatxbrooyfgpiuukesgptbffmpufctvahtamvndgvdmzxocbyvvueplxhhliegskwehwlzgpaoldqyxxqiajpefoavnukcvycrmcrlgiefujvwvnmuvu...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #182:

score: 0
Accepted
time: 41ms
memory: 17172kb

input:

1994
hjusebxsvofgeshlqkzuwrcfvlokcodospovwycuylzevtqqdfhdyepbipqnmrwcvsqztwrndyqhzrhftfwrsozyjnjpgzmylbtboxexxqknitcvbsqovaslserjmkicawherlrncayemftqyjbbpthleozuyvzbcubejjamvxuqcbaqphuntbukuiorsnxatipplfpfrnofampscdsasoywpoafrnvbdcsrxpfkfmjkjmcsvwwsjwzbbjahjusebxsvofgeshlqkzuwrcfvlokcodospovwycuylze...

output:

hysafnnnragmbvkknkjrqbvdfmfpwqxbdatwuhnywubrypqbhacpqiquivdwdmzjluawhxamtqzvwhrrfytbabuiyzuvrhwuvyyzaboyssfwtgnmdxxkoldfoopgbvgyijfbosvbtfgdqxsykjxtgajtzayyglbxczeywmjblbbxglwmzffqrtwyczauwflgabkvalrsuwbdxpzikaanmelgkbalqwuystfxfanvcivdcflwwsctnecxwkzbuhphgvgmkcuoepxxywrzirzdrrzzzawyllozmvdvauzyymgm...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #183:

score: 0
Accepted
time: 48ms
memory: 16956kb

input:

1972
wmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassy...

output:

waexhlqnfcovvewvaetntuucoifgqhvjbgxcsnjyakjmzhakrixmjjnrofwrlyelklwzuslokgtsznkkdfftsrkypaoqtqtlneyfobjpxxkgspbqgiqvzveobkdkpwvlgsorbzburvmfallqrwruijyzqcdtiiclipeqqeuvobzldwagtsjlcxcdafuizsbqmqmfwaivyjbhdrjdrjaehsazrgiabkuyfyzgoujusfvwxrfzaxoyuuxzonbrpozbejcdbiweonozbduwangmxajlzzwrstgkxsffjehcpaen...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #184:

score: 0
Accepted
time: 49ms
memory: 16248kb

input:

1917
sltbfutpxvuhzxkaujlauxbmvbptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgr...

output:

szrzwqqqysvspqybnjucymzwzmpnmcltojlbxbubinsjrlitxykntmvzkucgaatngqqlijpdoyhfhhgjtextbatwbsmztdmrfcxclticcbhwqzgiqzbgamdsfviyhnbuyvcjgmaenhbkygdedujkuvdckxfnkpebwulqwefstqhdwpecyhwovacgljznkyqjdhxvrkruogrkumpbgtwvokplyrmqkfgejtyayapmjnldvehxnrgqiufugvaumpkpelvhhpihzfecfyvxqtslztaitdxchgplycpjbbaakjxw...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #185:

score: 0
Accepted
time: 42ms
memory: 17332kb

input:

1996
feqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqsh...

output:

fdeowsdcrxqthzyagyvigmogovcfgajvdzdidauvdatscysqcpylsyopevkjdeeitgdcevwypsyfkwswfsgnogiufhqugyywfjjipufvggekawuodoepryiuxgwomecfmjixjvvtnkchorprurokvbavedpleveltupcgaktcxbuuxwagwxjoywmxqjdyrzqczbhwpubmogmptdjfqmhvkwyxyfzwiengttxuatlxzabeetzoxmoanqudkezmlntmvysrajaxjrvnscvuwdfzpknxihlxgpcmapfdlzkjzcq...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #186:

score: 0
Accepted
time: 44ms
memory: 16440kb

input:

1941
eqwqfjwuerndnphcpfcmknzwjpysdqvzfpbvdutmrxlygtorwnopuxmwtivumbmafpuyqdhcheowqmmyqnheyijhsnmtmvdpctpoxfpylchpofowhqhkxweofxvrsnuzanhtvdoxddtulbvziyqqmhmydtomfbljisrhhihggbtrdzdaciojqizmqqntmogsoaicmhbmlqamfqcouwhhipwbtlbulcpdkzbsnlmnaoflzilyinnugabmtfsljrlszlqyxhnvfgreplvxlggxmqaecjbvlqqbhxsokki...

output:

ehosqieitgqabzpbcmrgexbrrerryrkecanditfhmtcqphbmlisfghpamcfbmhmoqmdqduoxroriqjgypfasiwkxjfszbanlurcgowejizxbroeddmrwmcmiljuvzyqfaafhgyljqqsmnlltspikzimixmrqsiogbztojskyxcioefwawklonqvvlvxwcdwrtqcoxzdjzhvqeaexvtkfvgopamzwrbimqhotjgpxphxvpdqoeobuezmijmziftdnjidcecgxjvzivszxlaawekuojpmytqchfzztqqlbqljz...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #187:

score: 0
Accepted
time: 43ms
memory: 17172kb

input:

1987
tgeyotqnxqflxecdhkpvfuiablbmuisoocrqqlpdnjfukwxraplqdtwhutpvtnapjzeanhyvkqfcanbjoejfzurrooyyqjtczrqwmucgtrboipniiixkpwnlfqbhoyiepscksondkxmjffxeertiwluartdxewbkzbwjlrcgswwyapksxrtbkigqlcviemjezzhvgqlhnqstshvbthnzgemwybfawkciurfbfkjsfxjramwddbtpyqpcbbgaeqoejanxwfyeybuhozvudhdsszrdchnejkszgxafpaw...

output:

tpxolrtuvwxcydekvjmikwjocomfcmucelihwdqgzsujcwbjfuormjfbrrzahkkqsfnozquyrxosnpdaisibegpcampaxkupzffpvnarckiodqpnfgvudbupfqhzajndxcozkqyglgokaiimatdbymdjozhainhakqpwigtismjkxljrxugqirxnfqhrkbflvevsaqqxknuuqsxsfremsrrzarbeswenxxxwcyynawanbbkmsqmzxjbownhkcaxorejekaypzxsbtojoqyafmsevrztfzfxrxphnsmdqrbgx...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #188:

score: 0
Accepted
time: 48ms
memory: 16804kb

input:

1965
menlcbtfmqhdgfvfcaygutptszaxbdptfalbuiauxpakfynykjnbqqjxfhvnrrofewiekryemzaulfvwpledzkqzunxsdegikwqhuqrcznohskbpvhuumlbbessbzoxohkelqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgs...

output:

mkyxcvajveaynnrzsyruxhouhteeeezrfbpgxpfefesepjrdfynqyxcvcispaqrmdlmrbrxciqunudfbqdrtdshevqhjbwvmsyggfbdipcedbfrqlkcjdsorrojraatnwrproszeqpmnfndkqusftcadephujwbrrabxpugwootlltyppuvikasjiaijthuiphtbailexwcriuuhabygysxwjvymdygtffgcmtguzqjfdwvltlkipkywkrdzsrieqjsddjlbtxvxonizalxzemeevqpirtppcphmoqkxxmvj...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #189:

score: 0
Accepted
time: 38ms
memory: 16120kb

input:

1910
qupypfdwyqgfrazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaz...

output:

qfgpxrlyjrhmaubhqcqnkdadvkzkarvjbmnhrhszmjmuvteiarrxocyxbblrktnfufxewwiuajizsgxuyyqrrcnqbhjrrocbzblsffuaryucqzhvmpaicgeopwpbzpldodrlhujhfadwuwgcspbjvydvhyyjdvvxdezklgujwghkvdeeowubljqhvyqmxqelkxaqkzcbslcaacgwfewukrcvpckvfkyxcmlrdlfxngfnbzbachlrjyfwfpqsyamqfwqudkyvnmnoacnabxhpybannxmcsiyvsysqvrdmucuz...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #190:

score: 0
Accepted
time: 42ms
memory: 17252kb

input:

1998
jkbavtzrmvibannvhwdgrulvyhswfvmnybfqrilitxocbzzatammmflrrkpxnxgomlubfkahytnfdfxrrxpwajlngjcufojzclnppeagvrotdbvkkjsouxittffbulzzysxqmtmzhfpvpeznflkzfvrwxwjkbavtzrmvibannvhwdgrulvyhswfvmnybfqrilitxocbzzatammmflrrkpxnxgomlubfkahytnfdfxrrxpwajlngjcufojzclnppeagvrotdbvkkjsouxittffbulzzysxqmtmzhfpvp...

output:

jwjtqymanyunbfiynutgkcyngyjxigiotokjnbmuurgrvjtgdfkanptftefacrafdxtlbfsftmuydlqvrrocqjgcywgdbazvmdtmoqslldxzppktbszxsioguzltbehstkdmrynhqedcvvvkurgityjihbnuaefmwgsmdbftpvxitaskxjmovbrvcnunjmpbsigsrusrdupdwvennwbcgixpfuhokvjlkklruytxakywisgfzaictgvkiykazxokvdkkofgppfpapdcmhxsxqzvwsgapuaqwueduajlpggnw...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #191:

score: 0
Accepted
time: 45ms
memory: 16152kb

input:

1910
vimpbjgdrfjnlyyhnuzghiecsbgfxnkpxqklaqpmgglakjxxqommluewhnnfpihdytensaycmbrpepvlmnoowubzwvqzckwlqqjljcsoixsnlbnxnqcerzpjrmmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmux...

output:

viwbhsbmuartjzpqdjcvlebxpjzqhmoagjzbardgsopvmfdnxerzdrcbiygvtifazjjtoqitckllqeitveyepvftjnmnshjtjgbtwtzrhfxhfaihhvvfuxdavyflvtuotyjizwbxeouvpftnvmyiawpklqnmeagosnrhhautbwnjtyspzkiemqbjpmuksjsggmjknlcdzkwdpjrykwnepuswglqtzcpqdxdifhlsnebltfcckzosaictucieuppkvpxuasjchxtfcfijgmqxkhvkdzqiqwwmhleqtqyfwqnn...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #192:

score: 0
Accepted
time: 46ms
memory: 17172kb

input:

1989
diddssubvuygwujkmnbtymttqyhwilaaethubptfevoxprvngapilphvytpcsdphknmyxrvwjhnykdptnlgmjopuaevusyxhrifodrggvjgxzqzuztpwpotkwebitdpqzfhhkbhvgwneiljcikclowsozguygtwislgwckphzswkyswbjjdeaqyfejppzocwdvqkzabdsduxtohqzswzjrescppfhhnhqniczpixqqskruvdrjgdblxrjwcmcsigfkaxhiffgbdbkvfkacynvapnnuwmxgzmjecqdss...

output:

dbvlpczaejepexrepfpjzqhokaqblzyvalrgnenxjxidlclcirinzckjqhadoquuvyurqyaensjeqestwtnqtkrzsnblqxnfazxnfvgeurytjxcsabxwvkjwmwcqknmtoztppfkdxvofzhgrcpsbopsaahryqrnuumzpsclwbryywkexadjvghhavrlavkhyalmmkidaulpbysyxhjarcskqydizxyhwowvjetjcrcqqbnimkzidufqfpzphopfwhglyledzhyggtswhhdwtolxhigoahwhnuynplvpfcctp...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #193:

score: 0
Accepted
time: 46ms
memory: 16488kb

input:

1934
uomnzfshftvzomqrisjphgafjzymsoalysejkdfpblyofzwcejbxabhderobokqkzclttvlxmfbwqpiqrqkieasxarxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwf...

output:

uvsbyexebheehiskosnzjafjzermnkywpfjzzzkudthyjazzhxpsqrqoepxcpfwpivuycazibxqcmvfftzfpuyfumnsvpcsubqymkdlcpsrogzthjkmgqhudacjxuftsabxugkievlncqgboxfjxactozlpigwhguivictqvwfkiieoxrvnqmmwgnqryvambkprgqmulcobwzcqiacttrunnqzsqepsipwnldtftkbutqwrqbzemrmoqpliwibgfwgnnrzbcnrfpqfkqmzliuhvbrxkyxrkhbfuujbwrxgrg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #194:

score: 0
Accepted
time: 41ms
memory: 16052kb

input:

1912
mxhviqfqagdyjghwxpentmntyhdgtycbyhhwewfunygnndrtepeibhafbbzkaxllqujkuoptosvnujukqwuckzhwyfisjwpumeoluzjdgchypyfioptfcuvmutlzewvrcvlqthysxydqvuiupqgbmthqxzclfmbwcxteeceucxjcwmxbcttpgxjolrmdfwwdpfjwrknqjspyyjojsdjonhokiiomwvuazuvskcncwvgflaztrmmgwlnirsepzijhejwmtedfssimgzdxgqyrdjoimrtgikxcgfynqfh...

output:

mlptbbpksnusfpgbzkxhfgwnbtgncfyhvtjsnmyhbnijetkecttslhehzopsnbtzfqtgjcjrdwbktajilncirxioxsfkxeygyihjwymkhtpwrnqicfbrkddavmsvvxncvfknaykuvzsxvlckcfsjivhupwjfwkwlkmuwfmhkhgdtfzyyuiomiuwtwgfmqqrqxtfaifpnkxkpzycptjjpxeapemapwvqjzcjpgqtpowrcghtytqdtpomsddtipkqwufymkinolexqffvjdjhxlqewxdszexrisznbbiwtxrpg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #195:

score: 0
Accepted
time: 45ms
memory: 16272kb

input:

1925
idwmgiozfsljjcwybumhncazlivzheqfwrpfpsgoupxwypxycrgocgzsipkhiqtfnmyrhefvutbzvwxyjzhwzyjxwcqfbxacbfyccjofmeifxpxlzwycwpjyegykjwysynxhccweqygbmczvudhicaefdfaeacybfgtfncqvasninfsciibhrpeoerjlycdbpoximsphtyevpbnvfpuibfzbwoxljwyhleoagvvjxmhmvfdexrdhzclaasdplnhrjnavvzfcmjmzknoxmkfamdhxnqdszvodzgpufxx...

output:

irjypbiqlzhmlouhhvilhnchplxnchtfdydpzxdvqvkneenrljecgdltgkmtaocykobxbpmnigfajjtszuogobxlrfvkxiuchrgpnlifohkrmamernmxvnaipndesumvvesxnroxzpniajxlsxljxznjkrpfnhismymwjzclfzfvdkeqjmzjedyaomfffhszosmvuzfifnsqtjtygbeyhtzwynclysizzxyuqfxlxkosukwxayqsrfbbbxasvevvvyizvhssypnhvrbistxhmmwvbflkalgvaiymogeantlz...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #196:

score: 0
Accepted
time: 48ms
memory: 15924kb

input:

1903
berzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqwkisnjnxletnbjidagbokkxgwivrrhbulcnnillkobzbyqxkgkcpvhrdioyrhjlkfaywmqthcrmnordsrwnpberzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqwkisnjnxletnbjidagbokkxgwivrrhbulcnnillkobzbyqxkgkcpvhrdioyrhjlkfaywmqthcrmnordsrwnpberzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqw...

output:

bgdzkayxayqekkuezzjtcaazoyufhaobzxdvenkuhawpmcrwnzrhegomcagdlhbkodsuisvxlavmrbimeieavdwutlmbsiqgwcdmdntqxnsxmdmygoadroasbzuvxzxjtomgemlmvbmroqhopqlucxcgapsnqmcwgaelszazjghdcnhdtdukxeyxzbkitotdpwbpxqfhkwrauuzjybmhscgijzenvtjctfarxapoaynfmnggngbsrtszyvofahdhkimalftfkscorsuhoylmzlkcgvhhoyjxdskqcjowouzj...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #197:

score: 0
Accepted
time: 41ms
memory: 17060kb

input:

1982
ngrbepedrqykbfylngypdzwtsmaeouerhyfzzieuirrtxzerjvyttrjfhitheodiczzdjvqrfyojjsaajdamrdwcpvthpalevkbhlctlyrmazjbyjldtvpozwkmyvwekinozashnutkiqaewtacpfuwedqlpzgytazbzoamqvwfhurluxeksnwwkwfefrdglvryngrbepedrqykbfylngypdzwtsmaeouerhyfzzieuirrtxzerjvyttrjfhitheodiczzdjvqrfyojjsaajdamrdwcpvthpalevkbh...

output:

nyyglqfhzmxzowebfnhvrmiomfvysaufrpscwryuwxmehmtjndjoowvfkdebvdaarzzewrwkjiialvbfeyrimkojykdritrfnybdnoslxndktjqefaxauqqacskdyrmhhqysevfwxgbpdlemrurgabdzatwvqxdozabesxmmdvxohcejfiydrapklerqwgjmtcdctecbhftugmduhuearenjadilgnhlvwkvcdsbbbmensqslrgqxsjttazbwuqfwnfphndnomjcofpkpxcocwfmkovtxyhyuzffoggdasop...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #198:

score: 0
Accepted
time: 42ms
memory: 16468kb

input:

1927
dldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillid...

output:

dvenkvuglqnmwvopgezwfqvrqxvdxikldxtpeewsvhxaxxndwydgdvorsmjyiktegkkzzzmfgkotwfihmcemolykaugrplnxvymsbosplhpxodainisarhrtjixyeysnqaijaqklpljoccpzkbcmivbxdzlrdeyxzilbbtsimxzxhqtxdxotngscitzcyhonfdytbpqhxenkgfknowbahtwtnxhsgfegvymhgasdenvhoyduypbfwchdqksbiurlgpggijcqjoqqgqecuvyfhbeeowgzernwcoysyyijgijt...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #199:

score: 0
Accepted
time: 41ms
memory: 16864kb

input:

1973
wxxkuvibjhtzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzr...

output:

wtbwspjdstlcnjbndjzwxmfvudxniyfaddwkhicatdlykknvhbqjueqibtvepfgougxmhcepiusrqauxcpytqfefnticnqxrxbiymqxzahhysusrkwmkmkrwdkwyxcaoosmlbrjzazcpfzykfbcfjhraruxtttkhuakuhkuiemxsksmxxkvznjkxyaafnyditaspnmltanfrlimkgqektedonabyirhuzgjkiccvwofipucraseouvghafvlcqccjswewtppqubdzdkekoyxnslahpyzxgmgdweagssmutrn...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #200:

score: 0
Accepted
time: 43ms
memory: 17072kb

input:

1950
xqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqv...

output:

xlrfwwmrlrmxfvbfwjguzqmgpaclksatvgyuyoqmjwxeinsjczbyzthwvfyjpwbryyxzkmrrbktixbrtbkkrfmgucvxvjrkhnofccpbibxnyggdowpxluvyhrjgbspnhwpwffwtbmagordlzxcsrgqngvpiwnhsqvnfuvjewrbwjrplhuxkvuawslblmfmddfojizrdnfcnueamkswkdsjyzjtjqitlukpdwzrgybjhlfrykkswrtyntujbarnwwfjkygilleuduqdbhzneoljzvyylwuhzeuancejhwpgcb...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #201:

score: 0
Accepted
time: 48ms
memory: 16740kb

input:

1963
dklllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

dlqloulompqffzduykvwboyljtwpqlpvrntaqgpccdrroholkskrjbcdmckdgdpjqmcfuhrndomcczmmfsaoaoveebpdfggelsreiqpwnopsjdnwerdguumilgpmnlpctokzotpljlbqawhkfmzqhcbsmhmhyysffujjawbdezezxjspxtlybelzxvejcoueeiqqsaujygqpnjbpjcmwejmhvwphjdxfnfuskihsxrowypnqiqoocwjbijxawdowljxxegfjakbzyzgtqlxtvohcthhbnkurftjyqmqmbbrg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #202:

score: 0
Accepted
time: 51ms
memory: 16524kb

input:

1941
ammyoqvtkcdxzajfuyzwwodisdaafjlxaqsdfzomvshqvdpkckntkjvbdpzwwjuqswfpzaztmeeujavtkvdexlexzcsvttjxwevxmuymotwvkhnnhwrroybmjjmqzbnhnkqzsdcaqwhistlpoflooxjvatesjrywaosoygnvjjalubzbyypiekpmwgcgqshglonjqtdmqvrltdasmpajwmivhenvbgiqcxkuizdgszlmxwusxhoqssqyaeohihifjubmjmevnrfqanerbwbsitdrpltbnkeusetpqmi...

output:

aczeumtattqqjvpolkqmkrmybcqkzefsavnyseeuzytdbvbxjsjxciujcahjjhmalowpseyjdlsfgykoegbpzuhgnhddstvxgbmccqscrrjyoeucxgnyodphvlaityibxukawbvvbszstmasclbnqljpycxsoqalvmihsibejoyxhpojewvadvvfmyalilibnksjyahitsmboagoymapsfieznopmzmojwhgpzythfsqdoaodkiykellfczsxtzsjapezneihxuisxhikxvdhzrsnttjygttixwntrcyosoo...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #203:

score: 0
Accepted
time: 49ms
memory: 17256kb

input:

1987
uplsxkegxjsfeocceclaatkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwov...

output:

uatxckptagnzamdlvvgkfvyamyyedhksiyxizahewbwlnaucnfbzwgtugkisthggjcfivrvzuwyttzuzardvkxgflzacdqaprenloqqwzskejtlttlqhtvgdyyslquqnpmvmscolkqqlbyouodzynhgmuybnzwramhsqaqsfmbflmfesbyzebgbgnmapgxtucfuoguwegqolrdosbweeermkzczemxdshiwtxgdfzadpilrcjdrxueeookirjnrarkfzyzhvldfytkzprckruqqswutrdwqfvixfzvxrdbjc...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #204:

score: 0
Accepted
time: 50ms
memory: 16324kb

input:

1932
kpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawc...

output:

kiqyvbprfcxxjxtnpxotqnrkqhkrjxbfuwixodkvxrzxvazpldbhhhvpffcuwafecxzrouofqzgneewaprxokmnglplvmpqlvhnxvukfqvxgkixvrawdqziydpkdkbxyldamtybselwiwrladwliojsgrblcurepwxivujynllccirburdikqwmsplbrezzabraekvesfijhgmwfojgmruavzjszrqhpvmiiutiqgqkvgmnddsbsckbhvktfqjecwyvgnerczzgveyjtupnfjnogijoygxifitlzqkyamyvt...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #205:

score: 0
Accepted
time: 41ms
memory: 16912kb

input:

1978
ibrvksykxrmidzuvothktdxgcjjihwwvbtykvjggzturcfowhwdrthrxxrganbkkbvoamvjqnzptzbqljbyookdalsmhhgwkgyqytfprltuucgughawpnvgfgvfdlchxevizkdpcmnjzrtgeaypwgnbojvemvnchmbstepjoqenctxjhkscmfhkizxpulvllbvumvvjadcbhrmccvfcpbzlnsjrsbiazsqnpbujuximyonmfxllgxyjjwtzxmoeyrfktmdyxujynoabrrpvareqgwseidjqldwnprzi...

output:

ivvheaxlghipinknsixgxitotolvcwkipohkqzoqggvinqxxaaqqrhtusxypvpozbkztxnzskmdxmlcjvdagiekcbnuuwisborhuvnmrwufmkpxspgxjleuidelexmwczqllebldkurdpogkpqlvqfzbnvhrwcergpesaxoxabsdxztqhtsugeklzeojrpfywsullhicjllzxemvdybjexxutedwkkslgqoixxvylehxkagrlnqjinsdvtwetthbljjurylbwqlcxjnszrocbujhtfcafmvenszpqveylfav...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #206:

score: 0
Accepted
time: 48ms
memory: 16652kb

input:

1956
qhpojaaxsrvjxgepzgnndfabchsyhizdaejjgssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

qblphkoysqocsipkcleisfsbfjgulptancnhwyfntrxzwgvyioxetoldyfjistbeibqojhmrkbtpouyphjwzsogwjkyyilkbefotxrrhrjpxeeefhcxipluglrfrkyzlrzkdbtywaunqvhgxlasxhpwodwbtijhvuvflisdgwyfglivzkdkxezqcvatkjcaklvzzwqjvobeaacptyzzkdleilevvptqpcqcciidwhronjksgfrobhwdkhagohhhehkfbinrsyzgevurkfltrvmjvvlqtkiubonjovlbhhopj...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #207:

score: 0
Accepted
time: 47ms
memory: 16404kb

input:

1934
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

ycxdmstksvfpdqyewpagporlzpsssgdcdhhwffetsppxcfnnimcsessmsakmsrozyszzajektnzthrnyctuxwcsvrjuowgdlxzlvghpeuhwfklrbbiselqenrbqypkgnxqvigywkyhowyvpprwihcadllpevjmdiqcuflojvngvaujxfyneqhyxlukmdtwhcsiypgdomvtcfamlimvdeaqeodzxojzkhbypugigsfedxlzeyhjujyusegddubrocxeubtiinpquicfztnitqcdewabihuagqctxnqdquspmy...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #208:

score: 0
Accepted
time: 39ms
memory: 16708kb

input:

1947
zfuzgoalmkpjiljzyyxleimlchowmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeak...

output:

ztghcmvnysylofzyppnujxmvahcivnmllxpjhqwrnuyyuvxfvkkwjctdtzfrvhxaferveybpaeovfgwhwxwzihvpzyysrzumzyscsbxngfwvjigopvqeipmgskqahlgbmunbbhogpqylciwscgtslveqhjoiqilrfppwfzweyzdkhoojmsdhjlvojqwioclkxbqghahbzwifwyolchqzufmwwqjmwdjupvrrxaafyjvjbbhcntnhuersjmithhvzztlwafcxdejycidygogyicgmuyasnajgquxphlssaplh...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #209:

score: 0
Accepted
time: 45ms
memory: 16272kb

input:

1925
kbcvwzkrmfqxqdxigjnctwgzibratvikfwzjvahiiuxicvjlpfgopmccvdcprifxjylzvcivawsveebrmyxorwizigduaijtdplanqbcwdnpnnwfynmnflgtngcktuyrjtcpgvrnrsiwxatdjaxdhonbdrppspsmxllkjwnwnlakvnsdyivegksoexlcvjxozsuzdmwrkymqocwncntvfkkinyrpeqikupqjqpaltyrrumagmgxfdekdyzpahqshyaehbbcpostrwjcijwjppwmrbghduxhqqvifyjq...

output:

kjiznqujbdmrndieonwkqkhnissykmhtiypsfezbyjnlbltlmyamcvrhtlbeaegzibljksbfvwahlhcwzncodwtvmopcfkapiwbqetlrfdsexxqisqbdmroilgckspvfexqboktjvkbgqjkxybhiphbyjlffvjeejlqlxcshhvxwavajjdzwwpdjyrwwdcbcvaeqzxcbhxkzcxnshwkztujryzuvkbhpakwzmngdwwqudnlyauqaucemkbjhqkdzlpaxtcjzxqlohrlpdxyvhwwndfrrltcevteixdowwuze...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #210:

score: 0
Accepted
time: 37ms
memory: 17184kb

input:

1980
edbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbil...

output:

eunvchqtasbkkrmicjtbvajodreneednwkjcbuizjsxuasovdvkhkzxuasmwmawzbkxxyerqjkjpvxlvfuoibnoihiriqhhtlrandiwifdzdhxiexahdqwzqgbectuibdonjmsvmwlqdfxgamvujqdydgghbrwqclwsjmiikupfdlvhxsholathtogdsvzykegywvbehweahtlbxiuzcoqvzixjwoznhpdyxvvfhygguxxymrdqrxkesgtwpvtftqdnzuarjsiuoxegiklwctpegxdikdvliylzfcdarsczt...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #211:

score: 0
Accepted
time: 50ms
memory: 16232kb

input:

1925
jzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderjepjrskkegozgysjdddmseeokhivucvodvcjoscooeodsfhgiugodurokwsnzjzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderjepjrskkegozgysjdddmseeokhivucvodvcjoscooeodsfhgiugodurokwsnzjzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderje...

output:

jqgkdlxhcbdjhaxsvfochugidymttfhxoydgjupxhpckainzgkermaioxopskdmfcgdwczmystsyunxynavmizbldclfwbxvmbslcykxgoriafmjmkgqpanlcajhxrglslxncjauzxbsrodwqtgnqnippksbqzxroyrmyswaolnpsejgwznhfgxvwkbjatozbeahiuqxykmdkhgkpsvrccnbflwhliqnjjdouhaoomhrlxiwyjnulfzvyikaulmnsffpybuodjuyiubmsnlbmkbjwfoheaixtbwxrctztmgz...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #212:

score: 0
Accepted
time: 49ms
memory: 16108kb

input:

1903
bcbxtuagflljbltrrnlabsdtmobrsnckopotkawfjbtrzirnrmfnbmwqycpyutvtonhjpwnnsgwrzcguifdhgmlnayczaibucchwqlnadqdsisligzdsggnitswtdxjbaxstjjpliaenqgjfalorrtnvhufrfyzylrosfexmzeblknvhvkgaxdpxhxollftyfapoukhbyuqoqkkcsexqgjomyhdckjfpojblwbodtfkxagsosoxasafwglorzojwllqmruklvyzjwroxmrwqrfumaypqtdghjzpexgg...

output:

beodkedomissllxrdfrizwbznkipzsfdxszhgwwbntwwocficfieqyzkdrrayjqegypxiaoalpcjowbsjgmqgiolvkplqtcsmcoqhtgwetospcwwwizwvgfcoxjjbrpqbdalerhkqtgfcttbsrptvkanfgkhelcdumtrvjyugjcqytluxzxcofcaeoybmdaoyrrhagquwuqevphfvfhsrbttxltkgicznsspkmbgqpimxqnfjeoiygalbpujelwjdhdowhpqhuwoporuxhktqdjjelkbqtnsliyvdonrcowh...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #213:

score: 0
Accepted
time: 43ms
memory: 16784kb

input:

1949
ildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvqeovjicijmhbtomxhlkyqgzdktjkiuildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvqeovjicijmhbtomxhlkyqgzdktjkiuildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvq...

output:

itstxdazjxcewggtcwjofndexqrmstufdubxqbznyrovaywpnsdffvsocsmbuobtrphkdsusyfjirvrkavjaatwabjaxxhobmccaivimhqnzsdjahmmdxtnxfvhimwpxkgbxegdsnasszmcgnqksqmuglpggbbrhpdnanqseljwneavtfoqezaqoktloqwkgvyuzrgfyuqbqsjihdhbwuelpgybsivefkelnbyvtyochxambycbsoueritrejhtugyygztfusuxahkhqzementukpvjpdaadhnispltwreer...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #214:

score: 0
Accepted
time: 50ms
memory: 17284kb

input:

1995
zmetncscfwxjrpevcyssynhspcjtbhcmcnsdvcnhfsqotwluhlzctwgpbwyipufxbhilcczpstzebwqxezglzmrapxgwhdlbtzkgomqbnmtvcagddetpeldtfxcrktidubkknqwmlvkithbawstalsqxdganfnhjrmrrozirstrwwydxezhtihvuprlzufcbbeeeiwwhtyrxjtzmetncscfwxjrpevcyssynhspcjtbhcmcnsdvcnhfsqotwluhlzctwgpbwyipufxbhilcczpstzebwqxezglzmrap...

output:

zkwquizycmvnviykpikisohlseshhuzfgejxswccokthkbmldidfmjbxylrsvrzbnpksfxbtimnuhfvaebgqgvnjseazfvcvthzturorlhgkptozmbaaexunuhbztpnolehbrrfiurvehmwguwdrhuugntosasslmejexmmxaxyevrvduwcozsrgxkosbcjaigjlsddtgvdxirwenmzhrsiofugqyabonypcbhgpluwtjdoxmqamerwlewcqlzbougebgoelkymisnucyiezqsxnjdymkbjlszobtzgqiyeu...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #215:

score: 0
Accepted
time: 43ms
memory: 16448kb

input:

1941
clyzzqwrgaoyjvwtpcwymecxdgnyonwxmqfotsqszoekqobospzzmzzybgudqqhgnrnrehbmylxbdwihopiftfkdhskvnwhqhrsxojwnkrzeabsprqslsrxeouonhzyhhntcihbltcqqgstyptiiowdeacprrvpwmgtjovjvmqxnyvhsqcxlurxclbbxyultrzxmcvxicapxqfzcgdldpypbcebetvcnyxkisbhqxlfgmzopsawoxvukgrcbqjltgqfajikzfmmimnjjurnzyyqnogjcibamxvlfiil...

output:

cwnmohrmmpvrbaubfxbclqzrwcqsjtsjrubjzodxjxqzyzkuvbbvyydggqllrclhrldqdddadbbslgqplkdfjpvzubctckfsnftfdqrsuhwsuxnnzudkhasembyocwaavwfcfdvgealtunhqmztxdfjkmvfsnuefzfahzwktjxytamxjtoqryebpkrrfmqytfscmcqfollurxhumfwatslnasctcbnohplprhmlnxznzinbafvzywyfmrviptuiyybzeibigrojetkeutlacxtvgfyqlzocdethtyxvctlxq...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #216:

score: 0
Accepted
time: 43ms
memory: 16656kb

input:

1960
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #217:

score: 0
Accepted
time: 48ms
memory: 15472kb

input:

1905
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #218:

score: 0
Accepted
time: 47ms
memory: 16376kb

input:

1951
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #219:

score: 0
Accepted
time: 42ms
memory: 17300kb

input:

1997
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #220:

score: 0
Accepted
time: 48ms
memory: 16484kb

input:

1975
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #221:

score: 0
Accepted
time: 45ms
memory: 17340kb

input:

2000
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Subtask #9:

score: 12
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

100%
Accepted

Dependency #5:

100%
Accepted

Dependency #6:

100%
Accepted

Dependency #7:

100%
Accepted

Dependency #8:

100%
Accepted

Test #222:

score: 12
Accepted
time: 39ms
memory: 16540kb

input:

1954
cukfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfh...

output:

cfftxqimdoekzejotguftrmmeomptiamtglccxnbgplutudnymahrczptadsojverxshkbvavswejewxxqcoccusuyqsnvekyanybyxwwwovknsocuqxeqhqbztzslbdkjqiqkevtjydrnrepgqwmxxdyxdfimcgfeoaoihpjjbjyqkzlyxtcsloafyhkgwzffsgdkozegegqljtuwnzufbrvhxskqfgjdzyiqazkejoqbqrkolnibesgjnmyklwcxqtigvhsbtlmrdlvbssxpgcnbhefhqckdnqlclswbfg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #223:

score: 0
Accepted
time: 49ms
memory: 17088kb

input:

2000
imryvligkijncctcobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobf...

output:

ihdvvaplgtpoulhuzikvcaoyhifhpnnnuxfimiakyjymyjohncyqogdgqeuadatgjrcmgffqeafpxxcqzklacvqwjwezzpvzsduzqphglquvxqggymdhqreflyzymmlrwftczfqoiukqopetrcfnlzfkpygkfmohylljvqczaccxolwclwrhppmpwllzpyztahjqnimqredggffexhxwpfdhvbxjbdighestbyvnuoclmxedehioobwjtkztyqklqyyoustjaoymbyvkbcyteffrnnhzqefecngqckjtkewm...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #224:

score: 0
Accepted
time: 41ms
memory: 16384kb

input:

1945
yjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

yyciyyukcbahnxpgznhbehlntzvzwxejuzjgvwufututynjnzexdosdlzifstltoyickeaddmftoupurqrxjypxpxlavczubycbgcqqxvafoofoimtfsdzzctfgtleqbllgzvovxroprgqklxnqccwlrcxsokcrybrrpydyttakthucnjnoxqaslmefcodjicwadzxeofgudtjksygowvldqcbyfjjryqmmhdgqqpyjfdpnryjvtjjimxkrqfohercaaxowjruwnszjxvbpjtevkxoklfvnlzixzodyemgao...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #225:

score: 0
Accepted
time: 38ms
memory: 16192kb

input:

1923
qwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorv...

output:

qrsrxzctlusmkgwsjammcqmaldbjxyryjizkothtpnqwnbjpqagnjijjfozyotyemyisdzkrcyyqwnskonphcueeqbztofpytzntqeybmeitfmxusdwxdfpfpottagocunwiwbupjhfiruxhzjtgpavovdsyzvysedupxoxxggoausacjogxammpnjjapqzakwzjzpudegrqvysmleypfgignthqqjigcwlmktwiptbjcgusmnzrlyctcxwqexfgowuvmnkjrasszwojtuzswuczvspxnvcqvmgwixrexrjc...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #226:

score: 0
Accepted
time: 44ms
memory: 16648kb

input:

1969
xixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixix...

output:

xfldqdoezslxbzhjcrfavyumxeguhqnqmpyilckdiaessnzjttqlhunoildytvpixckmrvnjfjcykukpheipfkewznowkoknbhtwshpxeskhqiethvvpfplsygwhcbguxicozskazmkbswjmgxnzrzyreturvfvkzupgjcygorylpkdengjpeqjuwhtpihyvlibvqxfynatoqatdwnsmiyljxkofccpheivxuwnhowpmighilltmtskxljczzybphhueutjnwfuxadmczeyrkgznqfpbzacnkfzugmivisrx...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #227:

score: 0
Accepted
time: 46ms
memory: 15900kb

input:

1914
qwnmufabtnomocccrrsqzxrwgfsxtqptchddzeokdzvibxlcmlaecoqxjesnxxzeeslaiuelclfuhiigxmyztrjzmcfjrkhportxxdtrxdbfbycgkjsiastbwcoygnmpsjinvocxvancjedctspgddhvdkkvvdyananwrbmahrzmdfrpupvygleixbsyweecqrtbvlfcjkhyughvteqwfnvokzcmcwzbqwfhqxytqwxbsbctapnjyqvrgcwqsfvdqwnmufabtnomocccrrsqzxrwgfsxtqptchddzeo...

output:

qrqnfxdoncmalkylbmpyrwzgjblrhavqhdsfhpwvxciukprudijkcuhnuefarudrcrhfdbxfezffdoyiqkpsoeveshfeytjotshngknxmovawjbpyssczzfykculvxnwnqfbxwynexonomohltlnvdfdkmmkiptqxbmosjsozkbsoyvzroknfqtvltountllkgvctbhmvqbhmvsphkcysyzgdtisntgwbibxsobqgrhysjvwjxmqeuldyqfjeavzkjfjmhimvxczejfjiknnlgrujwzpyeubvmganywuhumf...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #228:

score: 0
Accepted
time: 44ms
memory: 16584kb

input:

1960
enofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupuskteka...

output:

ezkrvvtxvckaihhzbgmxphetlhpskrghmvdplapvyxwraaubsuphygztrzhmiuzflxivnnbjcaqtdfuhrlsfnuyfhtgnqvquhphvasdvyhmozqkpqzbqqkexqwcyoeomzaaenbjcuuqmopiezwhcnlqtetuqezjsuyxanchzlmnwlcbpeblvqfybvsgyaqxhwujbixcqavpenzmuvnryycwtpdabtqhibwigswvwdkiyckcthnsgysxqigcslsjnabqqpfqhwtcdyishsucpwlbbdjavsiekbbjvmwbdmtjp...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #229:

score: 0
Accepted
time: 46ms
memory: 16368kb

input:

1938
yustkcpaqvzaygkwglcrjheixlybbfcntnetvoxfonxdhavollgvlwksjrfxnmswfjzsuxlmviiaxnjfbwjfkpjcyqogyscfircbskbcvwwslgzbgchzorvzwrmrwdxowggjckagahdmbmqyzqmsdzmzskrizlwdlunyzamhjnewfnswdmiwvnsazhkvfjhpfwheyxtdvbyxlnbntinqhfpjcsudamprolvenqbmypezlibtfczxweukrwisphgptrcwocgplhqfvqnegoiyustkcpaqvzaygkwglcr...

output:

ysuvdbcrnwhjctuzvxkolnohqbghiblqavmrxgawvdzmgnclclnblbyjqtglnobpzcwvskyyjvpzsesdamsnaayhswhwdsyaylnasptcusvyaprmicpdscawfapvkoqjmypylnpjhhujosofyncrozcckuqmknvtvfcjdmmhfaiuomabsthrsrwjnqydxaytwannokdhvfgnsosvggtjzhxuleedzoqmftvqsovyyopughwtifjeliwihcygennziagfdwxapbrlgkupytjeeoavwyaumwfmyugoqfhgzbie...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #230:

score: 0
Accepted
time: 41ms
memory: 16176kb

input:

1916
pnxabayqofozddmnnblepkeaqhxpuzknmowdbcefwmxsdohzsjiwlnhfsolfhubbxfpilgwkpjrusfyrxvdeckgkhlfeihbmmsnqxacznjebloxvaxdkfjqxlbpaovweufgkmymbwcfemvnjltzpercvsgouuzjtjksazhcciyycnrnboprxprjdmeiftqkkccoujlekuogybjxgrlqdwttydtggkaxqjfsgrguwnrmruowsttrwcmsqswxpayovahkdozhizdlqrtfafviyxuxgllxwpcirwqcsekv...

output:

pcbhciyvdcnevanosjzadkfbzxzarfpgbmnigotgkaznbouksqzezgqonbnmznfjjohiqppfsorsmudxcvnfdjemrposhdejgulpwgkkfheykpelcfhcvahdwuqywuygfcdzafjrrlvkseeeezshhoprcgknmvkwyfyxmmjeocnlgdtlryoxurawmeyxaudwaejevipthhhoaubijhmdlzegpxzfbpfqwvlznyhnobdgysliblxkgeyigjzitkhdgnsvcmpkburhuuhzdrodyrjbkahzkloxldnbgatrjrao...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #231:

score: 0
Accepted
time: 48ms
memory: 16596kb

input:

1964
llmrgjwoldyydwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwc...

output:

loukfkyqajqdukrlrzxakeceybmepbzemxiqbflpcmeudofqcqgzajvzkfoiqzqccjxvhtamdypwmkhfpebctqhacgovajivcrnhzwxmaoczfxrpmyfyqppsgbpjgmdbqokfvotblzlbzponnkwlhmlkzjeblkqjtprlholrmfhtcccmrgncqqhjkjepoviatepvckluynbxnmkklphykedpmkmyywhrraatvglgygemmwccvgnjarcxrcovkrarqprfsfdgooitrkddjwxdupxuvlkcnsvmukgbsfncbkcn...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #232:

score: 0
Accepted
time: 47ms
memory: 16472kb

input:

1942
shxhcdgsglgnnbgypfiazskywnhnleykfigyifrawnrahbvhhppdbdljzshsettsephpgbhmifrrpppsuxmfudwxmoqfakiwfockzgdkodkhulpnsnpgijrsmlzqroyifweproqsamjqgclpbyeesazkrhrszletngzzuwtpbszqvnxpqqhujkepdkevtghvdsbozmpzgltobjcfryucruzibienwifoxrvhxvnvcocxhuvwbmymnngtltbaopdrnbexcwobodifniyrvpvxnnszhgmevhpjheplypf...

output:

smzbzbqgrjjszlvmvojfkkvalmtyolbtgiscarbbzsbhpzcmrxaokkihihgxqyxhacmuzetlzicmoxuzqedhatusbcetielsogpzlswvdlcjjqdoqdtrgzrwuaqyzhpwezcixeqxrdoyshtopxknortcorxnysluglmcjlhvrfetjlcbsbnvgbethouvvvoqupzkmwhogpkthrdbjppvkeplnrsccjighrlytaehrmrwisczqytigmwlkjfwmibbidziawpyucobyvrplxkngwyenuwybxzwirhvapwnwytu...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #233:

score: 0
Accepted
time: 53ms
memory: 16828kb

input:

1988
ywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrgu...

output:

yvpozxodqgyjqtzsbwlsautiestgqjvgstznpkiobdmatqwukmqtqqgenevlbjfdvslmzfegyaskcazcefxzsbtutbgmfwyfaoknpwjunpazlellpbuynhgzepxyzgnerhypeurpuupibezrzikzqwjzwaahwfxwvlpstkimrknhtuyqwpllkbpvabbxnqwsptxpvgiewtaqoljdwksmvzrhqduamtwrbgymhjegujlzryqhdhpwiazggwrsatuwiinddzsfhgcrmrtbdqeleiackareepoundneibcofmve...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #234:

score: 0
Accepted
time: 42ms
memory: 16048kb

input:

1933
gkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbid...

output:

glztfiikconeefsflpohwygvhvpgbvdtustxdtzikkvphuathehfnnkkiaiamjrzbgpmkxrpwrtaeqhzxlvjucvrmvxzzwxjmhwxtyocfkzxgsvmehfvwlsefvtegbivdjlbgctsnexxcgkzrlklmznrnowrqhaxbtmakhcljwflyectcmovggohjxvrwkhayjqvimdtlpgzwgtoetmczfgoopotumlizilzllmypwfkxifmtmncdxbjgzvnheejedpaeklgrnjbhwnbjmmnvpuqocymbnkokfabkugskhpk...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #235:

score: 0
Accepted
time: 41ms
memory: 16020kb

input:

1911
blwfhzceqljpyhpmtencwhezdqnsfhreujxftnpabfbjutpkyqzkkqiffmdxkipockpxurltvqhmtkeikedolbanafnxacwljkzewlolqsmsgggrqlxmcjwprusrrsbagjoecfrmfmmcwdpcbmmeoqqjztxgrzcrwmndxbpzvczemztnkoxuxcmoourjgzkpjhiwkszdegjzumobytxjbwisdqlwqfrpscyfibuzrwdmeboefbeduncblzgyfgfvhmpjcxhmqehsahfsxjrjrravbvuknqmmojtelfz...

output:

bylqxfvhfnlutzoiimnizkjorcxqrpgkmttkcznactlvpwriorzbmdfhvnrjujuaaoyfgdjfztrzdnufcoxwxujeioccblspahkkvqsepnyytdfwskhgmdwjgstegnlijbxxhwxirepnienzbxoznkgpeuiemftgyunkadqvpjvccdaokurqqamuyzjmvlerozlcamxjisodrkansvzywlbysiovgvuhzxdqgeomzzcfmhgrouumpfgfhpcbbigcakjrudnwbjuffzucujufcopmhmtllkmrypstivbwfzgk...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #236:

score: 0
Accepted
time: 47ms
memory: 16592kb

input:

1957
bhsffrulneechcqyqywazcmyrcjygglytnpmcseiacaovrfmvlthdgibbhxkibwamifjzzpptxxnoczhmotizewpdnmvynqanzaxnrrgcvdyqnbscyymvlainadeoggaqbaqbgkzlyunripuvwfmduqeohuwzpgceemetscxbzygfnzdluiglhhwlfpznbqliipyqhaxpfaoksbkwstvbhfjaqzmaoadhpjsxaakwgdamonyydwmjntfvjfpvdabttdwcpegbjgemynymhugnlpsgsjnkmakgtxdcxx...

output:

bunehfuqpyadhzqneqgnopmnnhthvkxsfkvakjbsufarvfkgllkpqfjhlvypctrnzzowpsdyhnqqunyvtjrfmbwdolaninxfvbjsuxrblywmmfevbhyrxorhmhuhcgtsmuxysbgcayiafrolzgynxzwghfamvatnqcrxkomwdotwvfmxesuxjaruwgkuefvaawmvsotbmddeusqqxkuivzkwggppkmjplitegfxpawwwjkmoitpcfsdntdxlqgtpntborvyeszgiunqlxflpquitkvbsrpeatsfxjfoiqxro...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #237:

score: 0
Accepted
time: 44ms
memory: 15828kb

input:

1902
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

tabgizpcmokqfoomwvxitgvzbvlxqafrtdvghhakglawovorvhtpukyninpmlfaancrvpjooeljezsvplnxzxqvrqoovwfndfrwnjubhhrytbxweoitdmpasbkhwdssqqylwvpenhbjddklfnkwbpnfddrkbtuxnepdphzijiwqgtglkrzfkjieznlbskwfmbtbewfjshhyixryqcsjbaupisozvecfgbujboqapfqvpkbkezxphfburymwsqvvvbaumieaproigiznzqeuduogamrasdtzkfogbjopdxnpr...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #238:

score: 0
Accepted
time: 43ms
memory: 16388kb

input:

1948
ifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxou...

output:

itgxfetuxxwocurnmlehhmfesyuqiviyftmgmckjzbvgzijkjndizhmdyacbezvlnzitxhhpkmehtgnhnbuhiwdhmiflmsizvwoufurcgnfzdjrzfqnixrhrwrkwnsxvpgbgdrmxqkmyftsmixdfbdzyjocsmvvpsbzlehxxsyflbessqjqxviwucztluxvozmskmkgknlclyqqysbyyjbztigxihupodrcsbtzswqpswfepftpdrrkqtybveemuaevijkwsnomcphelwyrlngiaemdjsnpdsutprblbdqqq...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #239:

score: 0
Accepted
time: 45ms
memory: 16244kb

input:

1926
vccpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqv...

output:

vhihyayxyposwajnbjexuodwqmstqdxhjnpzvwyutjxauztfjyhlsepvoacevbenaznvwofydbcarntwyindqxfsbeblanwfgddozwfkwrewlzvcduojmldnrgpntpgvihwrqduvtaovkjlylwkccmtflibaqmdymmhwdcjlhpcbepjjxazgslkjxdbovztqvidpiiblfykofyeiegsdhypumvhngqgfflzqrcoiwuztpgqxfaffwgukmeikhxmhvqsrcmmdyvbgkrwtdmsqloswcavtutmahdrbitfonapz...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #240:

score: 0
Accepted
time: 48ms
memory: 16696kb

input:

1972
xumxuigkuxbcnhgbdlmjhgxhwcayepkaxofooivjmuksrwrxsowfczdzwcottkeumswxjcrxvcdvqywdxrfurdtbmpuselliovlxskupzbfegmzuigygohrqnstklnjyolrzieapaznkioqqbhbhwfonpemfnayqkycffvuomohzhmicwsrwpqbtywhvguyfjiwslmjetccjxqsfmtspwmyjbvzvaafmqzdufeddrkjwbyxxjucsohdrhsknalxztdlyadhelhmfpfqswcgdatawmgnjkwebjcpodjo...

output:

xpzdfbckwapsqiiwhydtzhgsahcsfstworustjmmulundpvkhzjzqwjnavabbwrrfweesyqalgspygtfhckpozmijycrizmezgkvhlgbxdxnzhtdrjozkwmtmwiadajijcslnrojeusvxusavilhfiyymovaxvpbgtrcsirjhcficqgzzwjlaqrglqtqpkgubpmufrgvnfwsoaobfvypoecisoiknwltaohbfbijmplrjfprmndfrxlzndjpusbhyacgwkmashtepljyenobahobxjawjqfjbylmrxqwhynr...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #241:

score: 0
Accepted
time: 49ms
memory: 16016kb

input:

1916
lsmgtjvhvpiixxggjecwyezelijayelgyxjeccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

lryruhusehcgvxtgzywehktoxtvdxpglypwfmcldeohcddnmudxytattjzvcluxtvbroopwjihdqaodaxvbtvivkvilajktfvjpbjetjdjksakfwllhqhzsvxwzadmwnggllmsxakiwoihnkfzgydxpcipdwfditlikxxsgesdcnixtebswgxtmzguwokmjhyioinkmnrybdwaguwfsaoxruwscthombzzyxsqnbemeqoxmwacnlubadrvvezucbfztfalfgaolwkwdwblrdlimktivzyvxuapevpnbwgypv...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #242:

score: 0
Accepted
time: 53ms
memory: 17216kb

input:

1995
fgosjckhofdzeihoxwlknxvcfgfdgbbfwlyehsnecbralviqxvmnipwlinfrmnzfnpwmnzuczspaxvtkbaapqfyenhonhdqwpvrltebtnerkvvypgcqrgwirupfqfzknizjhbytcsavhrksmhofrqoqglslylebxgtymbsyhsnbvlwvgctqwypvemmgmqgkfczavvmwpxbzhkbvbqukbjatcnrstuzgodoqndhshtqjeilzkgqemhlusujjktckgjpvmjbgmhivaokgrdaxcflxpxvzjrqfufoyjpyo...

output:

ftgzkybattwjkpqntmcimghojnclqkrpnfulafbanfqxkheabnxmvvkxplqyvbplowcnruasuvycwlmmiphwbvbjvembalyeuedxqwsrsgprxyahdqslakqlnuorcyjwkhgibadzxybqnhuxopjrkntnkxfiqpvoawilhjsqrzmbrzhjrwrfthcnkqeougibshuavvxljxdxqlfwqihooxwwvdklxgrlfoabynushguhisumbpmsxytiihkbonomvwlhowljyxmtmcuvfkbjksdrtwteovyucvibtziveqwt...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #243:

score: 0
Accepted
time: 41ms
memory: 16000kb

input:

1907
oxndkghoeywkpzflbbowuslvsblatfyntbrtsfsexermjtxlfkysealqnaducodhvuaqyyhugjhzwjhygobbwkhrngcopugbrnahkikryrsqykopjkmcwsthnanxvrjdsqzgnkgofsnkokrescfahgujdcnovihjysibfzftvrateypzytfwnhjfajvtynzupyxtvkqyadbijcuxwbnlouenuhbbyimtogagbfcmowxxjsxbfymwyjvwojphvgprmuurmwgjhhuoocbspbbthozewazyvcbfwflrpca...

output:

oxbiurxlwuiniddbdxpvvshbhuebqaukeiyqccslfntskkgiwgkgabqzfsaffxczhorbmgbqenhvbtwuurbodzmcjoqzbavcdozfryuiidxbxjlhhawpmxbbcafnkabieouwtktcovoqeedzflyadtvhtlhtkleuolgdwkwsxtfgeuimksbbmnynlirbcxqvlgjmilleykbgtfzjqwgezaukcsjxbpkhbandifahzhrlwkwnqpzlqqvoespidzkjghfhlwtqgnmpfouunhtutcvcomekkfnnlyybhzstlzzv...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #244:

score: 0
Accepted
time: 53ms
memory: 16900kb

input:

1986
fnbtrumnltjxntbmazvbjbtjznnueykcsafjfvyteucvfdvqdjgxwnocoevlyxorjdxumcjcunpmwdxcvtisfaxcfaubzkntvllkcbtcvyqxnwpanylwhkevaeiahktkxbiwklfjhihrhhcydkngairtfhmkcvbinxqnffyphgbgdjbydfvyhlhngsoewoesncjjsfrstweutkerhbfusjarnnsdadavcquefxajesuhwcbymcwnbxwjuotdmcdpbnwlyupcvqutbqosepexhlcqmsdfqlpqeqfsfhp...

output:

fpuntwnzpnkzxufnhmjsbbgaewuquinncfknqhhjlruornxbqwwfudokhcfhroowbumhdlmcfxakccfguhymfuhhvpxbqjsqqzenabszxbjcfnwnacgehqxwcwclelcfgrxyuxcfardnkecqqfcwodfgrjxzghfznzirpprvqipxgbpbzvrvqfwfzwefzuvlcrxkxrzfcjuptcrdmnctfwmfqftseywrnudjdaghuseiwcuglrzifevsjxozqmxdehkhzaczrbhhjpuuooyfhcigqbpvkeanxdoqiyiuxqkm...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #245:

score: 0
Accepted
time: 48ms
memory: 16616kb

input:

1964
pbugtbawdjqcuzkucjrjwrbiyahvlmbhnjvosxfxfytsydkovbwihjbdjcbmxdsmeclmhtnbyanjtayydzqpqqzvanzfhxcntnpycwvfkohrmhyquuzbpzisnnpepzxsipxvaqyncbnyzlddhhzolgunnmgyxglpifcvsshloprdzjtiywzcaxphpwdhyzfzaynykojkzbosqipkzzrwbdrkfvaxzdqwyyqcokucfsrckxgfulowvjmlbiqulmkobkpuvtxpfzqxyiekuihwsngdtowsflcgdskbncd...

output:

pulldhewtkfzeijqfnapxesizyznzkatfkyligmweoxinfykjlnqprvdwhudurvgoatbvcwohzslqblrnyuaxpdjmphtfkdcpoivwkxznugverzebaanqxtqraanuagrmqgxymfvezcbkhyswubdjmgtaokwepqhmozfoxalficzdnbwmhzuccofbkrpquqlldexgtqjzmwzwqhlxxlizbjvqabqvsahzzdrctnofognbrpcnknriclucwzziayamustxzhihqdclcgiasphykcsltlgkrurasxdtxqixaml...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #246:

score: 0
Accepted
time: 41ms
memory: 15764kb

input:

1909
mwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcw...

output:

mzbhhtxtwiscxnwpqynqwnjypiueyhewgjcykvgwaadjzeahpvaklphbgaorxurvuvecyvwppbhlifackehnxnwbswclyofbhsqvjtyaegbtvrdhavaebiwhjxlqcegprsvuqngvpvkgicxnxjbzsagtrroqoxubchvdafvdwmsogxfdlcbzcrhpckjzkimeuxkycvqbdywtsdwcgztiyexxsogddjojrnudtngcpthxfootcvpwuspikbuwmgyhfertcoaoqvwgsragphorebdfilimkmqjkkcoemwfcwju...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #247:

score: 0
Accepted
time: 43ms
memory: 15564kb

input:

1909
piafcywmcybkcctyhdsvkyljupcpuabsqednffhbomvremqffbcwfetzvvbdkyffqizldvdafooorphwbbufrgchmnksdqrkvzljussdskwrridexrwzgxymqjiryieashjoqdqyakkpfksgbzttkxseicogmkplqwvregdtelceqmjiifgzpeuzijskeasetcfglpwhlfbwosnrpmwvnmcmfvnunviiqxncbqrkhlklfbwqmdmtxaboexbcddfhffakxyjfienefsejznvwkcxftsrbkdjejfxcikf...

output:

pcdaehccdbqfsbiyksdmaysbgkmskikmyzoxqfofauizfdevcberkmcipcjhglkxntnhnajzvgfrlwlqfatzzqrllhwfsojdftupspnvysqjuidjhzcbqgsthxbxcxvxfhhizqzcjbfnszzorrokqrpktwpecrjetfsedupotfnidxunplkwuacpamlculcrticucfferqzzrrtqdzfkbagkljuhjkrrqsraqlmhlqrtfaotfepqzubjgmzelxuhrezfefibbignfyeswetftrfpkayjlrmyzjusvvnuwzzi...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #248:

score: 0
Accepted
time: 35ms
memory: 16384kb

input:

1955
nubrnwjpijzmzjxgjgsuxvvaavzuryajifvrmmyweeiqelovetwajzdnxryahwbmerhvpqwqmplvncezohwyvciipzchulvwqpxqkcafrpdhyvasndryeekafpoojiblmewvflkyatpgcudlorlfzdpjxornxwadhglrgsiokfatfnqthnqwisomvmrmpegjjbybixdxiqgjextyuikpbskehbsngbwuykeixudyvsvweqkauqzmjpamdssvdoijfetsmggdvjvfbcavsuolqwinzqpofuwauumztfq...

output:

nwoveerskuzgmvwbgzuhtdcrehxixipjevrdmlnxvgvgphmqglqodjylbmtlblyebvbbflythoqzkuctngzfqlounldvowlaooztwdepuzwehvgncrbssbgogsppswkagznnzmvlssipmqicappdniwcbwtbrwnoisyneomovvpzvuqsuccblywvwwhyjoiaglxtptawedakvgcoipkmtdqfxrvsusvaijkgsdfegdwinnqsqzankfisimojrugmviqzgwdheaojlvppxyuygzcbxhjhjsevwjbdxdkqdsve...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #249:

score: 0
Accepted
time: 46ms
memory: 16244kb

input:

1933
mwcfttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

mzlluxdvwvmctlhtfqzzjayxyidpzzvekxolkqzccxycstvrbmrwtwyybkgzyngcegqkdvqiuklfehobmempcxzfuetyidwibbuqczfqufapfyatufafgaepivywflyoblaphuwfjutypsvwnbwerdxlpmlgvtitwnyqhwipkywtjazrlzjsunitkcbqxelgqoxgwayelrgyefhmbrzklameqkpuywiajhrjuexxbsndbvnjoehymmnzbkrzpewlgtedgrsdvpbvurcfgqjgphvgcuixwkteefaxinnhcjep...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #250:

score: 0
Accepted
time: 39ms
memory: 16444kb

input:

1946
pcratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwrat...

output:

prohaplyziyjucbeddqvotzbguemndbkdabdnmmxhrdnqzllaexogxnxybdqisyiacsfxvtfszsogpiqnldlfenfhwzohztuboblgkpzctpqymonjddertglwouqvtvzwlamkzcahmxcmylweyxhvhrfbbpdthhuxujtwcnallwcsysgubrudytdlegufbvjquckkmfoavzknovyymwpfpylvmiubhcndcahovfdprpsppvccuqrbunxsugqtqifoxzjzcsbcugpqjzqqshudrcbkgrjjcezyvfthytqttky...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #251:

score: 0
Accepted
time: 39ms
memory: 15508kb

input:

1924
losceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosce...

output:

ldocidlwnteieeotqbqlhuseijlexezrxtkxmmjmdedvppuphvblzumglfgeabukiyvrywmitxepsrclyfecgosqjazgwhnxchjnwxzcxkhokfpfhicuxlfdjcjuyseiqyauhuhhsiarbvyhhyurujbceifbahnbkolmnxnoavytslespnopufbsgetukhimzsiiurircxqzijtijgqxvpaessezavabrcrowyyqavfloblaqkhbabkstzyjmaxtggtoqodqwcmlansvkmxhvkltrripgpyuubljwmtzpmzg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #252:

score: 0
Accepted
time: 44ms
memory: 15904kb

input:

1902
?
xftagkapqzpkrcycbrcmionwpwhqwbvxsiluzotauabfipfhdjzuwjwquvcbqzjayegbkqtcfsbhrclvfugkysunxurcyalgeoqtlxxnvpcjayhgfgclcfepixzwezguzuodvtbyjqpciagesyjssgvuzaycehthefuprevlmfwqeqewzzcolroeaohnwmkzybxsukswjvpoawogyhbmgdsfrseruuoveeticwmxczmpeoakjvhwbxcdehceodayasntqkjojdkkbjdhjjdzfgqofouwsuseufcwh...

output:

lxkogwiqdwyvgulkiychkmkuojiiqxawganyvclenmxjukdlyujcydydwdzrpxnquwffkjjfqqypwmsyqyqffckiakkjzmoifivihuufzjmtyeatjrylgvobkifhjrsflwgfxgqcadbbjrsvldhagwqgccccemhlicrnzbxgwrqufrjgeiyonfyblyszwhdgafrbjlpujaiqsovsomgnhobkxuwbyhlzfcuscmwpdstxkrhaxjxbakkvtzxwztpeahbtepydvwamthkskxqmeyfxwombblbaudnerxmhzwie...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #253:

score: 0
Accepted
time: 51ms
memory: 16616kb

input:

1949
oojoifrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfct...

output:

ojivrxmypjclztfzbjcsuzemngvxhfscmsqegrxpuedyumsksdzyckeravtvxlspmcccbbszuoespugkqngdfgyyvyaesmeammpqeglroekukcqwopvjvbukoxrnekincqnxxrgkmlnuagveudptzocpnejteqkpxmgbwfrecnrymmxwcvdhykpnbrotywbxiqwswzqdnxlzwzvlkxfvkueiuwqayazbnukxcmcolcninchhvfsutszpcdnyrhidazffeptfacmbacngsrljezhtdgqxhtcqxetqfndohlan...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #254:

score: 0
Accepted
time: 41ms
memory: 16920kb

input:

1995
vfixyzkcbspzkzrhkazjcapcdoawulpvikdbewxvftgejajufwyhterggkdjmydfbgkadrpzxhyyhjtcvaafngcysrefklcojmrpmscpkmgwvmatxpitaiowijkhdpxuzoyvwrnosfmrijhtgglqnwsmgpxlxteseenkjbosyqnbcmxyzmfhikduvepusltqvtudcwjzgnsrgvoledzvercmujlvjuvfixyzkcbspzkzrhkazjcapcdoawulpvikdbewxvftgejajufwyhterggkdjmydfbgkadrpzx...

output:

vfbdqawrnmuraddhgghvlgtzslopbcxgvezrpyfmqhpyvihqtidpzzjiarylonqatltvoczdmajypmnoxvbasveuvxakzzbclhffauyavnizthpnhhgjxyccrhkbopdcnhgkdvfctpkcjtjgmpqkxnzzzwhalouezifvblclsqocixkiosfayetrhzcfleackmgnjekratxhcldqfxsixreksipanbwgtohoaoxvxemewluoncqfaqmlqosxfuudxyljslmmsprefhrdqwrqywdclsovcbgftgnjluravnkg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #255:

score: 0
Accepted
time: 42ms
memory: 16156kb

input:

1940
zhkqmaphepaagdqnvgdridddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

zkhkrbflmseniwufajlbklgyvvpjwzfirhkgsmzeusxfjopijrooysmzdxbhfnrxhppkkjduxapvkwpqwhtxyfqmzitzwguirjwimyuhsuwjjpktofvigxwyawegudennsaqjzkmvzcxtmymjlkobcabktiktxwonducvajdbqgpviaukkqnhgsdsszgizdzsepcrpqyffqbkczfoaelaubdezsxatbhabicxxrelyovjjzcvnlkamabuqyzraqawsityodzqkrodzgqcbvnaqjbsxmpqquqmtemaesxrjew...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #256:

score: 0
Accepted
time: 39ms
memory: 16304kb

input:

1956
dvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvd...

output:

dmwxtjsgoeavxzctfjmyuemwvnprkgijaziqikbffllqgtyfanwxjnqikunkocbqiupmilpbfswvogepscumteingsjlesgcwudiueuqarnhnlnzddfwjgjkelhdqexppyqegwwujjxfdmlgkvswfxthlihkixkkcsbfyznufdvjslesjvgwdnpvuaiyuizlikjrqlfohadoubkpsoxckwlnwnxgjpqjpfgfrpffqkwaeqltqayapoehfjahzecqcwpxmdxfdquveeicgecygbpxwrerqcfqurpmnkhxgfgu...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #257:

score: 0
Accepted
time: 51ms
memory: 16380kb

input:

1957
dxpwkruxzbkxyssduwygymqvswcpsewocshohwowzylrcynyedcumtlwwddvzmltxxbzgfaetxursdqbfjgmcgubnsoltepgaujqolvnwtvvkchwsjvhayctbizxqjsxxdewomrvtdoctfhdgxuqhetdupazzztvjrkvbrkaovedonpftoteruzmlksgfjhqobsbgempfwwklqvxcthshkymduemiicmijeuzqzwrvxupspccuqdlcmpjekwivamjsyozwitiqjghvtsolaforgblwpdjtbfgbtrzre...

output:

dgxjejeoekhnlczfzjcztnpxpiuxedabbdeediefmwtrorkztjzbveikhnqwccrirandnajgbbqhqicduidexukqexssqdxlezmeikgtochekwlgrblsrlawfbtnjgrnsaiblffxddrfpgeowqkqivoyskjxlslvxibjikntllwopyaypcvadhyhlafdavpihbcatkjhofsykchlqxdmmlwqbahciuutmozwtnxkuyatdyksjhhupaomvjqtgxuevxafljxltusglyhyovsgeykezjnffmkljixhzdxbvfqw...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #258:

score: 0
Accepted
time: 29ms
memory: 11196kb

input:

1902
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

byxjavanbvalaaaazqdamxaqafpaagtaggqaxaiedazzmjankcacvaantdalpoanbaacsaaazaajavhaknhiaaenavaouiauaatawawabhkaaaaagaaaaovadiaalyandacaqulaaaiaadxaacbafaaaqaaagaaaaavayftaalaarpoaaxaaagdfcaaaqvaoacaolxcsaaaatasdhaasqaaaaaltazeaaoavjaaapaajaiaaakyaiaazaabtakdvaooaaaagaaaaamhuaaeibyjauysfmaachraaziaaazic...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #259:

score: 0
Accepted
time: 37ms
memory: 16160kb

input:

1948
ldnnhwsidapefkhuhmewbxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcp...

output:

lpvyitsjhyhchrtylztorqhpkbpnuailbtlhqkbmwxnpelhnwfdcvbzsrixqqftlqtzkepsofdtgawvnvwihzqwmbjelldcqhobnkyhbmubcpeltxvujpsyejscmzmaeshxcjgtvsrrwipylkcimimrqcnfdpeqykldvoyhqahnwiegtpappncoipkxkjrbkmbmuvggetsjderlaatqbdtxfbximkrcoymwjktjdbryxosmpxnzgpiyjxanovmrzbgbzsaotdwabfdsubztrjxsqretolbvickhbcpiiogin...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #260:

score: 0
Accepted
time: 48ms
memory: 15744kb

input:

1926
vmmtcnzdxzoxibygxcgrtxqaxqrrnbfdydzyvadejxwbjqwwtokzhcedslcszmeghkegxpuchbzxfoxzpzuokbnywtjbrcetmeezuxxzccelwnvrjuathqpverlwzayogldcjvctvzmvmmtcnzdxzoxibygxcgrtxqaxqrrnbfdydzyvadejxwbjqwwtokzhcedslcszmeghkegxpuchbzxfoxzpzuokbnywtjbrcetmeezuxxzccelwnvrjuathqpverlwzayogldcjvctvzmvmmtcnzdxzoxibygx...

output:

vsrduilflsjgmubvyeensagrqhgiuqiktcsyzvrkdqfgxllehuvqsfzxpblobunkthsngrfqulbtzknetymlgohaqvdnlmryickehwhzsrvshecicbpuhvpfyxtvfpkeekkfccmnklgtaqipdklcabdyirhhqmeebiwpjbenkywjukcgaodzmgrwamlfntblducncfacdbcjamfwofyxlfckgzqjgnmmmzfenswkyiwksxymsmkxjhpfgygxohrinemekkcycyeyxlyvrfkcrtryjtekardjwjfipqkpiglq...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #261:

score: 0
Accepted
time: 41ms
memory: 15924kb

input:

1904
olsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjec...

output:

ojcigzrzrygaypwacujozrfzmiyiwjoksbedwmxlupwkdutvjxtejuhbfdfqhtzbvunqpktaogbljzrterbzquycdaxvnytmenitkhrhhojnyhjgjpgkcqjxxmyujqobssnwnxbcebltxwehdojenmxqdnryblgexxdklwfkihekawrjfoubqpbkpqsshbnjiizacbvgqylbwexehnokdpqrtxsvkfstppirhfbbydvquszvlmgsfeazgpnwtqweqcwmthygjjsiiyqmtiwlixhuirliiikxjqznfqtwnloo...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #262:

score: 0
Accepted
time: 47ms
memory: 16220kb

input:

1996
imivjhycajlpahjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

itvxltluaxhxtfuvjpokcvqlvujogmtnicjuiaetbrswcybmyxcziszdyqrrqhjvqxrmwtolefhiqfcpyjktsympwnmvtdtumwfaejqphscngcfgrnftfqyuprjcuogfcosknmhwfhpslwdubrugwfqizvhfmywbgyesmeprhyxnigjfhhkycacrbfpvsoyeliqvmkalljkllcyynydqagvuannemrrjiwjtdnraqdjhlmttysnjkrxmzcglsgjmpwjzjziyyzbyqomoplkfuyklfjdggxcbgahgfdtwbvpc...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #263:

score: 0
Accepted
time: 41ms
memory: 14936kb

input:

1974
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
vcfjpajrpuysglocrqenbafgttfmkatjqpfvllzxulckxphwkfzuybqvnxaryauahclteljvluvgausgaczmzsrsffweqapmzjoczzoxyachkwlwggegpujfmolibdkmfnvkvtolmuphoniacydgqqhpxskursbhzcotgakbvkepuwgyooqzwbmofjhopaprwzwsegyshjibflyzmrqfshhujilvezinxbbcbqcvqijnujxxrrmexiyznnmbleguksb...

output:

rqianufbthbzfcjkhgvxcefgmgpzzrwsbzcywbgebtesljfpzkejwldlxjwruzdmoyajqtfgejemlrxsoztssaklplnfkdmnfwxigsnxtyexdeqzrhpdxperekdlcqzfpnzqmayzwpkuimnrpgwcosrlfgjihgwsrmlcyrielimidkrlerwylvfhpmqtaeljxtshxvegdvimjgfrnfwqafyuggxtzzntfxtymstdhrtqvftsuclzvarmjnukuyemhjbbyquppyrwtegyyrpumjhzwuhffizuyvdypniuyqzj...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #264:

score: 0
Accepted
time: 42ms
memory: 15064kb

input:

1919
asiksvnxtyibdotbxhkzrfelgayzuiavzjybcxporzbwsjzizkuhyvenhiaggunvegtakuhirqtyuzgjkvbljjppbiqlthljzpknpaslkdjtpcptljzouihbgnprynvuxojtqverenjyvjphhzcwhqvdddhyddvohvfvolfazpojaxgwbqaxntnjhvqiavzjybcxporzbwsjzizkuhyvenhiaggunvegtakuhirqtyuzgjkvbljjppbiqlthljzpknpaslkdjtpcptljzouihbgnprynvuxojtqvere...

output:

afngfmmdesobfvlupciodpjxjfktgazfeyfkvfwjfjjcbwvwgfgdzevqhspgcgudktrwidwddgwxnpsonjtvntlzmcrlxrdmgkpghrqogadmrxoplzqylsgoniffnnhltuubggjtlbhdqcdgifbmviwpjmamvrhechyqxpygwmecusmlvuepzuhsihyazdgyvwfhxoimycfylpvunmhacgcujqrjcghhdmlnykggepzqgyuznrleuzhpvhyslruvkpxrawkusjdbxcdrdcmbqqzbhyztyttacoszfaiedymi...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #265:

score: 0
Accepted
time: 21ms
memory: 9956kb

input:

1965
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
ubsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrsdryqrs...

output:

bvaofihwgyvneeucwpdocjunuwbdartxneuthrawjqbiublhwmpmtmqbgtkhvwqprqzyzdvrwqmlmxbeakeweifkahjlkkqptgmexrntfnvyagquozgwulrvbtmkylgnvudqlphltugcbubehndewakqzcvnptuaaymiuzumcwdfquedcylswagcsldwuziihvdidrqhxdyekfcmjdunkqknbfrfkvuxgtdeixopuypwgrnydsnwdxqaawwcnllrydomqxncopzosaallphwitqaamuhyyiburoapnppoxma...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #266:

score: 0
Accepted
time: 46ms
memory: 15216kb

input:

1943
?
kxdkgbbhuaufcgohunnzflrrbseaweclhgycxpbtngyxqouoovtzvbprxgxgctgepfaeihffapxhptpovhyxrsebqdzuqdoezrsdirjnxiwszneflpgaqigzgthlaauuattftfpsubctrjhqmiixjzzuxiedjasyfelwdnopxrdnrxrnnadtngyxqouoovtzvbprxgxgctgepfaeihffapxhptpovhyxrsebqdzuqdoezrsdirjnxiwszneflpgaqigzgthlaauuattftfpsubctrjhqmiixjzzux...

output:

pkeqzzcmwwrgmkgtbgfooufizsljxmmodquaakkgyjpitrtipuudaqfspufctztsdkacuxrmaqivkouvrzkkvflmptfmvlznhpliofpjjfdfoaiujnjxnyyvnzgdifkkegzubnaasnoxzjftxhivnxvpbfcxjsvfclwvtgrxgpsrxajdszaqrsasrmfrutwnzgwtvmcebebsnwtnkxksopaufwufysjypedophcbebgejhfrpcclxvzqkgxfrmwnpmuoelptuatcehokgpihkrjuklogvdggbktuyjppmozr...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #267:

score: 0
Accepted
time: 48ms
memory: 15980kb

input:

1950
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #268:

score: 0
Accepted
time: 45ms
memory: 14800kb

input:

1996
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oooaaoooooooooooooooooooooaooaooooooooooooaoaoooooooooooaooooooaoooooooaooooooooooooooooooooooooooaooooaoooaoaoaoaaoooooooooooooooooaaaoooaooooooaaooaoooooooooaaaoooooooooooooooooooooooaaoooooooooooaooooaaaoooooaoooaooooooaoaooooaoooooooooooaoooooooooooaaoaooaoaooaaoooaoaoaoooooooooooaooooooooooooaa...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #269:

score: 0
Accepted
time: 40ms
memory: 15444kb

input:

1941
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooaooaooooooooooooaooooooooooooooooooooooooooooooooooooooooooooaooaaoooaooooaoooooooooaoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #270:

score: 0
Accepted
time: 41ms
memory: 16156kb

input:

1987
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhqhhhhhhhhhhhhhhhhhhhhahahhhahhhhhhhhahhhhahhhhhahhahhhhhhhhhhhahhhhhhhhhahhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhahhhhhhhhhhhhhhhhhhaahhahhhhhhahhhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhhhhhh...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #271:

score: 0
Accepted
time: 47ms
memory: 14988kb

input:

1965
fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

fffffffffffffffffffffffffffaffffffffffffffffaafffffffafffffffffffffffffffffaafffffffffafaffffffffffffffafffffffffffffffffffffffffffafffffffffaffffffffffffffffffafffffffffffffaffffffffffffffffffffffffffffffffffafffffaffffffffffffffffaffffffffffffffffffffffffffffafffaffaaffffffffffffffffffffffffffffff...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #272:

score: 0
Accepted
time: 49ms
memory: 17232kb

input:

2000
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #273:

score: 0
Accepted
time: 41ms
memory: 17104kb

input:

2000
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllltlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #274:

score: 0
Accepted
time: 50ms
memory: 17092kb

input:

2000
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #275:

score: 0
Accepted
time: 46ms
memory: 17116kb

input:

2000
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Test #276:

score: 0
Accepted
time: 50ms
memory: 17404kb

input:

2000
ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...

output:

pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...

result:

ok Ok! Both jury's and participant's answers generate correct sequences!

Extra Test:

score: 0
Extra Test Passed