QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#395300#8596. Подарунок ЛедiNetwork_Error100 ✓435ms15488kbC++141.3kb2024-04-21 13:03:072024-04-21 13:03:07

Judging History

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

  • [2024-04-21 13:03:07]
  • 评测
  • 测评结果:100
  • 用时:435ms
  • 内存:15488kb
  • [2024-04-21 13:03:07]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define pb push_back
#define pii pair<int,int>
#define piii tuple<int,int,int>
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define deb(var) cerr<<#var<<'='<<(var)<<"; "
//#define int long long
int n,p[2010];
vector<int> vec;
char s[2010][6010];
bool chk(int i,int j){
	for(int k=1;k<3*n;k++)if(s[i][k]!=s[j][k-1])return 0;return 1;
}
void get(int i,int j){
	memcpy(s[i],s[j]+1,sizeof(s[i][0])*(3*n+2));
	for(int d=1;d<=n;d++){
		bool b=1;
		for(int k=n-1;k+d<3*n-1;k++)
			if(s[i][k]!=s[i][k+d]){b=0;break;}
		if(b){
			s[i][n*3-1]=s[i][n*3-1-d];return;
		}
	}
}
void find(int i){
	if(p[i])return;
	for(int j=1;j<=n&&!p[i];j++)
		if(s[j][0]!='?'&&chk(i,j))p[i]=j;
	if(!p[i])p[i]=vec.back(),vec.pop_back(),get(p[i],i);return find(p[i]);
}
void work(){
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>s[i];if(s[i][0]=='?')vec.pb(i);
	}
	for(int i=1;i<=n;i++){
		if(!p[i]&&s[i][0]!='?')find(i);
	}
	for(int i=1;i<=n;i++){
		if(!p[i]&&s[i][0]=='?')s[i][0]='a',p[i]=i;
	}
	for(int i=1;i<=n;i++)cout<<s[i][0];cout<<'\n';
	for(int i=1;i<=n;i++)cout<<p[i]<<' ';cout<<'\n'; 
}
signed main(){
	ios::sync_with_stdio(0),
	cin.tie(0),cout.tie(0);
	int T=1;while(T--)work();return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

input:

261
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddiddddiddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

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

Test #17:

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

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

input:

286
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
1 1 1 1 1 1 1...

result:

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

Test #19:

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

input:

274
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssussssssssssssssscssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssscssssssssssssssssssss
1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #20:

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

input:

261
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuueuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

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

Test #21:

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

input:

274
didididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididididi...

output:

dehccfficbiccaahehejeggdagjfcadgajbdbbbeibjhgfeeafjgcgebeghacabcfgjdaeafacdejegbhbcijbgjdjaahhjifachdeiihdabadjbjeicjjdijgfefjeihhggcdchgbbgdddchifgchadfhedhejbbaeaejfjagiccajahbfibhhccdcfaddggjabjjcbbeajfdhgdgccaifaggihdfhcfdaddhcjadaggaadiccffgfichehicijjieehehaaddacaehff
11 65 3 4 59 6 54 151 141...

result:

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

Test #22:

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

input:

261
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

chdjcceghiegaijjbdcchicijjdccdiggbgieddcgfdacdbjbideeaaadfaiibeaabdgbadhedaheegbffgghidjjfjagaeadbaeggijcgefbbicgaagfjhcjbgiadgbheibadgehaeeefagabjeadbhfdedfefgghbhhbjfggigfjcchehbjhdhbidfijdaagbbajaaeigjbbfcheehhcjehebgcfiihhaebcbjhaghfdgfheejeiifeddegddibjfgg
1 2 3 4 1 1 7 8 2 10 39 8 13 10 4 4 10...

result:

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

Test #23:

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

input:

298
fgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfgfg...

output:

fagifgjhifjggdhcdjbacfbabcbcjaiddbgihbbgfgchjfciebghbedjbhiafgcaigicfjbbigcegfdbdceifaiahiecigicjfdcfbbjbehejefaacbhdedjjchebfeahcfcfachhdbddehadihihedhcgfcbdhieaieiieggbebgjfdagjfeaegiafegdcjihagefjheibchaghhcbdbfjhjgbgbfhhihjdadijfiiebchdcdhfgebiiedgjaffccfjacaheejcgdebigddgfaghaieffhgccebbeehff
7...

result:

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

Test #24:

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

input:

285
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

igjfjafbhaebiijajigjebhhbfdacgachjaeddicfggcejjgcichifgbjehaacaechagefjgfjfafbhhedggbgdbdbacighifgdhcaaghdggefdcfjgbehghagbfbidhibedcfbgegjbcdegffdjbhdjcbjdccfeiegjfeiacgfbgaagdhbabbigfahbijbfdehecabbbdfdaccbeigjbcbefhgdaehgbjfebchhcfgigehgcgjafdfhdbebgcdihibjdfibfjbcjhdbaibchaggaigbc
1 151 3 4 3 6 ...

result:

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

Test #25:

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

input:

272
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

iaeaighbecbbjhfcjchjceidcjjgeibjgagbhgdddaijcdgdiffgdhefeefghgcdabggcbhghejbajffajicecbbijdfgecdadcjdbifjeadaeijfbechcheeeaccbecaafaheeghchedaaedfaihecdghbhfjefgeffiicgjbiaefdjfdgcfebagehigehfgigejbdcgehhabcfdjddhjcicjihedegjcdfaaadaebdjbihjchiahjfbecigbbdbacafediiidcaibi
1 2 3 2 1 6 7 8 3 10 8 8 13...

result:

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

Test #26:

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

input:

296
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qzexljnactcaxsjnasqdhywyrhmoxjmxbpmnzeuveirsmdzwsmoxltipgzqkxcfsuqgmqdxciugvfxsteltdhmutunxkeqqtqliaolztqthrhbedvvdvtzpihkdxekidvegsiuleowdeeqswkdaubscvtnfornwkfkeiflmvevopwmmuwzrnyijtphbqjfeupwicxveivyzkuvwtovxercujocksqlxzhxhtvvyncxwfhubjtcikmvcfegjwnarphpfqyluobiscaccopyjcbyqadqmhpqvyfcltqdrc
1 2...

result:

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

Test #27:

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

input:

283
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

ifdgkclbqjvhdedriksictbzidhevdgqsyihpjovsedmyvulavudogsddzhotvuemzwecjpxtnldmqlwklxuhgzkhfjdejqvdpvpjsgxahaknqcssxuypiyptldfmjkfcfpgyldwcbkqaocirppgqzplkjtxtsotulzcvtlvsqtzdhejnzibobuzvaidqbptclosiihnrowjxqdqgerapjphuyqbhtavyikwltolrgjqijadtwokneqvwtlxvhjzjuzjwyubckhsqtfxubvkfhkitzg
1 2 3 4 25 43 7 ...

result:

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

Test #28:

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

input:

270
klklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklklkl...

output:

kfxmqyljuitgldbrytqzwnzyzcrggrkcchliyshwadgwrhotuicudynzlznanoskkggcqnklctxbvznyannedcdszfkhnlgpoocbqtfwqrmuzcvcjzncxqklfkquehgbwkxgzvphevvygjpcaonxrhwkzujdkpxlcehlrplvdrayjxwebwtkjumbevjyortdngztkbfdtlffwuxwcwahatspmzpkyjlouyzfqfbjevyhspzswnybnnxgirmebwafvpejrpeetjxrnh
120 2 3 4 5 96 7 10 9 8 113 1...

result:

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

Test #29:

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

input:

257
ycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycycyc...

output:

ytscdpohubayllylufhzsctsosxxgrcempnncqbfluaklvlarvanlvljmsyfefbtcnewulzhemcoauzinbxxprqzjnmzbwzqrkltbyzecdjbkjvafuefgdfpzcbbldolwwgmwzeqmqzpivfpnhwujefjnjqbsucoqjmthgofboogixqqhavoaioijayhlcutixxjjjpluqxpzbbwswhhzigjvajkemjuhmuwircnofmsjognxarfejkdmrjrbzqdm
75 119 214 183 5 163 7 133 9 159 226 200 4...

result:

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

Test #30:

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

input:

294
gbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgbgb...

output:

gcsojlkuqqszulrctvmasnwoqulhxjfomazioplqbsixohkugodtdzncuksgsujkurywtiwceayhboftqssdeahryeipywnhuypcboysraevoyyldowbkwnhmsqjerqhqiaaqnnesezagzqcnjovqbrrbvtgmbgpohnpvdjuotuthnltycpkdyynwynizwbzuemvnpzhkpbmjcizmyhrobijbqianjebwhukxbdrurhwpxdljjaiqbljjwjigyzgwugyzhjwjivpguwrxwqmlwmrtipcfooymlaldz
77 30...

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

input:

295
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuiuuuuuuumuuuuuuuuuuuuuuuuuuuuuuuuuuuukuuutuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuucuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
1 1 ...

result:

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

Test #32:

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

input:

282
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjpjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjbjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
1 1 1 1 1 1 1 1 1...

result:

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

Test #33:

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

input:

268
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

llllllllllllllllllllllllllllllklllllllfllllllllllqlllllllllllllllllllllllllllllqllllllllllllllllllllqlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #34:

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

input:

254
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

dddddddddydddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddvdddddddddddddddddddddddddddddddddddddddddddddedddddddddddddddddddddddddddddddduddddddd
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #35:

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

input:

293
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

ttttttttttttttttttttttttttttftttttttttttttttttttttttttttttttttttttwtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttetttttttttttttttttttttttttttttttttttttttttttdtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
1 1 1 ...

result:

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

Test #36:

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

input:

291
kjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

khmnjhcigdigjloioiejgefgdhggblabbikgekaifcndnbcinkmehkjbfoghondieaikmanibdokodkchclldcfdfbghdcjgagnnaoadfmgikliafdkmabclmdaeelgiganeolhcgdbdbobefmleknbddkmfjicmjmglndeakgbohhihmljmkgjdheilflfhncjaejcoodgiejnbjhlddgmkadgmflfcicklgiekemdehklocaingedcgklejdcimcflmaajhmngcnjangeldfjkenmigagjllj
13 8 135...

result:

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

Test #37:

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

input:

278
chhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

cnlbfhhfieogdeljhnedmdceobbolddobimkdmlmkhfobfoiegjabdihoeceeijfnglnoehifjailmddkfdnekclogefldlobdehakaaocoofceicihcomoedaknkjjlkfhmnnolnegandodediaidigmakjemlaimmgomaeimeaenmmlkhmfibfoeidnddiafjkoiobenbbaadbogniffeejfgjfbcodngkijnofalhcecgeabfnojmankgnmioafdoilcmcllhkmkjfkaeah
6 6 6 6 6 6 6 6 6 6 6...

result:

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

Test #38:

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

input:

265
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

output:

hknhafmndfedfdaibeemjhmhlbmhfccalahaahjnagagkjcfibghehfngiinfdhbhcbgbdklgjjaminekgdiklfdoimgfcggmgdbbdgnhmfglndgjfahcfbekleblhiaekmicngdennofhkoiankbimbikafiehfoobhfhhhdmljldhddlomdfianmkmmlalfcnebhbiodjkojbelcijkemgmhifjgjjglkfidolnibnjlbnifjjhoclacalbnacnbkhgfedb
20 42 16 56 5 6 5 35 6 6 11 42 6 1...

result:

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

Test #39:

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

input:

251
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

cldjkfkinneeejhhkhfjgllanfmlbgijhchgfjjagekegmnleoeojdhjfbfbmnnnadlekneoeecjjiiknmcobfifehedmggmjbfchfelfjabajmjmangnodnibojdakceokegiakooflbioglchhdcjjjeolagdjogmlmlcomlnnmkhmondbgeffdaihjjhajclckllehmeemanodheigjjiacoelalgikdeediakgjflmmkagfmbbkeiie
1 1 1 1 1 1 20 1 20 18 1 1 20 18 20 20 1 18 1 20...

result:

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

Test #40:

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

input:

289
ijjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

ihhihokioabnaachheceaahgllbocbahlohkoilhillclcggljonlnehdkiihicaconmcaimdlmodkfafglldgecmojgelfnfibmabjhbcelgkicafnkajgfolacjgmnkljkknbhodlejknhogknlclaellgkgnhklmllebendacabdklngcfggdmjiflelifhlibmoblbfhkokgnhamhfhmlgeojaolklnfhjkeiabjjgjdhcemdokiljfojmdejakfodnfinihiljmmloagimcmbmagmmfn
103 95 202...

result:

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

Test #41:

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

input:

278
kvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

knjewksuqygfeultwzttgpovltlxrrzbzrgjsanijusssfxdoewobpesethvkxjwuqkygicfjjqbzajipbjmozsnallikbmwrqwrfeleasykounacbmremkdiqazbfibvnttrwwxbqimnohdpttxtapkvgzxvmrcnfmrgyczpdhbcbfrvndvdddtznrbtboxjiogeaxohvkibygibleogyyrdmifgajryftwxsqvmzbklmfyewypevsanqaveacvqasvvorujotqqopxjxykxu
129 2 48 107 107 6 13...

result:

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

Test #42:

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

input:

265
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

aadbzuvcsfcjotyjncdojjftsztzylygyuyocgydfobfqwzjzsrftwnkxblezpeotccainmhfxhuajqmiwvqifwvqgjzrlwdgeynhvqhlqlmieebwjcrlujueojqlwvngqetmglrelgpcuyeiscimvgkggtccwpovvzygquktdquftcuaxzofqdhzqfcxahgpgjxqmgpafhssyduwhpkxrlegnbkbgodtmcfmxtwuoknmdtycwmfepbgxllwvxdbscvutzqap
1 30 23 4 5 6 1 8 23 6 8 12 13 63 ...

result:

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

Test #43:

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

input:

252
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qpstshaqlzubhxwfnvvnqcukxxagivjzkybohissmadxubjjolaauonjjfsgmqtgwehgbdlrntpfgzcqxyvfjpiriexnqqmkbjbiyfospyjoxbvwiapxepvwmvrreamdytnzrapzsvrpnyctctfgjltitethswvjubnwmzayzcgjjwzvgdlfsnjvwjyyamnczmpehvehzefzillorlaanzqnwoozxljgwfcyvgadpsjqcaufmksckmzvqhgi
1 41 17 29 5 1 1 17 1 41 18 1 18 1 1 41 17 18 1...

result:

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

Test #44:

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

input:

290
mvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

mqcfswhewsoutfjvjtpunqpetvloszsltwwoogaddetoeyjzvbviknsyexpmxtastbfhfirvlxdukccrzimhdehfqceajoptpptgljnqollcecytakyivqgnxqgphkqttdwapddubunygtbjqbbmdvivedkrofhutkwmjskfpslgmskabtzifubbmwlnknphmetlotcfaithojyehfsclwiorxnwtfqwnfdqjuhzybzfwucbybmvbojtmikfinffujewmbjfxgvhecbwinhggcpyjymdsbmhvi
117 15 14...

result:

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

Test #45:

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

input:

276
ciiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

ctpbhmxndbmgjihpqkkxujlbpdojbdictjjysuukcxdqmqdcfioisifrqelqkjhkinzkvfujdovefhbmvodblsbvymfjavfuluornjsamjdemnpfwrggniyaujazqaklckuztbyxseaasmokraxxytdswucfkeyhdojsqhuguyodhshotsommzsyhdblizmzdetphrqlxvuajhzgxervblilaciqmtsqvvokntqrfewfvhpevodbmcwdawhucuxsyoxdzbbepirgasnqbfoc
118 130 58 242 242 58 1...

result:

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

Subtask #4:

score: 9
Accepted

Test #46:

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

input:

292
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrcrrrrrrrrrrrrtrrrrrrerrrrrrrrrrrrrorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
1 1 1 1...

result:

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

Test #47:

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

input:

278
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffrffffffffffffffffffffffffffffffffffffffffffffffffhffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #48:

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

input:

266
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffflfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #49:

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

input:

253
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

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

Test #50:

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

input:

291
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooohoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooosoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooloooooooooooooooooooooooooooooqooooooooooooorooooooooooooooooooooooooooo
1 1 1 1 ...

result:

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

Test #51:

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

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

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

input:

268
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

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

result:

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

Test #54:

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

input:

255
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

bbbcabccdaaeddeedbdabdacdebacaedcabacaeeadbaeceadcbcbecaeabcdecadbcbbaaeaaccdeaecbdbdaabdbaaecabaacdbecaebadbacbbddbabcadbebbbdeaccbdbccabbbcdcbaecbaedbeeccddcecdddeabaddabeaadabbcceaddecdeaedcbacdaebaaddcdeeddedccaedbebbadcbebedbdceeabededceddbdbdbaaadeb
1 1 1 1 1 5 6 7 8 9 10 8 12 13 14 15 16 14 1...

result:

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

Test #55:

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

input:

292
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

bbdbadbcbadbbbadecdbdbaebecdaedebedccedbebadaacccdeaccecaccadacecceaeabeecadcaddbbbdaaeadaaeceaaebcaedccacaacceeacdedabececcdbabbdacbcccbdccdeaecbbaadadaccaceadabbeebeadacddeddebcebeabebcdecbaeabbdbdaecedeccdebbccdeeeacceaacbaeaecdddbababbebabedabecbaaacccacdaabbdeebecdacbdddeadabbebcdecddcc
1 1 1 3...

result:

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

Test #56:

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

input:

289
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

cwuavzgwhszmyahthcciimlzvdjhcbxiqmfltbcigsykpukhodmjkxbiradxymarqcbwudexepqyshzrjjgpihrlirccuoxvvpctuimwzjrwhokrnrcvqnbceeehocbreqpxrzfqordozbifwqnjilgiuodroxinucduoypzqjejqiatburbygvskmbwfjbtewcurmmnbyxzsqiyxezlvlcaiazeklzpwhdkognsukqnzjmjrneyiwaouyfobjfbnouexgrxmellagodpqifejizdvqvkgshb
1 1 1 1 1 ...

result:

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

Test #57:

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

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

input:

262
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

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

result:

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

Test #59:

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

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

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

input:

273
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

voyhfvgcbjzlxkeirtnuofdmzntnqyaauswhhrbotgknbfmrxgictzfxevoqtjalnnlufrsvghrkkuhilluajqytfrkxkiffzikrqpddfhyihmzgrneewhlxipwpvhpwwjitelxrammnmvbcxjoeopeokdwcgbvzxzpyzmqtwvmuvvjpmvqgzwglocdjwyqhyzwuzgxolbzjugtmdgjsfgzgfinhbpwtbbbcsdwxjookbufnflpqbxdimzdxoqsokcphqyojktussymdd
1 1 2 3 4 5 6 5 8 9 10 8 1...

result:

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

Test #62:

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

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

input:

298
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qnmgmjhjoorlksuyhowxdxakysuhaijoxpkzzlmhmesnspcwptmomfnoyngzkkjuxhnxyrafrgrppelooxwxbezhpjksyczskdhlcidjzmchmpsdqckqghgixawmgsejjttxsuqmoydgxkjreqrhukpgywangspfmmxozdczvicolqxrgfijzuxefobpoegswtvtfmxjuyjilyhukbtszjxdmlxxjsotvgcanwquaxdaqqnzwoezouteppeepagobpamwlmacdvgkionybneuootakqozpqnrgrdduhqpn
1...

result:

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

Test #64:

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

input:

284
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

apogzhbjlaecakdwmpgoyqlyvafaxmhflhoqsriybbzjbtwdgrjemszofshnefhgyrkqsdfwwijfdrogipuywkxrqcbrptswcdvtxbpzmbswzkwvqubduqjngllyesriweavibqftmqpxilraulgbiuefibfrcvsamvjpeoyxvllrzostilvaygohkblbhjvwrjjreqqfirgfxexcrzvladilbqnmzhtkackcrnimucbrwtjdrawrowqqrkcbilmjfvlosiwanqzrdsvewodqasuukwx
1 1 2 3 4 5 6 7...

result:

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

Test #65:

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

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

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

input:

280
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qffqpoqvkqnkidokvafmpqzpxhyelfsfcmefvyatxwlhcccdfiaucfwrkfhqnudbysusryjcihfalpykqnnpytklfcnhhponvyfejciffakfyejeauifyjmoahobkxozxwhxkrilwveqqdoggujypzhqnnwkstuxznlfkfphqkrrriejkxxuapinwsnmowwgledmlccxwwhywpcfubtioeaqsgexvjoaadyrpwbmoovzpvuimslkhtbjxdvrsujxrumukjxkpilmzoavsgjzaibq
1 1 1 1 1 1 1 1 1 1...

result:

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

Test #68:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

input:

263
idsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsvidsv...

output:

ifwcqbpfrpwnzgultpgyohzpjaudswquzawbajjltzslsooumwgcldqucbjpeppudfgxstyxsdxtqlvrgljrvbbxdkuqswxpiufpsqihnswhfkvuaprsstgqnegpzcyxpsgwujpugvlyfmsbfywtcotnthrjzbrwxetdyeurobeeunuerlcdvajqljfhmheazundsupiwufaupihjxvuqxoaaolqlwvpmpdfvfsqayyanpnsyynhpkucxoufwhfpmlhezrf
180 2 64 201 234 78 104 72 231 104 1...

result:

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

Test #109:

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

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

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

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

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

input:

299
vypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkxraritxstuossirlmvypyloozkx...

output:

vkbiogeaknnyblefmksyskrjegovgufaiaaohgxepwqlxzxxlonfkboxnymbctgrnryjrflgkjdemhohozuonpfnyoaxqsqbzcdllawnmigaansbmwoftrkcykmmwepprtzrzuhnvblfbyekgbpokjuabsozqglwtttymicgyhjhorwjqlbxtgkbvsjiakhqlobpotcvphklsxmxfqjogndilnsgabyskbuygbojbnhjjdxllwvigqvzmjlujuavrljxyhidfssbyworprrrlquovgqpnoytvmaulalmmkh
...

result:

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

Test #114:

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

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

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

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

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

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

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

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

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

input:

299
enujseyaizlucvjcvmgbutqpumvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

ejeahxilumufozjdtuwatnoqvyxdtkjuckwjdducqbifpnpukbawvazlmbwcnxhwlduluyeqeuqivoolfpcpvozzisgvyyvkihfiqrffpeyyqbdbqsmozgtxdzgielwrshgnfzqckmqmwxxiasdpcgcrvemardivpgshkoajvcuufkidoqowwusyyozuvezvqgybcgnsxpibjsqseqajkotzeqgukihdunssduepjhyfdlzgciuxrjhyallqpowwgjbuxcubsiwhjquzquyesiqlyhnvmwjijzmrorpftus
...

result:

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

Test #123:

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

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

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

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

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

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

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

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

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

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

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

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

input:

267
nbimtggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

nhsgslepulirfwcrlypedhtyltjtwzxsyrpsgovoqlueitptpndpudjookmcpcvlatmtopakxgfiozxpyddbwujjwqkruipbflaiewpkchzszbarkjlsxdnprixfnppxyjubyfcxxreiwrhmsdiqefzpkrnvoauwwusqnmnwwvbuwxjspvopdenwygfegcaivqyavkklmfyubjqzfyoeqgfzgoofzismdrnzgafvvpbyrfzhhevnrltyrvtocsmbbjpsfqqdgxb
96 2 30 193 129 52 186 33 76 153...

result:

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

Test #135:

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

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

input:

279
lirnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnrrnr...

output:

lfvajiqyhazeyeiagqldbirqhegialcmuckccrbkummucmjwvetvofwcwoxnfzgdgljopzrlwyewsrevdramihkrwpczrigyywzpoboztxlcuqphhfylljftichffzbjktvwnjiuqrtvijfylolaqabigjwkpcyihilezzyqpzznlqqzzvialbjqxdpdcnvuyrmiymlybdcdhiyamvemouylhxwjzfshmvfrgpmypbdhltqeckdahbijlfgrhgyswgwyvofnbkvkyppfsugbwhu
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: 5012kb

input:

265
hofaumdtuurnczvlnrnjtajuipifkrmbhgyrthclqfgxozeojkweqhcqexkvbfzpgiudplencgekesmqnndectokikcgcxsqfuocffykxqijtqptxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaaukaxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaaukaxgrcihvwaorlfxprmntpbepxhhggrhzislguwsuhanencogcwwlyrqckmaau...

output:

heymbyqcacjocvwfdifedrqpmzyrlzfeoqkhalltohlpshcfacrimxneuegteawwzuccmkeqhypmkrgqreenvjictubhnrxnudgccmdnefacqjlaetphwuiufciuaccfqxasnrdppphediugkzuvxngtmpngffgjlcphxbuspyoeaneqiwckgopzxconverxtepxgesbqoifqkuvcnnztjqwcqjnprotlurbthqloskilkzakqyhubrgoihjnwlngykcbvnft
249 39 31 23 247 70 204 212 154 41...

result:

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

Test #138:

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

input:

252
lvslllnuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

lelsvrbparzazeaazwzlpirscncgcknyaskzdzrvhqoerugthjghlvetvhcmiqdizxigvzmmcyvzqdwqxcthqhlzzmgdsawrbyftfhlmxuppqpthvwgijikmkdvyfivondoyqbbywlwyeijsbwqyluxiihidsyaahnvuufisbfpacjenqswgbleujdtbyggdulpoyvqqkdjlzzhvrbqkypzonmapyspclbtdqcalriirsscviqbxbgcumgpn
69 20 126 74 50 23 49 1 249 68 85 173 170 139 8...

result:

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

Test #139:

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

input:

290
mkpazbuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

mvuuglfxtehsbuccddysaulfeiohtaghwsluvzuivdtsaasbzimqtduimemzbehwrvndnkblkfqoppgkqyjpilinamtmionuboyvrseyvjkdpwacfkbjhonxbhtczkwxdxyfyuyiimyqrulhlalhywpsdgfsopajeshdnebtmblyfdwokvxgukehssakbqccnmvbnttwiypmvgpvlfpbyckullpnfvsnjdqikbtnuphlspimninzekzuqnhpnawkoieojwfzdjowdqmkjxkhzizfosobdsthxm
126 155 1...

result:

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

Test #140:

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

input:

277
hpnajknenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenenene...

output:

hrbbabntxvrfchuizvesainhztxrkalenvbovemfqerenfxuowacoxaqkktrmkszuiaxqftacxpklyeajjevaaeliwtepujjcvalsclbsdalqbdbalmgqfztmlrsjokrljxudeqfqtaaqacvdgotikiflnguaafokfumbuhqxopaatweasygnqeftrxtnvbcafgixudmslgbuzoasqwsdqtwjrndnwrtbwqpbkdfvivxykahgcjwqssdefrihkzzqayneelnvursxhbaxkxsp
93 239 8 253 5 229 156...

result:

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

Test #141:

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

input:

263
dimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxklkzzvbsmkkcqlxbqckaoeshmipbwqcgqgzvyxcicztpgftiaxmqmgdkecwfpbeplhhwkfilcbisdsnaiihgcqvzurdimxwxkl...

output:

dfvnjgiyrdelpvsylaliipklatdbsycndnfwwgioyjtzvicrjrlfcxbrkwupdgnvbuswfmarltwxekzxazyvfodvdpyfntsixpaqcgcracrytjogkqwekhbxvikbtcrgggiqqctkmhqwlvpighsfxrfnqbkqhqdpimhmhohitdwzjqmjrunkicfjqsohaazxqfhtkbqgproihgwudlpxyzawtvdmpemvcqiwgfgmvrcecupzesghxwdkxcmmbxdwzbvpukx
131 64 184 99 113 29 30 6 79 151 95 ...

result:

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

Test #142:

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

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

input:

288
vazdijkuxgcgyvzobgadxehkbjzkyswgiiqfnilvfezhazonrochlnhtlrykmpjkofwxbcfmemememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememememem...

output:

vqpqzlubhlanibsliiunegibxpgifwnweghntxwcgdxgfgixtqwykhavfpdhopnzucsfzicjdrxbwolmwyjqjmfkxflcurmalzazhnvxfqoxukhdqdopfthzjvkkpkzugxericgzcfqefzbtumnvxtuljitmxrnpaljfunfdyxduehgammetonauvsedaqovgdlsnwddowmmtziltkxxbdhhdreisunzmkmtgyhigclypjntlkeajrmmbawggftqdmmupwobcjwaxhtkfoxsexrqdtplzvfa
11 112 85 1...

result:

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

Test #144:

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

input:

274
egrlpyuvvjsarrebtidphauhawjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

emoxaoyjeqeepziajopolauroyiiwnhprxyvdjadhxuhynynqtcrudxhzuawrpvbhhylnuixvuafjlypaqpraexmoargdtuancjysyckpicxgqytapkyprfiasdrgyglwqkvgiujlraxskiqxwfaptxeudmvrffhubzwzgrtkpiwlqajphtvkxoryalctvkmpzlhipwihsmxyjaexwrpggoasqawwuibdhfymuiwbawcpbrwosvwbrjfjaraavnddrviiyvklcmjajxaed
109 198 161 246 5 10 61 6...

result:

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

Test #145:

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

input:

271
mnjvmzimlireoaegemqtdxenycllojmxdszwqxalgyxohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

mwbumsbfizqzhknyoexersefgaccoiplrnzbnyzhunsuimoclkrovaixzianorgppsscmjrgjlqzskslkqzkaprerxwalarpudlnedjxyemlgrynacyawpgpwyrelfxmioizbnnfynkolgemhfpjrmcbqoerncmrvtygtbjkdahbhxjxtvzxfkvftyxvdefhlrbelfuvndvvyqbkhkdojvsuhaewxfijyrejumypvnlirjtowxqcmzyyjqagsnidbkxbmmgnppfzace
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: 6364kb

input:

258
pyojtbhbrqqrcsrqsedfeunlpzwznbgmehzjtrtcxjrshhdzlljpekhhnbgwashaagwbwrsieerljhtuctgysfcazmzjyigdbjjilxyjduvnndxaaqusvoefduxztyakoakhzvfmpxzlkweyjqiixrkwpqbccnwbpkjdzixuzqvvwfqnpcinbedfxxamsurvktgokypyojtbhbrqqrcsrqsedfeunlpzwznbgmehzjtrtcxjrshhdzlljpekhhnbgwashaagwbwrsieerljhtuctgysfcazmzjyigdbj...

output:

pcxyvrferdifagjjjtgkotyxhbgcrxslxoshwfohswixguegaxcqfcqvvzdznebxwbjdxzaepvnyyhudnwwvihnyqhyvhwuorlfaamtqozvjkbzqrqdukliqnexejpayamqmjszgqdmglefnjdrryhbzpustexjicwjckkjwtcjimhctmzempaitrkiqxsvxljwdklatahybteoaprjqjigkrneksrbdbkzlzkzkcamfdhfuufpnsisqflabqyqbdl
76 187 91 162 37 245 118 143 80 46 211 23...

result:

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

Test #147:

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

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

input:

283
pmeuamhilassmpzhychdqqjlweqwtyomzymvjgcyppstwgubumnzzlxpvtawdbzyaqzthnibbwbjdpeeurgaqzqvvgaatwkddjtwsvoceqqteijipwrdqsfetkjalmmenubgyrymsptvcuvidonnabeyuwovontzrmwtcgxyvnmdqncllbqvoaraovsnxssqhdqamvladqlzzdvlohhnuhedhafabyeqthuyjkudabrtnhlwxasgwxzqapvncscfdhrawivnaldedyfwcwzibjuypyypmeuamhilassm...

output:

pyfcnulmnjqydpouqjptdldwpmuwswbwdmujqskqoztyampqdgeptvllquezesnygdazuzqedxqxyhhvwlvbnvwclfthmqaucluwwshzsvmygzqokeviwmcwgavzzdetiqyrbmvpibcbaybxjabbgvjbiitauyoaoddvtvuonqrtyfhhtoturjaldpeozqqnsdamtpdanixhpwwhgaytyhbncwbalcacwjsvaaaefirehymayxllgndvnvhzdzeqvtqdmsrjenseszrkaynrcnhamsw
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: 6452kb

input:

270
ceywwlfrvyqfbysnfzxrvwtpimlwrgccsyvbjsalhbdxpcsxfrkrskihehectaxoogrhjdaefiiwuhvoxyyzbvbzfvyfcstpuuzocyfatgzfcmihqxbqinkbralkihiatvtxmtizxzsbkobpzwevzezynlytlsjuvzlzyjumdggpurvgwdhwtojcmrgswvevgiquhrehwqthkcqdcerervxibxnezfypqybmmxrzmjhchujzfvtllwputxnpubirptcaihuvkfcmvhceywwlfrvyqfbysnfzxrvwtpim...

output:

cmxgcqzrkwwwalvuvwizhnwtvectkzjyohcetzrjrczpxsbfukdsxsioxadtrrduxlvhzbhinbuxqvkdxfeflmbztrbclvgpwstygxffuzteybrcsmqbziyxtbziabnehscjjiezyiqsupcljrpmknyclutzbihwwuefholvergirpoavuvscrmzyshcmwioijhaxktafutgghqixhgempmokrvdyjhtnfvtvmywfzhhzqacxcflfeypvqbpybveyipwughyvrvlfr
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: 6724kb

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

input:

295
?
dinrnuehnqzocvmugcntzsydnkehcsilrcqhfkbxlcjapvvtipklrvyxstcrccjoluodfzituvdvmukjcoktvibvfsoqrxsnwbwqqyhhhwoydupxqymjjsempivudwgmaynrmntxagjnbbfqrcseajiglpnypwzhsxakwlepxcjdinrnuehnqzocvmugcntzsydnkehcsilrcqhfkbxlcjapvvtipklrvyxstcrccjoluodfzituvdvmukjcoktvibvfsoqrxsnwbwqqyhhhwoydupxqymjjsempiv...

output:

xdzmtiobpjtprbnkrftyyjasumfreacycpdssuanxxcxviqpybnyvlhpcjiyehpnfptsuwbmgmfrsfetxcncafshrlqzodtiraqwifufilwzjppxdqvyczqxwtzxxqzbjhyffzpmuvuvyscqkwvytjvvtvnfwgniclsuiygjwcavwcrjndlnoezljtersvbswuomqvoevxaphfkmcprwbhsafrkgydkjgjwugyqvkpgcoehlrzcknmcclpgnzbchwlkmnfoqfdlxnpiobhduewvzkqqpgnohljehqou
210 ...

result:

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

Test #152:

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

input:

281
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

vvtjmzyxopjngrbqeacixwtbanzfefbijynaldnelzijwxcjisgrqxpxmlfvvewduoixklpolgpxwmyjojsreglkhvefpelfshbmzbhgkyeeeclaiiaobciaejlthwmekzjlgpmutqcnztdcxhdhkifgqbeufwhceqvvcutvlvydvnxnmymscvoazgcglaihbpdehzyncyubsxzttuvejycoszstfpqvwtxyzchvxhxwhbpmzqjajhmraofryggokzlsgjcyuggyejxwzfrhyiwhn
1 103 10 227 220 4...

result:

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

Test #153:

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

input:

268
iriririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririririr...

output:

ipflamlwehnluecofcrhlchgbjjaehpligrysikjltbjlzzeswngvrioqrxdbmtunieiywwpiztvfehwllhbqklypfksdizrmnbsimbqfbryixjyshuwegyshozfaatpxkbzrlqnyjyvryaqxtjcwmlhkzsxxvjcoibtpjijxhbejqhwghuuvjjcabsprgdsmxkhxyrikfoekrssqpimfdkvglabsacylhumcticmaudabsmpjejajjumfvvpeojdasmshnydrcs
266 144 72 62 233 262 196 8 9 2...

result:

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

Test #154:

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

input:

255
?
pyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonhpccztlwhdcehmvpyqvotqcpoxonh...

output:

npywrqpwtokjtslffotacvqwvtmiicrkezpcgqobzrnsuiqjckrjrpjwronatheaxnysvzyygtsthkyobyhjytdhtjmxjzpfmtzthfmgfxdpphfwzeofbeoelnbywaqqowayijztcaqfggbywjtgoclxefncyjjcsyeemfxcrqvnaxdwfxfqnzmhzrzxzqottvhyezixjtcgvgunbvxcombfzqhvhgvszydxxkkfdqhibseotqzsppaxtfipghr
138 226 106 165 121 1 160 242 208 44 110 76 ...

result:

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

Test #155:

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

input:

265
bmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpnafgtnxrdskqswpzmdiwxtwtwdmtibmtomzwzcuemqxasnhdoedjeqmdpywabmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpnafgtnxrdskqswpzmdiwxtwtwdmtibmtomzwzcuemqxasnhdoedjeqmdpywabmmeqhezlxurkjvniwptlzqlydxftibjrzyxeetmdecnufhhtxqtnqzzmpna...

output:

balqdsbeqcbdiqiiwuezghcssbewtetdpnntiqhuwlcnwrxdhlzxztfrvteujzqmzblhpioczlznggmtgmgoqxcfgtqypxltmyuumwsgszequkdjqjmxrfxwygzacjwqawumwhadqbgqnijcluavyaqzhoommvlngswyhtdpekveohlmyesxkxttnznfazvscbjztzjqmkpzkqitxllymxxkpqnoxwgfmzedcqmhnuyhxdasicirvqbypzehshmsyruetdedt
82 189 149 65 249 222 195 148 250 ...

result:

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

Test #156:

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

input:

300
msvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlrkmsvrnuzffskacptjszvrqmsxlr...

output:

mjqqeltxlskhjnafvrmzorrukhkncxnezfjucsmqxfgdejfzxogpngescutmludycnlcewavylzvguqytobcorzgduuxcuskctwycdtjsmzzpuxvyjgqrlverduwoumnhneifemrkifuregwpbsdtwterrmcxtpgaxqyluwnfpbftsjjxgrohhrgljnxsujhbuswlnuysbqipsxdxrlrpppscplrzwskpycnntmrayxhezkksgxwgbuaqmfuppousrvajhaquvisrodoldjbbctemmqdccqhnxcglhralkji...

result:

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

Test #157:

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

input:

288
etrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjetrevmjet...

output:

epdtuxmtaaqkoslvvvqrdjgtmdlwmbxufwbatbiocbwwyvsnewzaajicgjwmxsubqwlbcbgshnjzohgczyhtuykuryvqbxqrlxjpfxpbcmdblavttlbgwqbinjaekzzjtfqjmndqhhompixdozvdtnklziazyiqbtuhgmzrzznsntibqywhudjjbvhlajobbaxdtpdihripkisoezdziwupfxytuoznruaurtnegzcrmrronpmllmcrtvkshzjenupngnpvvbfhuvbgrojwqusshvpdbfvdx
196 5 216 2...

result:

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

Test #158:

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

input:

274
hukiiqpvojfuvjpnkwrccnjtqkignkbjacahjizrykywngrffvcsoqwmdpjtkoncyysbxvkgwhqgavozufqlewswxlglgzyjbnadbzaotnxhmwkikxqhgptqztglbbipplhtsfxvlzpwtljghkshpowibbobvqnmphnqnojryfvwfhsacdiajiaprtksffycxmijhhukiiqpvojfuvjpnkwrccnjtqkignkbjacahjizrykywngrffvcsoqwmdpjtkoncyysbxvkgwhqgavozufqlewswxlglgzyjbna...

output:

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

input:

260
?
wblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblujemcrawblu...

output:

awwpejvkrbhvtdwravaohvzdfxnyfpsqxgtrjltoniyccjmzanxhsacatxadakslmrjpgmxaobjyaxxaisozaieaawwxbvytyomvqgawntyvvorcavmjghbunmvygkbbjbeucuaidrsvaatxfuacdmcsnclmwrdtgdukxrujfbozhphsssufkjgdpuqmermminagdbbuijfbeudfrawtgeseietdliayypaeqrfrwpduekwddkczcnqgvqsjezrlaiup
1 199 36 244 256 259 7 158 252 34 211 7...

result:

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

Test #160:

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

input:

298
iprtxilwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

ixnrthurljecupvxapkagwarcrtmkqaqyajrqrghlevwcxpquawzslangcoailpaqugasbthvnahwuvmettvfoavarmlyodmkamyphsfbqjyzlqafyrrfayjwybadbqqwinxjhqlpawwbaxvwehapdvpaofvfbfxgaegswctqlaanpkdvuxlarfinacgdhptludizbpcgqgffnhpqzmasxjltkqwkynfksxwyrssfjvpdhnhvbqwdqmetacokzmyhnccmudnoirldaebehmwmlnmnkluhqxllpjpexzbig
1...

result:

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

Test #161:

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

input:

285
ctroifnwidurzzodpgxgmaluwcacqywdptmrtxtoynpehfngkzwgzeskzzdhhabvyapylhvnqxyquoygrxqhzvbhnlnevzuzegrfyjijazdaodzjpkvxhktdjsbhieyqbpgkibalejaiiifcmfgxxxvtqsosjklqytbnlznnoykhghzvbvurjonmcqltpakthrxqvdkbaysgatkcwuejssjgkpvpustzaepgsyhhmeonnnkgwahvagccsdiktgdpnnzahywncughrfasbuaoecoqbgaghctroifnwidu...

output:

cyqjsfnzocqgtvgnbnllyirkrpzyldgbsrpzxkvcgitsuyznhajfrwdiarhsxmnkaowcalnghggjvhtbfngplazauhwarkubbzezpahowskdewpvhnchnjqnaavepyfggxqfcqdaakvlqygwuetzevfuzgxsgnhqhqcvnotcdkthsigybgozubsxqbkptyjjtoezjzbhaijnytxkdtkdspakykamuntdivxoyuhhdchqhgvznjtsmecigzvbouxwzkdirmgyxlayoaremenhpeaopopis
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: 6620kb

input:

272
hnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhnattlhn...

output:

haqaaaktfwularaaxaaaosspywaraiaadhgboglabudvrdcirfvvlrztkbticxhchctzvfmuuhccrdmifpqwwjftdtxvwxinfngrahtvrvkghksgweavzhfedkimlnbxzursslacechmpzagsnjbheuptaaffqhqjajwbokvrqdicmwcemcvajctjmnjsytgxtmuckrftiayweytqaydltlzaozyqbnrtjalntnqmpklurxzvjtmzbwhtkeytgmdtzawbfvjpjtwedtn
272 2 75 4 5 63 176 133 237...

result:

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

Test #163:

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

input:

258
rypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdijzakebqlrnzpfsnjeumoyrvxvvowjgkeusrmyhjqlbskpshimvujujyjdnfrypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdijzakebqlrnzpfsnjeumoyrvxvvowjgkeusrmyhjqlbskpshimvujujyjdnfrypexyssdkvzaerfdylspsceeeteboujgkrzgpmattseipkochgvmhuoxdij...

output:

rujgcrmztukijtuhfvelrcedzeqfjjlsvmcxjsjcaalrbswpdjuxgoepekimpzikdhuvjuefzvzprvhmujgjtrypvokgiskeagmzbsymosrrlukskugtsaganeorojufalssjzdmuynxetqcbtwgzneuirbjlwqpenqabjbncdjivsvwvcegrbsmujntpdhkrxxruflgkpotibvsxsaggbxyfnjgghkjyepmqqljhdyyeshzkvrosewejemzzbaxvd
225 171 258 59 212 24 54 81 7 104 189 86 ...

result:

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

Test #164:

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

input:

297
fdrcblwtcprkqeugfuhhenwafgprmginvlzufwwfahskdkcfxacdaazibipvibrrsudjjnrcpjlywrvywjqteciouiupgcqlbnfvjemzngrwsuzinunfvhxqiizfwjdhmtspfalzwkvjacelgucjmmtnbzdywbjqqevcojgnxtpygiqywjifvbtzzwcsrfdrcblwtcprkqeugfuhhenwafgprmginvlzufwwfahskdkcfxacdaazibipvibrrsudjjnrcpjlywrvywjqteciouiupgcqlbnfvjemzngr...

output:

fnjmawxkwctyzcwhffbzwaszsnmdpivwjajvfwrjbittneralfbyidemrfncggnsggqmoxziyogvetvnerquaizpyzbudetelgowmjqfojvbiywrilanzckgjxsnaldunuccjocbpqigivtalmmwzrcvgfbuwzanauvipttszjkkcwccohcxrqjvjlgudtslqphfteiwusgshurrlhwdhjbfiwagwhfuradfstxirybrhljbnwspkketgqizwnalhcenodowxnalbvgepgzglouyzgpmdzdsudvfcdqml
22...

result:

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

Test #165:

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

input:

262
dhxncmaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoaoao...

output:

dacfahearbirarpfaactiabxaahdzserukoapsanvruiypnyjzpfzmdofpoohwxwpwkbdiaopdntnijldakghqhneajhhofqlmtmqudlvjwfrvncuhzotytyyshyqjsvltuwferacikuetagnsmlwahqkgapfzmaosyqruojqrdunzmgroukexzmlosepibdhthnqzfmfuwupdybcpivggluvhpqaljxgfoznnepwmnpiiudmocrfzofokxykxhenycsih
123 2 247 58 5 226 116 8 224 193 58 1...

result:

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

Test #166:

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

input:

252
?
?
kziojgkncvaxatpnpoatxzvugzublnwihuisukkhxatdhtfshcstnmzfrikqlxblzbybghptlhthlykswpwsajbkpltoonrqxxrcyzmoixybtwcghlguzecjfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjraojuujfhsowuwbmsyzsrjrao...

output:

aakraaaaawajaaaaaaaazapaaaaaaaaaaaaaaajdpnbsqlfnjqtnwkfychxzrgkmpschbhzpwlsrtftonxivsgiidohcxyzjwejepudrnqkgomavfkqouujoarjosuzysmybwuwosfjcebzuglhgwptyxomzycrtxxqrnootlkbaswwsktylahthltphgbysbzlbxlqifzmnthicsfhdtaxhkzknusiuhinlbzguwvxtaophptaxvcngoizr
1 2 251 123 5 6 7 8 9 226 11 248 13 14 15 16 17...

result:

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

Test #167:

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

input:

289
?
?
?
bklttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

aaabaaaaoqaaakmaraaawsjwtkagaamaaaadaagfaaaamjaaaaakaalleaaaadasjtaagoaalaaaaaaaaaaaadawyifaaaaaaaaaaaeaaaafyaetwcxaeixaaaaawaaaatanahasaaajaatauaaaaaaaaouaaaaapaqapeozwmifurejaudhiginengxrajmoaeupcdiewtgmxumgnseskcpwukvaakmiqwwdcxhhkswqpzomvkfreqljrjkrboutjzhigrjaccxqwnovokmdqlqyoefatghl
1 2 3 223 ...

result:

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

Test #168:

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

input:

276
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...

output:

varcgcavantaktapaaarataflveraaazmlaazalcxapfbssambkazaalaeratgxrxaulnmavoracuyaahpmnehgqaswaaaafaaqazdkeajaaabatatvaajteaaabadmawaaasawaljaaannkkeqqozhbrnvstotzfczbpmeodpuggnmnxaiahwpmmrjsdbprpzxdgiwgtkgyzziwhiwfxqgzvxydalucnjisucyeivsptorvmadflxekljtfpguxqhheuntaprvfqgafjbnb
1 2 276 196 5 273 7 145...

result:

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

Test #169:

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

input:

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

output:

yjttpshqasfnluarnpzpbznsrxganxujqmkxqxxuxtxjsfgtzebucvasysxgvihomassnufrjlqxvjukcrncjltcaklcpuekfhjjacmpfxfaubnamlagoehuxqutikdpofqrmdpcwcttzngiphkxuurenrjygrbsrgozmtuxyyrqbhhqskdazixfiagqmaxjinqmkvoyacbhctjafyzuxjeuiwyymjkxgvjiaqeywlgpqxirkkhxvcvepihxyioaonltoam
17 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 #170:

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

input:

250
?
?
axaubwiemjlkpkeugxgiufxhiqjwzvjpiwlcdnknhsqndzfeekruzjkobtuqmxyngrmlmnwzbatednwhhxntusskoctgbejlfntvjvszmmhnaxtbetcwpmlfrbxgxplilhlccqwprxdrjzpuxknyaynnuszrkhxcbufirlcryaceybwezwpmnliopdnwcxlxehwkkcuhsnrlntyurnvoybjnqulorytthvpzprammthisemgakzjtzdkzkaxaubwiemjlkpkeugxgiufxhiqjwzvjpiwlcdnknhs...

output:

kzadztzkaglemledsrihtrmmyapzgvhttyrsozqnzyovbnrcynllrnshkkwxxcfnwdepoinmpkzewbcajyrkclrawifbxruezsnwyayxupnzdcxwnprpqchhcluuhlipxxbrflmqpwctebtnrmewmzvjvtjlbguttwjokssunxhhntakbzjdnglmmrkgyxmqutnojukeefzldnsnhnkncjlwipjvbwjqihxucigxhuetkpklmeuibuafxx
3 1 249 176 4 5 179 7 8 9 184 180 10 63 13 212 15...

result:

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

Test #171:

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

input:

251
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyqqqqqqqqqqqqqqqqqqqqqqqqqqq
37 91 247 150 181 17 26 169 41 133 92 49 121 168...

result:

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

Test #172:

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

input:

290
kkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

output:

kkkkkkkkkkkkkkkkkakkkkkkkkkkkkkkkkkkmkkkkkkkkakkakkkakkkkakkkakkkkkakkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkakkakkkkakkkkkkkkkkkkakkkakkaaakkkkakkkkkkkkkkkkkaakkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
263 2 2 6...

result:

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

Test #173:

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

input:

276
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwaawwwwwawwwwwwwwwwawwwawwwwwwwwwwwwwwwwwwwwfawwwwwwawwwwwwwwwwawwwwwwwwwwwwawawwwwwwwwwwwwwawwwwwwwawwwwwawwwwwwawwwwwwwwwwwawwwwwwawwwwawwwwwwwwwawwwwwwwwwwwwwwwwwwwwawwwwwwwwwwwwwwwwwwwwwaawwwwwwaawwwaawwawwwwwwwawwwwawwwxwwwwwwwwwwwwwawwwwwwwwawwwwwwwwwwwww
1 1 1 1 1 1 1 1 1 1 1 1...

result:

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

Test #174:

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

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

input:

300
pppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppppppppppppppppppppppppppppppppppppppppppppppppppppppnpppp...

output:

ppppppppppppappppppppppppppppppppppppppppppppppappppapappppppppppppppapppppppppappppppppppppppppppppapppapppppppappppapappppppppppppppppppppppkpppppppppppppppppppppppppppppppapppppppppappappppppppppppplpppppppapappappappppppppnpppppppppppppapppppppppppppappppppappappppapappppppppppappppppppppppapppp...

result:

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

Test #176:

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

input:

300
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...

result:

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

Test #177:

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

input:

300
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkgkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

result:

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

Test #178:

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

input:

300
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsnnnnn...

result:

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

Test #179:

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

input:

300
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqfqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

result:

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

Test #180:

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

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: 10ms
memory: 15308kb

input:

1981
wcxdytnmefmpbpdlaulslnrcydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfevknffcniychezdvlnwumynjycbydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfevknffcniychezdvlnwumynjycbydjzzzbetynstxnbcomfzmvldenrzfrvpsydtxbccvfydggevgubmofmgfopwewdrfofdznfe...

output:

wjjtyyjsikbuwvtxpfwiwoqirfleeswsywstzmmuvsumttlblqxsypctxyhomcluwpwhbifcobegbnrltzfikqyknvgvgcjpdqxwbukfjrustkhvnypmznbhbyxabgbfcruhyqlmomyensuuxbrjvlceufbtsyyhlnnoqzrgecmayawjszqujuntgatxbrooyfgpiuukesgptbffmpufctvahtamvndgvdmzxocbyvvueplxhhliegskwehwlzgpaoldqyxxqiajpefoavnukcvycrmcrlgiefujvwvnmuvu...

result:

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

Test #182:

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

input:

1994
hjusebxsvofgeshlqkzuwrcfvlokcodospovwycuylzevtqqdfhdyepbipqnmrwcvsqztwrndyqhzrhftfwrsozyjnjpgzmylbtboxexxqknitcvbsqovaslserjmkicawherlrncayemftqyjbbpthleozuyvzbcubejjamvxuqcbaqphuntbukuiorsnxatipplfpfrnofampscdsasoywpoafrnvbdcsrxpfkfmjkjmcsvwwsjwzbbjahjusebxsvofgeshlqkzuwrcfvlokcodospovwycuylze...

output:

hysafnnnragmbvkknkjrqbvdfmfpwqxbdatwuhnywubrypqbhacpqiquivdwdmzjluawhxamtqzvwhrrfytbabuiyzuvrhwuvyyzaboyssfwtgnmdxxkoldfoopgbvgyijfbosvbtfgdqxsykjxtgajtzayyglbxczeywmjblbbxglwmzffqrtwyczauwflgabkvalrsuwbdxpzikaanmelgkbalqwuystfxfanvcivdcflwwsctnecxwkzbuhphgvgmkcuoepxxywrzirzdrrzzzawyllozmvdvauzyymgm...

result:

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

Test #183:

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

input:

1972
wmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassyolabxmqsqvpcwzjohquowmijrzxpdqrshchbkchqlassy...

output:

waexhlqnfcovvewvaetntuucoifgqhvjbgxcsnjyakjmzhakrixmjjnrofwrlyelklwzuslokgtsznkkdfftsrkypaoqtqtlneyfobjpxxkgspbqgiqvzveobkdkpwvlgsorbzburvmfallqrwruijyzqcdtiiclipeqqeuvobzldwagtsjlcxcdafuizsbqmqmfwaivyjbhdrjdrjaehsazrgiabkuyfyzgoujusfvwxrfzaxoyuuxzonbrpozbejcdbiweonozbduwangmxajlzzwrstgkxsffjehcpaen...

result:

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

Test #184:

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

input:

1917
sltbfutpxvuhzxkaujlauxbmvbptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgruxnnqmptsgr...

output:

szrzwqqqysvspqybnjucymzwzmpnmcltojlbxbubinsjrlitxykntmvzkucgaatngqqlijpdoyhfhhgjtextbatwbsmztdmrfcxclticcbhwqzgiqzbgamdsfviyhnbuyvcjgmaenhbkygdedujkuvdckxfnkpebwulqwefstqhdwpecyhwovacgljznkyqjdhxvrkruogrkumpbgtwvokplyrmqkfgejtyayapmjnldvehxnrgqiufugvaumpkpelvhhpihzfecfyvxqtslztaitdxchgplycpjbbaakjxw...

result:

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

Test #185:

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

input:

1996
feqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqshfeqsh...

output:

fdeowsdcrxqthzyagyvigmogovcfgajvdzdidauvdatscysqcpylsyopevkjdeeitgdcevwypsyfkwswfsgnogiufhqugyywfjjipufvggekawuodoepryiuxgwomecfmjixjvvtnkchorprurokvbavedpleveltupcgaktcxbuuxwagwxjoywmxqjdyrzqczbhwpubmogmptdjfqmhvkwyxyfzwiengttxuatlxzabeetzoxmoanqudkezmlntmvysrajaxjrvnscvuwdfzpknxihlxgpcmapfdlzkjzcq...

result:

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

Test #186:

score: 0
Accepted
time: 17ms
memory: 15100kb

input:

1941
eqwqfjwuerndnphcpfcmknzwjpysdqvzfpbvdutmrxlygtorwnopuxmwtivumbmafpuyqdhcheowqmmyqnheyijhsnmtmvdpctpoxfpylchpofowhqhkxweofxvrsnuzanhtvdoxddtulbvziyqqmhmydtomfbljisrhhihggbtrdzdaciojqizmqqntmogsoaicmhbmlqamfqcouwhhipwbtlbulcpdkzbsnlmnaoflzilyinnugabmtfsljrlszlqyxhnvfgreplvxlggxmqaecjbvlqqbhxsokki...

output:

ehosqieitgqabzpbcmrgexbrrerryrkecanditfhmtcqphbmlisfghpamcfbmhmoqmdqduoxroriqjgypfasiwkxjfszbanlurcgowejizxbroeddmrwmcmiljuvzyqfaafhgyljqqsmnlltspikzimixmrqsiogbztojskyxcioefwawklonqvvlvxwcdwrtqcoxzdjzhvqeaexvtkfvgopamzwrbimqhotjgpxphxvpdqoeobuezmijmziftdnjidcecgxjvzivszxlaawekuojpmytqchfzztqqlbqljz...

result:

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

Test #187:

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

input:

1987
tgeyotqnxqflxecdhkpvfuiablbmuisoocrqqlpdnjfukwxraplqdtwhutpvtnapjzeanhyvkqfcanbjoejfzurrooyyqjtczrqwmucgtrboipniiixkpwnlfqbhoyiepscksondkxmjffxeertiwluartdxewbkzbwjlrcgswwyapksxrtbkigqlcviemjezzhvgqlhnqstshvbthnzgemwybfawkciurfbfkjsfxjramwddbtpyqpcbbgaeqoejanxwfyeybuhozvudhdsszrdchnejkszgxafpaw...

output:

tpxolrtuvwxcydekvjmikwjocomfcmucelihwdqgzsujcwbjfuormjfbrrzahkkqsfnozquyrxosnpdaisibegpcampaxkupzffpvnarckiodqpnfgvudbupfqhzajndxcozkqyglgokaiimatdbymdjozhainhakqpwigtismjkxljrxugqirxnfqhrkbflvevsaqqxknuuqsxsfremsrrzarbeswenxxxwcyynawanbbkmsqmzxjbownhkcaxorejekaypzxsbtojoqyafmsevrztfzfxrxphnsmdqrbgx...

result:

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

Test #188:

score: 0
Accepted
time: 17ms
memory: 15408kb

input:

1965
menlcbtfmqhdgfvfcaygutptszaxbdptfalbuiauxpakfynykjnbqqjxfhvnrrofewiekryemzaulfvwpledzkqzunxsdegikwqhuqrcznohskbpvhuumlbbessbzoxohkelqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgselqgs...

output:

mkyxcvajveaynnrzsyruxhouhteeeezrfbpgxpfefesepjrdfynqyxcvcispaqrmdlmrbrxciqunudfbqdrtdshevqhjbwvmsyggfbdipcedbfrqlkcjdsorrojraatnwrproszeqpmnfndkqusftcadephujwbrrabxpugwootlltyppuvikasjiaijthuiphtbailexwcriuuhabygysxwjvymdygtffgcmtguzqjfdwvltlkipkywkrdzsrieqjsddjlbtxvxonizalxzemeevqpirtppcphmoqkxxmvj...

result:

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

Test #189:

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

input:

1910
qupypfdwyqgfrazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaz...

output:

qfgpxrlyjrhmaubhqcqnkdadvkzkarvjbmnhrhszmjmuvteiarrxocyxbblrktnfufxewwiuajizsgxuyyqrrcnqbhjrrocbzblsffuaryucqzhvmpaicgeopwpbzpldodrlhujhfadwuwgcspbjvydvhyyjdvvxdezklgujwghkvdeeowubljqhvyqmxqelkxaqkzcbslcaacgwfewukrcvpckvfkyxcmlrdlfxngfnbzbachlrjyfwfpqsyamqfwqudkyvnmnoacnabxhpybannxmcsiyvsysqvrdmucuz...

result:

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

Test #190:

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

input:

1998
jkbavtzrmvibannvhwdgrulvyhswfvmnybfqrilitxocbzzatammmflrrkpxnxgomlubfkahytnfdfxrrxpwajlngjcufojzclnppeagvrotdbvkkjsouxittffbulzzysxqmtmzhfpvpeznflkzfvrwxwjkbavtzrmvibannvhwdgrulvyhswfvmnybfqrilitxocbzzatammmflrrkpxnxgomlubfkahytnfdfxrrxpwajlngjcufojzclnppeagvrotdbvkkjsouxittffbulzzysxqmtmzhfpvp...

output:

jwjtqymanyunbfiynutgkcyngyjxigiotokjnbmuurgrvjtgdfkanptftefacrafdxtlbfsftmuydlqvrrocqjgcywgdbazvmdtmoqslldxzppktbszxsioguzltbehstkdmrynhqedcvvvkurgityjihbnuaefmwgsmdbftpvxitaskxjmovbrvcnunjmpbsigsrusrdupdwvennwbcgixpfuhokvjlkklruytxakywisgfzaictgvkiykazxokvdkkofgppfpapdcmhxsxqzvwsgapuaqwueduajlpggnw...

result:

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

Test #191:

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

input:

1910
vimpbjgdrfjnlyyhnuzghiecsbgfxnkpxqklaqpmgglakjxxqommluewhnnfpihdytensaycmbrpepvlmnoowubzwvqzckwlqqjljcsoixsnlbnxnqcerzpjrmmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmuxmtmux...

output:

viwbhsbmuartjzpqdjcvlebxpjzqhmoagjzbardgsopvmfdnxerzdrcbiygvtifazjjtoqitckllqeitveyepvftjnmnshjtjgbtwtzrhfxhfaihhvvfuxdavyflvtuotyjizwbxeouvpftnvmyiawpklqnmeagosnrhhautbwnjtyspzkiemqbjpmuksjsggmjknlcdzkwdpjrykwnepuswglqtzcpqdxdifhlsnebltfcckzosaictucieuppkvpxuasjchxtfcfijgmqxkhvkdzqiqwwmhleqtqyfwqnn...

result:

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

Test #192:

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

input:

1989
diddssubvuygwujkmnbtymttqyhwilaaethubptfevoxprvngapilphvytpcsdphknmyxrvwjhnykdptnlgmjopuaevusyxhrifodrggvjgxzqzuztpwpotkwebitdpqzfhhkbhvgwneiljcikclowsozguygtwislgwckphzswkyswbjjdeaqyfejppzocwdvqkzabdsduxtohqzswzjrescppfhhnhqniczpixqqskruvdrjgdblxrjwcmcsigfkaxhiffgbdbkvfkacynvapnnuwmxgzmjecqdss...

output:

dbvlpczaejepexrepfpjzqhokaqblzyvalrgnenxjxidlclcirinzckjqhadoquuvyurqyaensjeqestwtnqtkrzsnblqxnfazxnfvgeurytjxcsabxwvkjwmwcqknmtoztppfkdxvofzhgrcpsbopsaahryqrnuumzpsclwbryywkexadjvghhavrlavkhyalmmkidaulpbysyxhjarcskqydizxyhwowvjetjcrcqqbnimkzidufqfpzphopfwhglyledzhyggtswhhdwtolxhigoahwhnuynplvpfcctp...

result:

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

Test #193:

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

input:

1934
uomnzfshftvzomqrisjphgafjzymsoalysejkdfpblyofzwcejbxabhderobokqkzclttvlxmfbwqpiqrqkieasxarxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwfccrxmqksdryvtiqhhwrgffjdwf...

output:

uvsbyexebheehiskosnzjafjzermnkywpfjzzzkudthyjazzhxpsqrqoepxcpfwpivuycazibxqcmvfftzfpuyfumnsvpcsubqymkdlcpsrogzthjkmgqhudacjxuftsabxugkievlncqgboxfjxactozlpigwhguivictqvwfkiieoxrvnqmmwgnqryvambkprgqmulcobwzcqiacttrunnqzsqepsipwnldtftkbutqwrqbzemrmoqpliwibgfwgnnrzbcnrfpqfkqmzliuhvbrxkyxrkhbfuujbwrxgrg...

result:

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

Test #194:

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

input:

1912
mxhviqfqagdyjghwxpentmntyhdgtycbyhhwewfunygnndrtepeibhafbbzkaxllqujkuoptosvnujukqwuckzhwyfisjwpumeoluzjdgchypyfioptfcuvmutlzewvrcvlqthysxydqvuiupqgbmthqxzclfmbwcxteeceucxjcwmxbcttpgxjolrmdfwwdpfjwrknqjspyyjojsdjonhokiiomwvuazuvskcncwvgflaztrmmgwlnirsepzijhejwmtedfssimgzdxgqyrdjoimrtgikxcgfynqfh...

output:

mlptbbpksnusfpgbzkxhfgwnbtgncfyhvtjsnmyhbnijetkecttslhehzopsnbtzfqtgjcjrdwbktajilncirxioxsfkxeygyihjwymkhtpwrnqicfbrkddavmsvvxncvfknaykuvzsxvlckcfsjivhupwjfwkwlkmuwfmhkhgdtfzyyuiomiuwtwgfmqqrqxtfaifpnkxkpzycptjjpxeapemapwvqjzcjpgqtpowrcghtytqdtpomsddtipkqwufymkinolexqffvjdjhxlqewxdszexrisznbbiwtxrpg...

result:

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

Test #195:

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

input:

1925
idwmgiozfsljjcwybumhncazlivzheqfwrpfpsgoupxwypxycrgocgzsipkhiqtfnmyrhefvutbzvwxyjzhwzyjxwcqfbxacbfyccjofmeifxpxlzwycwpjyegykjwysynxhccweqygbmczvudhicaefdfaeacybfgtfncqvasninfsciibhrpeoerjlycdbpoximsphtyevpbnvfpuibfzbwoxljwyhleoagvvjxmhmvfdexrdhzclaasdplnhrjnavvzfcmjmzknoxmkfamdhxnqdszvodzgpufxx...

output:

irjypbiqlzhmlouhhvilhnchplxnchtfdydpzxdvqvkneenrljecgdltgkmtaocykobxbpmnigfajjtszuogobxlrfvkxiuchrgpnlifohkrmamernmxvnaipndesumvvesxnroxzpniajxlsxljxznjkrpfnhismymwjzclfzfvdkeqjmzjedyaomfffhszosmvuzfifnsqtjtygbeyhtzwynclysizzxyuqfxlxkosukwxayqsrfbbbxasvevvvyizvhssypnhvrbistxhmmwvbflkalgvaiymogeantlz...

result:

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

Test #196:

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

input:

1903
berzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqwkisnjnxletnbjidagbokkxgwivrrhbulcnnillkobzbyqxkgkcpvhrdioyrhjlkfaywmqthcrmnordsrwnpberzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqwkisnjnxletnbjidagbokkxgwivrrhbulcnnillkobzbyqxkgkcpvhrdioyrhjlkfaywmqthcrmnordsrwnpberzrojvkpryxzrojtjfxwqkukvogxwatdnzxqkdyqw...

output:

bgdzkayxayqekkuezzjtcaazoyufhaobzxdvenkuhawpmcrwnzrhegomcagdlhbkodsuisvxlavmrbimeieavdwutlmbsiqgwcdmdntqxnsxmdmygoadroasbzuvxzxjtomgemlmvbmroqhopqlucxcgapsnqmcwgaelszazjghdcnhdtdukxeyxzbkitotdpwbpxqfhkwrauuzjybmhscgijzenvtjctfarxapoaynfmnggngbsrtszyvofahdhkimalftfkscorsuhoylmzlkcgvhhoyjxdskqcjowouzj...

result:

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

Test #197:

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

input:

1982
ngrbepedrqykbfylngypdzwtsmaeouerhyfzzieuirrtxzerjvyttrjfhitheodiczzdjvqrfyojjsaajdamrdwcpvthpalevkbhlctlyrmazjbyjldtvpozwkmyvwekinozashnutkiqaewtacpfuwedqlpzgytazbzoamqvwfhurluxeksnwwkwfefrdglvryngrbepedrqykbfylngypdzwtsmaeouerhyfzzieuirrtxzerjvyttrjfhitheodiczzdjvqrfyojjsaajdamrdwcpvthpalevkbh...

output:

nyyglqfhzmxzowebfnhvrmiomfvysaufrpscwryuwxmehmtjndjoowvfkdebvdaarzzewrwkjiialvbfeyrimkojykdritrfnybdnoslxndktjqefaxauqqacskdyrmhhqysevfwxgbpdlemrurgabdzatwvqxdozabesxmmdvxohcejfiydrapklerqwgjmtcdctecbhftugmduhuearenjadilgnhlvwkvcdsbbbmensqslrgqxsjttazbwuqfwnfphndnomjcofpkpxcocwfmkovtxyhyuzffoggdasop...

result:

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

Test #198:

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

input:

1927
dldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillidldcwubxnaillid...

output:

dvenkvuglqnmwvopgezwfqvrqxvdxikldxtpeewsvhxaxxndwydgdvorsmjyiktegkkzzzmfgkotwfihmcemolykaugrplnxvymsbosplhpxodainisarhrtjixyeysnqaijaqklpljoccpzkbcmivbxdzlrdeyxzilbbtsimxzxhqtxdxotngscitzcyhonfdytbpqhxenkgfknowbahtwtnxhsgfegvymhgasdenvhoyduypbfwchdqksbiurlgpggijcqjoqqgqecuvyfhbeeowgzernwcoysyyijgijt...

result:

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

Test #199:

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

input:

1973
wxxkuvibjhtzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzrylavxgrspeskpugkiaanpwucbowpfnuisrzitwrajibftzr...

output:

wtbwspjdstlcnjbndjzwxmfvudxniyfaddwkhicatdlykknvhbqjueqibtvepfgougxmhcepiusrqauxcpytqfefnticnqxrxbiymqxzahhysusrkwmkmkrwdkwyxcaoosmlbrjzazcpfzykfbcfjhraruxtttkhuakuhkuiemxsksmxxkvznjkxyaafnyditaspnmltanfrlimkgqektedonabyirhuzgjkiccvwofipucraseouvghafvlcqccjswewtppqubdzdkekoyxnslahpyzxgmgdweagssmutrn...

result:

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

Test #200:

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

input:

1950
xqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqvtcxqqajqv...

output:

xlrfwwmrlrmxfvbfwjguzqmgpaclksatvgyuyoqmjwxeinsjczbyzthwvfyjpwbryyxzkmrrbktixbrtbkkrfmgucvxvjrkhnofccpbibxnyggdowpxluvyhrjgbspnhwpwffwtbmagordlzxcsrgqngvpiwnhsqvnfuvjewrbwjrplhuxkvuawslblmfmddfojizrdnfcnueamkswkdsjyzjtjqitlukpdwzrgybjhlfrykkswrtyntujbarnwwfjkygilleuduqdbhzneoljzvyylwuhzeuancejhwpgcb...

result:

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

Test #201:

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

input:

1963
dklllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

dlqloulompqffzduykvwboyljtwpqlpvrntaqgpccdrroholkskrjbcdmckdgdpjqmcfuhrndomcczmmfsaoaoveebpdfggelsreiqpwnopsjdnwerdguumilgpmnlpctokzotpljlbqawhkfmzqhcbsmhmhyysffujjawbdezezxjspxtlybelzxvejcoueeiqqsaujygqpnjbpjcmwejmhvwphjdxfnfuskihsxrowypnqiqoocwjbijxawdowljxxegfjakbzyzgtqlxtvohcthhbnkurftjyqmqmbbrg...

result:

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

Test #202:

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

input:

1941
ammyoqvtkcdxzajfuyzwwodisdaafjlxaqsdfzomvshqvdpkckntkjvbdpzwwjuqswfpzaztmeeujavtkvdexlexzcsvttjxwevxmuymotwvkhnnhwrroybmjjmqzbnhnkqzsdcaqwhistlpoflooxjvatesjrywaosoygnvjjalubzbyypiekpmwgcgqshglonjqtdmqvrltdasmpajwmivhenvbgiqcxkuizdgszlmxwusxhoqssqyaeohihifjubmjmevnrfqanerbwbsitdrpltbnkeusetpqmi...

output:

aczeumtattqqjvpolkqmkrmybcqkzefsavnyseeuzytdbvbxjsjxciujcahjjhmalowpseyjdlsfgykoegbpzuhgnhddstvxgbmccqscrrjyoeucxgnyodphvlaityibxukawbvvbszstmasclbnqljpycxsoqalvmihsibejoyxhpojewvadvvfmyalilibnksjyahitsmboagoymapsfieznopmzmojwhgpzythfsqdoaodkiykellfczsxtzsjapezneihxuisxhikxvdhzrsnttjygttixwntrcyosoo...

result:

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

Test #203:

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

input:

1987
uplsxkegxjsfeocceclaatkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwovogtkesltdvcqisbbrxfklmgorptstbwzzyxxathckezamixcbolajnkbfjzmtlfynxwov...

output:

uatxckptagnzamdlvvgkfvyamyyedhksiyxizahewbwlnaucnfbzwgtugkisthggjcfivrvzuwyttzuzardvkxgflzacdqaprenloqqwzskejtlttlqhtvgdyyslquqnpmvmscolkqqlbyouodzynhgmuybnzwramhsqaqsfmbflmfesbyzebgbgnmapgxtucfuoguwegqolrdosbweeermkzczemxdshiwtxgdfzadpilrcjdrxueeookirjnrarkfzyzhvldfytkzprckruqqswutrdwqfvixfzvxrdbjc...

result:

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

Test #204:

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

input:

1932
kpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawcdccduckfykbsvxxxhcyayulykpawc...

output:

kiqyvbprfcxxjxtnpxotqnrkqhkrjxbfuwixodkvxrzxvazpldbhhhvpffcuwafecxzrouofqzgneewaprxokmnglplvmpqlvhnxvukfqvxgkixvrawdqziydpkdkbxyldamtybselwiwrladwliojsgrblcurepwxivujynllccirburdikqwmsplbrezzabraekvesfijhgmwfojgmruavzjszrqhpvmiiutiqgqkvgmnddsbsckbhvktfqjecwyvgnerczzgveyjtupnfjnogijoygxifitlzqkyamyvt...

result:

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

Test #205:

score: 0
Accepted
time: 17ms
memory: 15268kb

input:

1978
ibrvksykxrmidzuvothktdxgcjjihwwvbtykvjggzturcfowhwdrthrxxrganbkkbvoamvjqnzptzbqljbyookdalsmhhgwkgyqytfprltuucgughawpnvgfgvfdlchxevizkdpcmnjzrtgeaypwgnbojvemvnchmbstepjoqenctxjhkscmfhkizxpulvllbvumvvjadcbhrmccvfcpbzlnsjrsbiazsqnpbujuximyonmfxllgxyjjwtzxmoeyrfktmdyxujynoabrrpvareqgwseidjqldwnprzi...

output:

ivvheaxlghipinknsixgxitotolvcwkipohkqzoqggvinqxxaaqqrhtusxypvpozbkztxnzskmdxmlcjvdagiekcbnuuwisborhuvnmrwufmkpxspgxjleuidelexmwczqllebldkurdpogkpqlvqfzbnvhrwcergpesaxoxabsdxztqhtsugeklzeojrpfywsullhicjllzxemvdybjexxutedwkkslgqoixxvylehxkagrlnqjinsdvtwetthbljjurylbwqlcxjnszrocbujhtfcafmvenszpqveylfav...

result:

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

Test #206:

score: 0
Accepted
time: 17ms
memory: 15160kb

input:

1956
qhpojaaxsrvjxgepzgnndfabchsyhizdaejjgssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

output:

qblphkoysqocsipkcleisfsbfjgulptancnhwyfntrxzwgvyioxetoldyfjistbeibqojhmrkbtpouyphjwzsogwjkyyilkbefotxrrhrjpxeeefhcxipluglrfrkyzlrzkdbtywaunqvhgxlasxhpwodwbtijhvuvflisdgwyfglivzkdkxezqcvatkjcaklvzzwqjvobeaacptyzzkdleilevvptqpcqcciidwhronjksgfrobhwdkhagohhhehkfbinrsyzgevurkfltrvmjvvlqtkiubonjovlbhhopj...

result:

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

Test #207:

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

input:

1934
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

ycxdmstksvfpdqyewpagporlzpsssgdcdhhwffetsppxcfnnimcsessmsakmsrozyszzajektnzthrnyctuxwcsvrjuowgdlxzlvghpeuhwfklrbbiselqenrbqypkgnxqvigywkyhowyvpprwihcadllpevjmdiqcuflojvngvaujxfyneqhyxlukmdtwhcsiypgdomvtcfamlimvdeaqeodzxojzkhbypugigsfedxlzeyhjujyusegddubrocxeubtiinpquicfztnitqcdewabihuagqctxnqdquspmy...

result:

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

Test #208:

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

input:

1947
zfuzgoalmkpjiljzyyxleimlchowmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeakymwmwyeak...

output:

ztghcmvnysylofzyppnujxmvahcivnmllxpjhqwrnuyyuvxfvkkwjctdtzfrvhxaferveybpaeovfgwhwxwzihvpzyysrzumzyscsbxngfwvjigopvqeipmgskqahlgbmunbbhogpqylciwscgtslveqhjoiqilrfppwfzweyzdkhoojmsdhjlvojqwioclkxbqghahbzwifwyolchqzufmwwqjmwdjupvrrxaafyjvjbbhcntnhuersjmithhvzztlwafcxdejycidygogyicgmuyasnajgquxphlssaplh...

result:

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

Test #209:

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

input:

1925
kbcvwzkrmfqxqdxigjnctwgzibratvikfwzjvahiiuxicvjlpfgopmccvdcprifxjylzvcivawsveebrmyxorwizigduaijtdplanqbcwdnpnnwfynmnflgtngcktuyrjtcpgvrnrsiwxatdjaxdhonbdrppspsmxllkjwnwnlakvnsdyivegksoexlcvjxozsuzdmwrkymqocwncntvfkkinyrpeqikupqjqpaltyrrumagmgxfdekdyzpahqshyaehbbcpostrwjcijwjppwmrbghduxhqqvifyjq...

output:

kjiznqujbdmrndieonwkqkhnissykmhtiypsfezbyjnlbltlmyamcvrhtlbeaegzibljksbfvwahlhcwzncodwtvmopcfkapiwbqetlrfdsexxqisqbdmroilgckspvfexqboktjvkbgqjkxybhiphbyjlffvjeejlqlxcshhvxwavajjdzwwpdjyrwwdcbcvaeqzxcbhxkzcxnshwkztujryzuvkbhpakwzmngdwwqudnlyauqaucemkbjhqkdzlpaxtcjzxqlohrlpdxyvhwwndfrrltcevteixdowwuze...

result:

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

Test #210:

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

input:

1980
edbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbildxhlisqwpqiedbuixxfmwxjkkcptoxilrbdrlglisbsxmhzbbil...

output:

eunvchqtasbkkrmicjtbvajodreneednwkjcbuizjsxuasovdvkhkzxuasmwmawzbkxxyerqjkjpvxlvfuoibnoihiriqhhtlrandiwifdzdhxiexahdqwzqgbectuibdonjmsvmwlqdfxgamvujqdydgghbrwqclwsjmiikupfdlvhxsholathtogdsvzykegywvbehweahtlbxiuzcoqvzixjwoznhpdyxvvfhygguxxymrdqrxkesgtwpvtftqdnzuarjsiuoxegiklwctpegxdikdvliylzfcdarsczt...

result:

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

Test #211:

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

input:

1925
jzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderjepjrskkegozgysjdddmseeokhivucvodvcjoscooeodsfhgiugodurokwsnzjzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderjepjrskkegozgysjdddmseeokhivucvodvcjoscooeodsfhgiugodurokwsnzjzbafnxwqapuzspfouwaisjhslijynyvxvujaucydvouxgnhjokpvpderje...

output:

jqgkdlxhcbdjhaxsvfochugidymttfhxoydgjupxhpckainzgkermaioxopskdmfcgdwczmystsyunxynavmizbldclfwbxvmbslcykxgoriafmjmkgqpanlcajhxrglslxncjauzxbsrodwqtgnqnippksbqzxroyrmyswaolnpsejgwznhfgxvwkbjatozbeahiuqxykmdkhgkpsvrccnbflwhliqnjjdouhaoomhrlxiwyjnulfzvyikaulmnsffpybuodjuyiubmsnlbmkbjwfoheaixtbwxrctztmgz...

result:

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

Test #212:

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

input:

1903
bcbxtuagflljbltrrnlabsdtmobrsnckopotkawfjbtrzirnrmfnbmwqycpyutvtonhjpwnnsgwrzcguifdhgmlnayczaibucchwqlnadqdsisligzdsggnitswtdxjbaxstjjpliaenqgjfalorrtnvhufrfyzylrosfexmzeblknvhvkgaxdpxhxollftyfapoukhbyuqoqkkcsexqgjomyhdckjfpojblwbodtfkxagsosoxasafwglorzojwllqmruklvyzjwroxmrwqrfumaypqtdghjzpexgg...

output:

beodkedomissllxrdfrizwbznkipzsfdxszhgwwbntwwocficfieqyzkdrrayjqegypxiaoalpcjowbsjgmqgiolvkplqtcsmcoqhtgwetospcwwwizwvgfcoxjjbrpqbdalerhkqtgfcttbsrptvkanfgkhelcdumtrvjyugjcqytluxzxcofcaeoybmdaoyrrhagquwuqevphfvfhsrbttxltkgicznsspkmbgqpimxqnfjeoiygalbpujelwjdhdowhpqhuwoporuxhktqdjjelkbqtnsliyvdonrcowh...

result:

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

Test #213:

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

input:

1949
ildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvqeovjicijmhbtomxhlkyqgzdktjkiuildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvqeovjicijmhbtomxhlkyqgzdktjkiuildtfudxsrjagwxtgoswkpmwdefyysyrfjukmlhweqbyztjtpqscfmentqymtwiznxovmlnbslcvvvq...

output:

itstxdazjxcewggtcwjofndexqrmstufdubxqbznyrovaywpnsdffvsocsmbuobtrphkdsusyfjirvrkavjaatwabjaxxhobmccaivimhqnzsdjahmmdxtnxfvhimwpxkgbxegdsnasszmcgnqksqmuglpggbbrhpdnanqseljwneavtfoqezaqoktloqwkgvyuzrgfyuqbqsjihdhbwuelpgybsivefkelnbyvtyochxambycbsoueritrejhtugyygztfusuxahkhqzementukpvjpdaadhnispltwreer...

result:

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

Test #214:

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

input:

1995
zmetncscfwxjrpevcyssynhspcjtbhcmcnsdvcnhfsqotwluhlzctwgpbwyipufxbhilcczpstzebwqxezglzmrapxgwhdlbtzkgomqbnmtvcagddetpeldtfxcrktidubkknqwmlvkithbawstalsqxdganfnhjrmrrozirstrwwydxezhtihvuprlzufcbbeeeiwwhtyrxjtzmetncscfwxjrpevcyssynhspcjtbhcmcnsdvcnhfsqotwluhlzctwgpbwyipufxbhilcczpstzebwqxezglzmrap...

output:

zkwquizycmvnviykpikisohlseshhuzfgejxswccokthkbmldidfmjbxylrsvrzbnpksfxbtimnuhfvaebgqgvnjseazfvcvthzturorlhgkptozmbaaexunuhbztpnolehbrrfiurvehmwguwdrhuugntosasslmejexmmxaxyevrvduwcozsrgxkosbcjaigjlsddtgvdxirwenmzhrsiofugqyabonypcbhgpluwtjdoxmqamerwlewcqlzbougebgoelkymisnucyiezqsxnjdymkbjlszobtzgqiyeu...

result:

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

Test #215:

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

input:

1941
clyzzqwrgaoyjvwtpcwymecxdgnyonwxmqfotsqszoekqobospzzmzzybgudqqhgnrnrehbmylxbdwihopiftfkdhskvnwhqhrsxojwnkrzeabsprqslsrxeouonhzyhhntcihbltcqqgstyptiiowdeacprrvpwmgtjovjvmqxnyvhsqcxlurxclbbxyultrzxmcvxicapxqfzcgdldpypbcebetvcnyxkisbhqxlfgmzopsawoxvukgrcbqjltgqfajikzfmmimnjjurnzyyqnogjcibamxvlfiil...

output:

cwnmohrmmpvrbaubfxbclqzrwcqsjtsjrubjzodxjxqzyzkuvbbvyydggqllrclhrldqdddadbbslgqplkdfjpvzubctckfsnftfdqrsuhwsuxnnzudkhasembyocwaavwfcfdvgealtunhqmztxdfjkmvfsnuefzfahzwktjxytamxjtoqryebpkrrfmqytfscmcqfollurxhumfwatslnasctcbnohplprhmlnxznzinbafvzywyfmrviptuiyybzeibigrojetkeutlacxtvgfyqlzocdethtyxvctlxq...

result:

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

Test #216:

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

input:

1960
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

result:

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

Test #217:

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

input:

1905
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

output:

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...

result:

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

Test #218:

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

input:

1951
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

result:

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

Test #219:

score: 0
Accepted
time: 421ms
memory: 15336kb

input:

1997
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

output:

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...

result:

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

Test #220:

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

input:

1975
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

result:

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

Test #221:

score: 0
Accepted
time: 420ms
memory: 15424kb

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: 16ms
memory: 15176kb

input:

1954
cukfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfhfh...

output:

cfftxqimdoekzejotguftrmmeomptiamtglccxnbgplutudnymahrczptadsojverxshkbvavswejewxxqcoccusuyqsnvekyanybyxwwwovknsocuqxeqhqbztzslbdkjqiqkevtjydrnrepgqwmxxdyxdfimcgfeoaoihpjjbjyqkzlyxtcsloafyhkgwzffsgdkozegegqljtuwnzufbrvhxskqfgjdzyiqazkejoqbqrkolnibesgjnmyklwcxqtigvhsbtlmrdlvbssxpgcnbaefhackdnqlclswbfg...

result:

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

Test #223:

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

input:

2000
imryvligkijncctcobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobfkobf...

output:

ihdvvaplgtpoulhuzikvcaoyhifhpnnnuxfimiakyjymyjohncyqogdgqeuadatgjrcmgffqeafpxxcqzklacvqwjwezzpvzsduzqphglquvxqggymdhqreflyzymmlrwftczfqoiukqopetrcfnlzfkpygkamohylljvqczaccxolwclwrhppmpwllzpyztahjqnimqredggffexhxwpfdhvbxjbdighestbyvnuoalmxedehioobwjtkztyqklqyyoustjaoymbyvkbcyteffrnnhzqefecngqckjtkewm...

result:

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

Test #224:

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

input:

1945
yjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

yyciyyukcbahnxpgznhbehlntzvzwxejuzagvwufututynjnzexdosdlzifsaltoyickeaddmftoupurqrxjypxpxlavczubycbgcqqxvafoofoimtfsdzzctfgtleqbllgzvovxroprgqklxnqccwlrcxsokcryarrpydyttakthucnjnoxqaslmefcodjicwadzxeofgudtjksygowvldqcbyfjjryqmmhdgqqpyjfdpnryjvajjimxkrqaohercaaxowjruwnazjxvbpjtevkxoklfvnlzixzoayemgao...

result:

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

Test #225:

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

input:

1923
qwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorvmqwtiorv...

output:

qrsrxzctlusmkgwsjammcqmaldbjayryjizkothtpnqwnbjpqagnjijjfozyotyemyisdzkrcyyqwnskonphcueeqbztofpytzntqeybmeitfmxusdwxdfpfpottagocunwiwbupjhfiruxhzjtgpavovdsyzvysedupxoxxggoausacjogxammpnjjapqzakwzjzpudegrqvysmleypfgignthqqjigcwlmktwiptbjcgusmnzrlyctcxwqexfgowuvmnkjrasszwojtuzswuczvspxnvcqvmgwixrexrjc...

result:

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

Test #226:

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

input:

1969
xixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixixix...

output:

xfldqdoezslxbzhjcrfavyumxeguhqnqmpyilckdiaessnzjttqlhunoildytvpixckmrvnjfjcykukpheipfkewznowkoknbhtwahpxeskhqiethvvpfplsygwhcbguxicozskazmkbswjmgxnzrzyreturvfvkzupgjcygorylpkdengjpeqjuwhtpihyvlibvqxfynatoqatdwnsmiyljxkofccpheivxuwnhowpmighilltmtskxljczzybphhueutjnwfuxadmczeyrkgznqfpbzacnafzugmivisrx...

result:

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

Test #227:

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

input:

1914
qwnmufabtnomocccrrsqzxrwgfsxtqptchddzeokdzvibxlcmlaecoqxjesnxxzeeslaiuelclfuhiigxmyztrjzmcfjrkhportxxdtrxdbfbycgkjsiastbwcoygnmpsjinvocxvancjedctspgddhvdkkvvdyananwrbmahrzmdfrpupvygleixbsyweecqrtbvlfcjkhyughvteqwfnvokzcmcwzbqwfhqxytqwxbsbctapnjyqvrgcwqsfvdqwnmufabtnomocccrrsqzxrwgfsxtqptchddzeo...

output:

qrqnfxdoncmalkylbmpyrwzgjblrhavqhdsfhpwvxciukprudijkcuhnuefarudrcrhfdbxfezffdoyiqkpsoeveshfeytjotshngknxmovawjbpyssczzfykculvxnwnqfbxwynexonomohltlnvdfdkmmkiptqxbmosjsozkbsoyvzroknfqtvltountllkgvctbhmvqbhmvsphkcysyzgdtisntgwbibxsobqgrhysjvwjxmqeuldyqfjeavzkjfjmhimvxczejfjiknnlgrujwzpyeubvmganywuhumf...

result:

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

Test #228:

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

input:

1960
enofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupusktekabhqoybhvsvucmkudnhgklhpmlnqhimtffcloywttklkiiftuvtmepjcxwjhijlklyhoifuzkfjivoenofvgtupuskteka...

output:

ezkrvvtxvckaihhzbgmxphetlhpskrghmvdplapvyxwraaubsuphygztrzhmiuzflxixnnbjcaqtdfuhrlsfnuyfhtgnqvquhphvasdvyhmezqkpqzbqqkebqwcqoeomzaaenbjcuuqmopiezwhcnlqtetuqezvsuyxanchzlmnwlcbpeblvqfybvsgyaqxhwujbixcqavpenzmuvnryycwtpdabtehibwigswvwdkiyckcthnsgysxqigcslsjnabqqpfqhwtcdyishsucpwlbbdjavsiekbbjvmwbdmtjp...

result:

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

Test #229:

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

input:

1938
yustkcpaqvzaygkwglcrjheixlybbfcntnetvoxfonxdhavollgvlwksjrfxnmswfjzsuxlmviiaxnjfbwjfkpjcyqogyscfircbskbcvwwslgzbgchzorvzwrmrwdxowggjckagahdmbmqyzqmsdzmzskrizlwdlunyzamhjnewfnswdmiwvnsazhkvfjhpfwheyxtdvbyxlnbntinqhfpjcsudamprolvenqbmypezlibtfczxweukrwisphgptrcwocgplhqfvqnegoiyustkcpaqvzaygkwglcr...

output:

ysuvdbcrnwhjctuzvxkolnohabghiblqavmrxgawvdzmgnclclnblbyjqtglnobpzcwvskyyavpzsesdamsnaayhswhwdsyaylnasptcusvaaprmicpdscawfapvkoqqmypylnpjhhujosoflncrozcckuqmknvtvfjjdmmhfaiuomabsthrsrwjnqydxaytwannokdhvfgnsosvggtjzhxuleedzoqmftvqsovyyopughwtifjeliwihcygennziagfdkxapbrlgkupytjeeoavwyaumwkmyugoqfhgzbie...

result:

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

Test #230:

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

input:

1916
pnxabayqofozddmnnblepkeaqhxpuzknmowdbcefwmxsdohzsjiwlnhfsolfhubbxfpilgwkpjrusfyrxvdeckgkhlfeihbmmsnqxacznjebloxvaxdkfjqxlbpaovweufgkmymbwcfemvnjltzpercvsgouuzjtjksazhcciyycnrnboprxprjdmeiftqkkccoujlekuogybjxgrlqdwttydtggkaxqjfsgrguwnrmruowsttrwcmsqswxpayovahkdozhizdlqrtfafviyxuxgllxwpcirwqcsekv...

output:

pcbhciyvdcnevanosjzadkfbzxzarfpgbmnigotgkaznbouksqzezgqonbnmznfjjohiqppfsorsmudxcvnfdjemrposhdejgulpwgakfheykpelcfhcvahdwuqywaygfcdzafjrrlvkseeeezshhoprcgknmvkwyfyxmmjeocnlgdtlryoxurawmeyxaudwaejevipthhhoaubijhmdlzegpxzfbpfqwvlznyhnobdgysliblxkgeyigjzitkhdgnsvcmpkburhuuhzdrodyrjbkahzkloxldnbgatrjrao...

result:

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

Test #231:

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

input:

1964
llmrgjwoldyydwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwcwc...

output:

loukfkyqajqdukrlrzxakeceybmepbzemxiqbflpcmeudofqcqgzajvzkfoiqzqccjxvhtamdypwmkhfpebctqhacgovajivcrnhzwxmaoczfxrpmyfyqppsgbpjgmdbqokfxotblzlbzponnkwlhmlkzjeblkqjtprlholrmfhtcccmrgncqqhjkjepoviatepvckluynbxnmkklphykedpmkmyywhrraatvglgygemmwccvgnjarcxrcovkrarqprfsfdgooitrkddjwxdupxuvlkcnsvmukgbsfncbkcn...

result:

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

Test #232:

score: 0
Accepted
time: 17ms
memory: 15148kb

input:

1942
shxhcdgsglgnnbgypfiazskywnhnleykfigyifrawnrahbvhhppdbdljzshsettsephpgbhmifrrpppsuxmfudwxmoqfakiwfockzgdkodkhulpnsnpgijrsmlzqroyifweproqsamjqgclpbyeesazkrhrszletngzzuwtpbszqvnxpqqhujkepdkevtghvdsbozmpzgltobjcfryucruzibienwifoxrvhxvnvcocxhuvwbmymnngtltbaopdrnbexcwobodifniyrvpvxnnszhgmevhpjheplypf...

output:

smzbzbqgrjjszlvmvojfkkvalmtyolbtgiscarbbzsbhpzcmrxaokkihihgxqyxhacmuzetlzicmoxuzqedhatusbcetielsogpzlswvdlcjjqdoqdtrgzrwuaqyzhpwezcixeqxrdoyshtopxknortcorxnysluglmcjlhvrfetjlcbsbnvgbethouvvvoqupzkmwhogpkthrdbjppvkeplnrsccjighrlytaehrmrwisczqytigmwlkjfwmibbidziawpyucobyvrplxkngwyenuwybxzwirhvapwnwytu...

result:

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

Test #233:

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

input:

1988
ywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrguxewlkmgfyyikjpixavfmjujlunujhfdlbfgymhavlkryjmpfglinpqghdacwkomknovihxdympbdbkznlzemypgjqywzcrgu...

output:

yvpozxodqgyjqtasbwlsautiestgqjvgstznpkiobdmatqwukmqtqqgenevlbjfdvslmzfegyaskcazcefxzsbtutbgmfwyfaoknpwjunpazlellpbuynhgzepxyzgnerhypeurpuupibezrzikzqwjzwaahwfxwvlpstkimrknhtuyqwpllkbpvabbxnqwsptxpvgiewtaqoljdwksmvzrhqduamtwrbgymhjegujlzryqhdhpwiazagwrsatuwiinddzsfhgcrmrtbdqeleiackareepoundneibcofmve...

result:

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

Test #234:

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

input:

1933
gkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbidmgkkzbid...

output:

glztfiikconeefsflpohwygvhvpgavdtuatxdtzikkvphuathehfnnkkiaiamjrzbgpmkxrpwrtaeqhzxlajucvrmvxzzwxjmhwxtyocfkzxgsvmehfvwlsefvtegbivdjlbgctsnexxcgkzrlklmznrnowrqhaxbtmakhcljwflyectamovggohjxvrakhayjqvimdtlagzwgtoetmczfgoopotumlizilzllmypwfkxifmtmncdxbjgzvnheejedpaeklgrnjbhwnbjmmnvpuqocymbnkokfabkugskhpk...

result:

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

Test #235:

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

input:

1911
blwfhzceqljpyhpmtencwhezdqnsfhreujxftnpabfbjutpkyqzkkqiffmdxkipockpxurltvqhmtkeikedolbanafnxacwljkzewlolqsmsgggrqlxmcjwprusrrsbagjoecfrmfmmcwdpcbmmeoqqjztxgrzcrwmndxbpzvczemztnkoxuxcmoourjgzkpjhiwkszdegjzumobytxjbwisdqlwqfrpscyfibuzrwdmeboefbeduncblzgyfgfvhmpjcxhmqehsahfsxjrjrravbvuknqmmojtelfz...

output:

bylqxfvhfnlutzoiimnizkjorcxqrpgkmttkcznactlvpwriorzbmdfhvnrjujuaaoyfgdjfztrzdnufcoxwxujeioccblspahkkvqsepnyytdfwskhgmdwjgstegnoijbxxhwxirepnienzbxoznkgpeuiemftgyunkadqvpjvccdaokurqqamuyzjmvlerozlcamxjisodrkansvzywlbysiovgvuhzxdqgeomzzcfmhgrouumpfgfhpcbbigcakjrudnwbjuffzucujufcopmhmtllkmrypstivbwfzgk...

result:

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

Test #236:

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

input:

1957
bhsffrulneechcqyqywazcmyrcjygglytnpmcseiacaovrfmvlthdgibbhxkibwamifjzzpptxxnoczhmotizewpdnmvynqanzaxnrrgcvdyqnbscyymvlainadeoggaqbaqbgkzlyunripuvwfmduqeohuwzpgceemetscxbzygfnzdluiglhhwlfpznbqliipyqhaxpfaoksbkwstvbhfjaqzmaoadhpjsxaakwgdamonyydwmjntfvjfpvdabttdwcpegbjgemynymhugnlpsgsjnkmakgtxdcxx...

output:

bunehfuqpyadhzqneqgnopmnnhthvkxsfkvakjbsufarvfkgllkpqfjhlvypctrnzzowpsdyhnqqunyvtjrfmbwdolaninxfvbjsuxrblywmmfevbhyrxorhmhuhcgtsmvxysbgcayiafrolzxynxzwghfamvatnqcrxkomwdotwvfmxesuxjaruwgkuefvaawmvsotbmddeusqqxkuivzkwggppkmjplitegfxwawwwjkmoitpsfsdntdxlqgtpntborvyeszgiunqlxflpquitkvbsrpeatsfxjfoiqxro...

result:

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

Test #237:

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

input:

1902
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

tabgizpcmokqfoomwvxitgvzbvlxqafrtdvghhakglawovorvhtpukyninpmlfaancrvpjooeljezsvplnxzxqvrqoovwfndfrwnjubhhrytbxweoitdmpasbkhwdssqqylwvpenhbjddklfnkwbpnfddrkbtuanepdphzijiwqgtglkrzfkjieznlbskwfmbtbewfjshhyixryqcsjbaupisozvecfgbujboqapfqvpkbkezxphfburymwsqvvvbaumieaproigiznzqeuduogamrasdtzkfogbjopdxapr...

result:

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

Test #238:

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

input:

1948
ifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxouifxou...

output:

itgxfetuxxwocurnmlehhmfesyuqiviyftmgmckjzbvgzijkjndizhmdyacbezvlnzitxhhpkmehtgnhnbuhiwdhmiflmsizvwoufurcgnfzajrzfqnixrhrwrkwnsxvpgbadrmxqkmyftsmixdfbdzyjocsmvvpsbzlehxxsyflbessqjqxviwucztluxvozmskmkgknlclyqqysbyyjbztigxihupodrcsbtzswqpswfepftpdrrkqtybveemuaevijkwsnomcphelwyrlngiaemdjsnpdsatprblbdqqq...

result:

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

Test #239:

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

input:

1926
vccpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqvxcpsqv...

output:

vhihyayxyposwajnbjexuodwqmstqdxhjnpzvwyutjxauztfjyhlsepvoacevbenaznvwofydbcarntwyindqxfsbeblanwfgddozwfkwrewlzvcduojmldnrgpntpgvihwrqduvtaovkjlylwkccmtflibaqmdymmhwdcjlhpcbepjjxazgslkjxdbovztqvidpiiblfykofyeiegsdhypumvhngqgfflzqrcoiwuztpgqxfaffwgukmeikhxmhvqsrcmmdyvbgkrwtdmsqloswcavtutmahdrbitfonapz...

result:

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

Test #240:

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

input:

1972
xumxuigkuxbcnhgbdlmjhgxhwcayepkaxofooivjmuksrwrxsowfczdzwcottkeumswxjcrxvcdvqywdxrfurdtbmpuselliovlxskupzbfegmzuigygohrqnstklnjyolrzieapaznkioqqbhbhwfonpemfnayqkycffvuomohzhmicwsrwpqbtywhvguyfjiwslmjetccjxqsfmtspwmyjbvzvaafmqzdufeddrkjwbyxxjucsohdrhsknalxztdlyadhelhmfpfqswcgdatawmgnjkwebjcpodjo...

output:

xpzdfbckwapsqiiwhydtzhgsahcsfstworustjmmulundpvkhzjzqwjnavabbwrrfweesyqalgspygtfhckpozmijycrizmezgkvhlgbxdxnzhtdrjozkwmtmwiadajijcslnrojeusvxusavilhfpyymovaxvpbgtrcsirjhcficqgzzwjlaqrglqtqpkgubpmufrgvnfwsoaobfvypoecisoiknwltaohbfbijmplrjfprmndfrxlzndjpusbhyacgwkmashtepljyenobahobpjawjqfjbylmrxqwhynr...

result:

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

Test #241:

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

input:

1916
lsmgtjvhvpiixxggjecwyezelijayelgyxjeccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

output:

lryruhasehcgvxtgzywehktoxtvdxpglypwfmcldeohcddnmudxytattjzvcluxtvbroopwjihdqaodaxvbtvivkvilajktfvjpbaetjdjksakfwllhqhzsvxwzadmwnggllmsxakiwoihnkfzgydxpcipdwaditlikxxsgesdcnixtebswgxtmzguwokmjhyioinkmnrybdwaguwfsaoxruwscthombzzyxsqnbemeqoxmwacnlubadrvvazucbfztfalfgaolwkwdwblrdlimktivzyvxuwpevznbwgypv...

result:

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

Test #242:

score: 0
Accepted
time: 17ms
memory: 15404kb

input:

1995
fgosjckhofdzeihoxwlknxvcfgfdgbbfwlyehsnecbralviqxvmnipwlinfrmnzfnpwmnzuczspaxvtkbaapqfyenhonhdqwpvrltebtnerkvvypgcqrgwirupfqfzknizjhbytcsavhrksmhofrqoqglslylebxgtymbsyhsnbvlwvgctqwypvemmgmqgkfczavvmwpxbzhkbvbqukbjatcnrstuzgodoqndhshtqjeilzkgqemhlusujjktckgjpvmjbgmhivaokgrdaxcflxpxvzjrqfufoyjpyo...

output:

ftgzkybatthjkpqntmcimghojnclqkrpnfulafbanfqxkheabnxmvvkxplqyvbplowcnruasuvycwlmmiphwbvbjvembalyeuedxqwsrsgprxyahdqslakqlnuorcyjwkhgibadzxybqnhuxopjrkntnkxfiqpvoawilhjsqrzmbrzhjrwrfthcnkqeougibshuavvxljxdxqlfwqihooxwwvdklxgrlfoabynushguhisumbpmsxytiihkbonomvwlhowljyxmtmcuvfkbjksdrtwteovyucvibtziveqwt...

result:

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

Test #243:

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

input:

1907
oxndkghoeywkpzflbbowuslvsblatfyntbrtsfsexermjtxlfkysealqnaducodhvuaqyyhugjhzwjhygobbwkhrngcopugbrnahkikryrsqykopjkmcwsthnanxvrjdsqzgnkgofsnkokrescfahgujdcnovihjysibfzftvrateypzytfwnhjfajvtynzupyxtvkqyadbijcuxwbnlouenuhbbyimtogagbfcmowxxjsxbfymwyjvwojphvgprmuurmwgjhhuoocbspbbthozewazyvcbfwflrpca...

output:

oxbiurxlwuiniddbdxpvvshbhuebqaukeiyqccslfntskkgiwgkgabqzfsaffxczhorbmgbqenhvbtwuurbodzmcjoqzbavcdozfryuiidxbxjlhhawpmxbbcafnkabieokwtktcovoqeedzflyadtvhtlhtkleuolgdwkwsxtfgeuimksbbmnynlirbcxqvlgjmilleykbgtfzjqwgezaukcsjxbpkhbandifahzhrlwkwnqpzlqqvoespidzkjghfhlwtqgnmpfouunhtutcvcomekkfnnlyybhzstlzzv...

result:

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

Test #244:

score: 0
Accepted
time: 17ms
memory: 15400kb

input:

1986
fnbtrumnltjxntbmazvbjbtjznnueykcsafjfvyteucvfdvqdjgxwnocoevlyxorjdxumcjcunpmwdxcvtisfaxcfaubzkntvllkcbtcvyqxnwpanylwhkevaeiahktkxbiwklfjhihrhhcydkngairtfhmkcvbinxqnffyphgbgdjbydfvyhlhngsoewoesncjjsfrstweutkerhbfusjarnnsdadavcquefxajesuhwcbymcwnbxwjuotdmcdpbnwlyupcvqutbqosepexhlcqmsdfqlpqeqfsfhp...

output:

fpuntwnzpnkzxufnhmjsbbgaewuquinncfknqhhjlruorvxbqwwfudokhcfhroowbumhdlmcfxakccfguhymfuhhvpxbqjsqqzenabszxbjcfnwnacgehqxwcwclelcfgrxyuxcfardnkecqqfcwodfgrjxzghfznzirpprvqipxgbpbzvrvqfwfzwefzuvlcrxkxrzfcjuptcrdmnctfwmfqftseywrnudjdaghuseiwcuglrzifevsjxozqmxdehkhzaczrbhhjpuuooyfhcigqbpvkeanxdoqiyiuxqkm...

result:

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

Test #245:

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

input:

1964
pbugtbawdjqcuzkucjrjwrbiyahvlmbhnjvosxfxfytsydkovbwihjbdjcbmxdsmeclmhtnbyanjtayydzqpqqzvanzfhxcntnpycwvfkohrmhyquuzbpzisnnpepzxsipxvaqyncbnyzlddhhzolgunnmgyxglpifcvsshloprdzjtiywzcaxphpwdhyzfzaynykojkzbosqipkzzrwbdrkfvaxzdqwyyqcokucfsrckxgfulowvjmlbiqulmkobkpuvtxpfzqxyiekuihwsngdtowsflcgdskbncd...

output:

pulldhewtkfzeijqfnapxesizyznzkatfkyligmweoxinfykjlnqprvdwhudurvgoatbvcwohzslqblrnyuaxpdjmphtfkdcpoivwkxznugverzebaanqxtqraanuagrmqgxymfvezcbkhyswubdbmgtaokwepqhmozfoxalficzdnbwmhzuccofbkrpyuqlldexgtqjzmwzwqhlxxlizbjvqabqvsahzzdrctnofognbrpcnknriclucwzziayamrstxzhihqdclcgiasphykcsltlgkrurasxdtxqixaml...

result:

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

Test #246:

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

input:

1909
mwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcwurqmmmwuranqgkeaewwjeybpoftevqmcrarjclgcnjxprghcjhpgapsrqivoxprclorcunaagcw...

output:

mzbhhtxtwiscanwpqynqwnjypiueyhewgjcykvgwaadazeahpvaklphbgaorxurvuvecyvbppbhlifackehnxnwbswclyofbhsqvjtyaegbtvrdhavaebiwhjxlqcegprsvuqngvpvkgicxnxjbzsaghrroqoxubchvdafvdwmsogxfdlcbzcrhpckjzkimeuxkybvqmdywtsdwcgztiyexxsogddjojrnudtngcpthxfootcvpwuspikbowwgyhfertcoaoqvwgsragphorebdfilimkmqjkkcoemwfcwju...

result:

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

Test #247:

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

input:

1909
piafcywmcybkcctyhdsvkyljupcpuabsqednffhbomvremqffbcwfetzvvbdkyffqizldvdafooorphwbbufrgchmnksdqrkvzljussdskwrridexrwzgxymqjiryieashjoqdqyakkpfksgbzttkxseicogmkplqwvregdtelceqmjiifgzpeuzijskeasetcfglpwhlfbwosnrpmwvnmcmfvnunviiqxncbqrkhlklfbwqmdmtxaboexbcddfhffakxyjfienefsejznvwkcxftsrbkdjejfxcikf...

output:

pcdaehccdaaasbiyksdmaysbgamskikmazoxqfofauaafdevcaerkmcipajhglkxatnhnajzvgfrlwlqfatzzarllhwfsoaaftuaspavysqjuidjhzcbqgsthxbxcavxfhhizqzcjbfnszzorrokqrpktwpecrjetaseaapotfnidxanalkauacpamaaalarticuafferazaaaaqdzfkbagkljuhjkraqsraqlmhlaatfaatfeaqzubjamzelxuhrezfefibbignfaeswatftafaaayjarayajasvvnuwzzi...

result:

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

Test #248:

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

input:

1955
nubrnwjpijzmzjxgjgsuxvvaavzuryajifvrmmyweeiqelovetwajzdnxryahwbmerhvpqwqmplvncezohwyvciipzchulvwqpxqkcafrpdhyvasndryeekafpoojiblmewvflkyatpgcudlorlfzdpjxornxwadhglrgsiokfatfnqthnqwisomvmrmpegjjbybixdxiqgjextyuikpbskehbsngbwuykeixudyvsvweqkauqzmjpamdssvdoijfetsmggdvjvfbcavsuolqwinzqpofuwauumztfq...

output:

nwoveerskuzgmvwbgzuhtdcaahxixipjevramlnavgvgphmqglnodjylcmtlblyebvbbhlythoqzkuctngzfqlounldkowlaooztwdypuzwehvgdcrbssbgogsppsfkagzonzhvlssipmqijcppdniwcbwlbrwnoiuoneomovvpzvuqsuccglywvwwpyyoiaglxnptawedakvfcoipkmtdqbxbvsusvaijkgsdfejdwinhqsqzankfisimojrugmviqzgwdheoojlvppxyutgzcbxhjhjsevwjbdxdkqdlve...

result:

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

Test #249:

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

input:

1933
mwcfttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

mzaluxdvwvmctlhtfqzzjayxaidpzzvekxolkqzccxycstvrbmrwtwyybkgzynacegakdvqiuklaehobmempcxzfuetyidwibbuqczfqufapfyatufafgaepivawflyoblaphuwfjutypsvwnbwerdxlpmlgvtitwayqhaipkywtjazrlzjsunitkcbqxelgqoxgwayelrgyefhmbrzklameqkpuywiajhrjuexxbsndbvnjoehymanzbkrzpewlgtedgrsdvpbvurcfgqjgphvgcuixwkaaefaxinnhcjep...

result:

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

Test #250:

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

input:

1946
pcratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwratqwrat...

output:

prohaplyziyjucbeddqvotzbguemndbkdabdnmmxhrdnqzllaexogxnxybdqisyiacsfxvtfszsogpiqnldlfenfhwzoaatuboblgkpzctpqymonjddertglwouqvtvzwlamkzcahmxcmylweyxhvhrfbbpdthhuxujtwcnallwcsysgubrudytdlegufbvjquckkmfoavzknovyymwpfpylvmaubhcndcahovfdpapsppvccuqrbunxsugqtqifoxzazcsbcugpqjzqqshudrcbkgrjjcezyvfthytqttky...

result:

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

Test #251:

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

input:

1924
losceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosceloscelosce...

output:

ldacidawateieeotabqlhusaijlexazrxtaammjmdedvppuphvblzamglfaeabukiyvrywmitxepsrclyaecgoaqjaagwhnxchjnaxzcxahokfpahicuxlfdjcjuyseiqyauhuhasiaaaayhhyurujbceiaaahabkolmnxnoavytsaespaopufasaatukhimzsiaurircxqzijtijgqxvpaessezaaabrcrowyyqavalobaaqkhbabkstzyjmaxtggtoqodqwcmlansvkmxhvaltrriagayuabljamtzpmzg...

result:

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

Test #252:

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

input:

1902
?
xftagkapqzpkrcycbrcmionwpwhqwbvxsiluzotauabfipfhdjzuwjwquvcbqzjayegbkqtcfsbhrclvfugkysunxurcyalgeoqtlxxnvpcjayhgfgclcfepixzwezguzuodvtbyjqpciagesyjssgvuzaycehthefuprevlmfwqeqewzzcolroeaohnwmkzybxsukswjvpoawogyhbmgdsfrseruuoveeticwmxczmpeoakjvhwbxcdehceodayasntqkjojdkkbjdhjjdzfgqofouwsuseufcwh...

output:

axkogkiqdwivgulkiychkmkuojiiqxawganyvclenmxjukdlyujcydydwdzrpxnquhffkjjfqqypwmstqyqffckiakkjzmoifivihuufzjmtaeatjrylgvobkifhjrsflwgfxgqcawbbjrsvldhkgwqgccccemhlscrnzbxgwrqufrjgeiyonjyblyszwgdgafrbjlpujaiqsovfomgnhobkxuwbyhlzfcuscmtpdstxkrhaxjxrakkvtqxwztpeahptepyznwamthkskxqmeygxwombblbiudekrxmhzwie...

result:

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

Test #253:

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

input:

1949
oojoifrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfctgiboqbxizvuvvnhbaoadpcpqhakpbmrcepfrmavlwlwfzggkytdupwexhwzqkwmezfmcheqlforgurfct...

output:

ojivrxmypjcaztfzbjcsuzemngvxhfscmsqegrxpuedyumsksdzyckeravtvxlspmcccabszuoespugkqngdfgyyvyaesmeammpqeglroekukcqwopvjvbukoxrnekincqnxxrgkmlnuagveudptzocpnejteqkpxmgbwfrecnrymmxwcvdhykpnbrotawbxiqwswzqdnxlawzvlkxfvkueiuwqayazbnukxcmcolcninchhvfsutszpcdnyrhidazffeptfacmbacngsrljezhtdgaxhtcqxeaqfndohlan...

result:

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

Test #254:

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

input:

1995
vfixyzkcbspzkzrhkazjcapcdoawulpvikdbewxvftgejajufwyhterggkdjmydfbgkadrpzxhyyhjtcvaafngcysrefklcojmrpmscpkmgwvmatxpitaiowijkhdpxuzoyvwrnosfmrijhtgglqnwsmgpxlxteseenkjbosyqnbcmxyzmfhikduvepusltqvtudcwjzgnsrgvoledzvercmujlvjuvfixyzkcbspzkzrhkazjcapcdoawulpvikdbewxvftgejajufwyhterggkdjmydfbgkadrpzx...

output:

vfbdqawanmuraddhgghvlgtaslopbcxgvezrpyfmqhpyvihqtidpzzaiaryvmnqatltvoczdmanypmnoxubasveuvxakzzbhlhffauytvnizthpnhhgjxyccrhjboppcnhgkdvfitpkcjtjgmpqkknzzzwhalouhzisvblclsqgcixkiosfmyetrhfcfleacqmgnjekratxhcldbfxsixrjksupanbwgtohoaoxvxemewluxncqfaqmlqosxfuudxfljsltusvrerhrdqwrqywdclsovabgftgnjlaravnkw...

result:

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

Test #255:

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

input:

1940
zhkqmaphepaagdqnvgdridddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

zkhkrbflmsenaaufajabklayvvpjwafarhkgsmzeusxfjopiarooysmzdabhfnrxhppkkjduxapvkwpqwhtxafqmzitzwguirjwamyuhsuajjpkaafaagxwyaweaudeanaaqjzamvzaxtmymjlkobcabktiktxwonducvajdbqgpviaukkqnagsdsazgiadzsapcrpqyfaarkczfoaelaubdezsxatbhabicxxrelyofjjzyvblkamabuqyzraqawsityodzqkrodzgqcbvnuqjbsxmpqqvqmteraedxrjew...

result:

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

Test #256:

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

input:

1956
dvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvdvd...

output:

dmwxtjsgoeaaxvctfjmyuemwvnnrkgojaziqtkbffllqgtyfanwxjnqikunkocbqiurmilpbfawvogelscumteixgsjlesgcwudiqemqafnznlnzydfwjgjkelhdqexppyqegtwujjxqdmlokvswfxtuiihkixkkcsbfyznuvdvjslesjvgwdntvuaiyuizlikjrqlfzhadouxkpscxcewlnwnxgjpijrfqfrpifqkwceqltqhyapcehfjahzecqcwpxmdxfdqmveeicdecygbpxwmerqcfquromnkhxrfge...

result:

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

Test #257:

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

input:

1957
dxpwkruxzbkxyssduwygymqvswcpsewocshohwowzylrcynyedcumtlwwddvzmltxxbzgfaetxursdqbfjgmcgubnsoltepgaujqolvnwtvvkchwsjvhayctbizxqjsxxdewomrvtdoctfhdgxuqhetdupazzztvjrkvbrkaovedonpftoteruzmlksgfjhqobsbgempfwwklqvxcthshkymduemiicmijeuzqzwrvxupspccuqdlcmpjekwivamjsyozwitiqjghvtsolaforgblwpdjtbfgbtrzre...

output:

dgajejeoekhnlczfzjcztnpxpiuwedabbdeediefmwtrorwztmzbveikhnqwccriiandzajgvbqhqicduisexwyqexssqdxleomeikgtochekwlgrblsrlabfbtnjgrksaiblffxddrfpgemwtkqivoyskjxlslvxibjikktzlqopyaypcvadhyhlawdaopihbcatkjhofsykchlqxdmmlwqbahjbuunmozwtnxkuyatdyucjhhuprqmvjqtgxuevxafsjxltudolyhyovsgeykezjnffmkljiohzdxbvfqw...

result:

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

Test #258:

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

input:

1902
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

byxjavanbvalaaaazqdamxaqafpaagtaggqaxaiedazzmjankcacvaantdalpoanbaacsaaazaajavhaknhiaaenavaouiauaatawawabhkaaaaagaaaaovadiaalyandacaqulaaaiaadxaacbafaaaqaaagaaaaavayftaalaarpoaaxaaagdfcaaaqvaoacaolxcsaaaatasdhaasqaaaaaltazeaaoavjaaapaajaiaaakyaiaazaabtakdvaooaaaagaaaaamhuaaeibyjauysfmaachraaziaaazic...

result:

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

Test #259:

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

input:

1948
ldnnhwsidapefkhuhmewbxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcpfhenvlifpgnojwkvdtwoiqqywqzzooziujhbnkeiavgycmirvaoxjxqphviopwrcp...

output:

lpvaatajhyhchrtalztorqhpkapnaaiaytlhqkbmwxnpewhnwfxcdbzurixqqftlqtzkeusofdxgawvnvwihzqwmyjelldcqhobwkvhbmuacpoxyxqzwpsyajlcmsmresvxcjgwvsrxnipylhcimimrqcnndphqckldvoyzqahnqoeaqpappncbiwkxkyrbombmnvggetsimerltadhidtkabxjckhcoymwjkujdbryxosmpxnhgpiyjxanovmrzmgbzsactdwcbfdsubzdrjxsqretolbvickhyfpiiogbn...

result:

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

Test #260:

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

input:

1926
vmmtcnzdxzoxibygxcgrtxqaxqrrnbfdydzyvadejxwbjqwwtokzhcedslcszmeghkegxpuchbzxfoxzpzuokbnywtjbrcetmeezuxxzccelwnvrjuathqpverlwzayogldcjvctvzmvmmtcnzdxzoxibygxcgrtxqaxqrrnbfdydzyvadejxwbjqwwtokzhcedslcszmeghkegxpuchbzxfoxzpzuokbnywtjbrcetmeezuxxzccelwnvrjuathqpverlwzayogldcjvctvzmvmmtcnzdxzoxibygx...

output:

vsaduaaalsjamuaayaeasagrahuiueiktcsyzukkqqfgxllhguvqsfzxpblvspnktcsnrrgquzbtcknetytlldhlqvgnlmryickehlardrvsvecrccpuhdpfqxtvtpneikkfcamvulgtaqtpdkldaicyqrhhqmeebsspjbenkybjujcgaodkyhzwamlfnwbwdupccfacdrcjamfcofyxlfckgdqjgnmmmzfjnswkyixktxqwsmkhjtpfgyfcohrihemekkcycysyxlyvrfkurtryjtekmrdjdeuhjqkpiglq...

result:

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

Test #261:

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

input:

1904
olsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjecooepxojelbxhrhsqdbnjxlumuviolsoobfhvznmrmwvjec...

output:

ojcigzrzragaypwacuaozrfzmiyiwaoksbadwmxlupwkdutvjxtejuhbfdfqhtzvvunipktaagbljzptwrbzquycdayvnytmenitkirhhojnyhjgjpgkcqjxxmrujqobssnwnxbcrfltxwehdojenmxqdnqybfgexxdklwfkihekawrjfoubqpbkpqsshbnjiizacbvhqvlbwexehgpsdpqrtxsvkfstppirhfbbydvquszvlmghfelzgpnwtqweyczmthygjjsiiyqmciwlixhuirliiikdjqznhqtwcloo...

result:

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

Test #262:

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

input:

1996
imivjhycajlpahjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

itvxaaauaxhaafuvjpokcvqlvujogaanicjuiaaabrswcybmyxczaazdyaarqajvqxrawtolafhiqfcpyjktsympanmvtdaamwfaejapasangcfgrnfafqauprjcaagfcosknahafhpslwdabragwfaazvafayabgyesmaprhyxnagjfhhkycacrbfavsaaeaiaaakarljkelluynyqqugvjaonemxrjiwjtdnraqljhisttzsfjkrxbzlglsgjmpwjzjzxyxzjyqomcplkfueknfjdggxcbgahgfdtwbvic...

result:

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

Test #263:

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

input:

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

output:

ayyaiqestdtbhsqwoyvfvspueamtrilsyececptunimiljhrilbkundddgbsozimxeqfyywtejmlsrxcoekxsqajwwnnedlmtcvtzizllyhfuepafgxdkgqxckdykromypsldmcdrwgigyggnttllqznfxlguyjehylcwrwswsiiderbelhyjstumbotlfldgunpjqgtuzihjjequxofbslspldezfupuqayiurthlrquecohnnhbfzjkeditlpetffjzwjtpxaeeafvpscznwhhpjhrzfzudypetcgtojgm...

result:

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

Test #264:

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

input:

1919
asiksvnxtyibdotbxhkzrfelgayzuiavzjybcxporzbwsjzizkuhyvenhiaggunvegtakuhirqtyuzgjkvbljjppbiqlthljzpknpaslkdjtpcptljzouihbgnprynvuxojtqverenjyvjphhzcwhqvdddhyddvohvfvolfazpojaxgwbqaxntnjhvqiavzjybcxporzbwsjzizkuhyvenhiaggunvegtakuhirqtyuzgjkvbljjppbiqlthljzpknpaslkdjtpcptljzouihbgnprynvuxojtqvere...

output:

afnafmadesaafaaaacaoapjaafaagazaeyakaawaajncbwngnpgdplvqkspguhxdcojiiuwvuggxnayawjtvntlxmcrlxrdmgbaehryogxdmrxcplkqylsgonifqnhhptadbguhcmbhdkkdgbfbhvowwjkamvfuecaxqbpvewgecuxkdvxepzwhiihyazdgyvwfoxdymyifllnvunkpahslyjcehcghndmlpykggepfqgyozsrlwuzhgphdmgruuppxrdvkusjddxcdndgosqqzphormleiioyglfaieuhhx...

result:

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

Test #265:

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

input:

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

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaualawaaaaaaaaaaaawaaaaaaaaaaaaalaaaaaaawaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalaaaaaaaaaaaaaaaaaaaaaaaaaaacvaaaaaaaaaaaamaaaaqaaaaaaaaagaaaaaaaaaaaaadaahaaaeaaaaaaaaaaaabaaaaaaaaaaaaaaauaaaaaaaaaaaaaaaaaaaaaaaaaomaaaaaaaaaaaaaaaaataaaaaaaaiaaaaaaaaaaaaa...

result:

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

Test #266:

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

input:

1943
?
kxdkgbbhuaufcgohunnzflrrbseaweclhgycxpbtngyxqouoovtzvbprxgxgctgepfaeihffapxhptpovhyxrsebqdzuqdoezrsdirjnxiwszneflpgaqigzgthlaauuattftfpsubctrjhqmiixjzzuxiedjasyfelwdnopxrdnrxrnnadtngyxqouoovtzvbprxgxgctgepfaeihffapxhptpovhyxrsebqdzuqdoezrsdirjnxiwszneflpgaqigzgthlaauuattftfpsubctrjhqmiixjzzux...

output:

akeazaaaawrgmkaaagfoauaizaljxmmaaquaakagaaaatatipaaaaqfspafcaaasdaaaaxrmaqivaouaazaavaaaatamvlanhplaafpjafafaaauanaxnyavaagaiakkkgcbbnaahnoxayvrxhivcxvpdftxjqvwpowktfqggpsrfajvsowqrsagryoruuwnzgwjrmmebepanwtnpzzsopauowifyumypedopcobebgejsdzinczrlfakpxnrzzwpmrveosyyatcewtcmpzhkrjeivpmzdygbmrettppmrsr...

result:

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

Test #267:

score: 0
Accepted
time: 120ms
memory: 15016kb

input:

1950
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...

output:

yyyaayyyyayyyayyyyyyyyyyyyyyaayyyyyyyyyayyyayyyyyayyyyaayyyayayayyyyyyaaayyayyyyyyayyayyyayayyyyyyyyyyyyyyyayayyyyyyyyyyyyyyyyayyyyyyayyyyyaayyyyyyyyyyyaayayyyyyayyayyyyyyayayyyyayayyyyyyyyyyayyayayyyyyyayyyyyyayyyaayyyyayyyyyayyyayyyyyyyyyyyyayyyyayyyyyyyyyayyyyayyyyyyyyyyayayyyyyyayyyyyyyyyyyayaya...

result:

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

Test #268:

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

input:

1996
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oooaaoooooooooooooooooooooaooaooooooooooooaoaoooooooooooaooooooaoooooooaooooooooooooooooooooooooooaooooaoooaoaoaoaaoooooooooooooooooaaaoooaooooooaaooaoooooooooaaaoooooooooooooooooooooooaaoooooooooooaooooaaaoooooaoooaooooooaoaooooaoooooooooooaoooooooooooaaoaooaoaooaaoooaoaoaoooooooooooaooooooooooooaa...

result:

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

Test #269:

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

input:

1941
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

oaooaoooooooooooooooooooooooooooooaooooooooooooooooooooooooooooooooooaoooooaoooooooooooooooooooooooooooooooaoooooooooooooooooooooooooooooooooooaooaooooooooooooaooooooooooooooooooooooooooooooooooooooooooooaooaaoooaooooaoooooooooaoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

result:

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

Test #270:

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

input:

1987
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

haahaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhhhhahhhhhahhhhqhhhahhahhhhhhhhhhhhaahahhhahhhhhhhhahhhhahhhhhahhahhhhhhhhhhhahhhhhhhhhahhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhahhhhhhhhhhhhhhhhhhaahhahhhhhhahhhhhhhhhhhhhhhhhhhhhhhhahhhhhhhhhhhhh...

result:

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

Test #271:

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

input:

1965
fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...

output:

fffffffffffffffffffffffffffaffffffffffffffffaafffffffafffffffffffffffffffffaafffffffffafaffffffffffffffafffffffffffffffffffffffffffafffffffffaffffffffffffffffffafffffffffffffaffffffffffffffffffffffffffffffffffafffffaffffffffffffffffaffffffffffffffffffffffffffffafffaffaaffffffffffffffffffffffffffffff...

result:

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

Test #272:

score: 0
Accepted
time: 435ms
memory: 15372kb

input:

2000
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

result:

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

Test #273:

score: 0
Accepted
time: 432ms
memory: 15408kb

input:

2000
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

output:

lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllltlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

result:

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

Test #274:

score: 0
Accepted
time: 432ms
memory: 15384kb

input:

2000
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

output:

wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww...

result:

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

Test #275:

score: 0
Accepted
time: 431ms
memory: 15436kb

input:

2000
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

output:

gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...

result:

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

Test #276:

score: 0
Accepted
time: 425ms
memory: 15440kb

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