QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#33611#4091. 가로등AutumnKite150 ✓1495ms81496kbC++177.5kb2022-06-04 11:21:462022-06-04 11:21:47

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-06-04 11:21:47]
  • 评测
  • 测评结果:150
  • 用时:1495ms
  • 内存:81496kb
  • [2022-06-04 11:21:46]
  • 提交

answer

#include <bits/stdc++.h>
#define INF (0x3f3f3f3f)
#define fi first
#define se second
using namespace std;
typedef pair<int, int> pii;

const int MAXN = 100055;
const int MAXQ = 250055;
const int MAXLV = 19;
const int MX = 131072;

int seg[MX*2];

void upd(int i, int x) {
	i += MX-1;
	seg[i] = x;
	i >>= 1;
	while(i) {
		seg[i] = max(seg[i<<1], seg[i<<1|1]);
		i >>= 1;
	}
}

int getL(int i, int x) {
	i += MX-2;
	while((i & i-1) && seg[i] < x)
		i = i-1 >> 1;
	if(seg[i] < x) return 0;
	while(i < MX) {
		i <<= 1;
		i |= x <= seg[i|1];
	}
	return x == seg[i] ? i+1-MX : 0;
}

int getR(int i, int x) {
	i += MX;
	while((i & i+1) && seg[i] < x)
		i = i+1 >> 1;
	if(seg[i] < x) return 0;
	while(i < MX) {
		i <<= 1;
		i |= seg[i] < x;
	}
	return x == seg[i] ? i+1-MX : 0;
}

struct LINE {
	int s, e, y, c;
} E[MAXLV][MAXN];

struct GROUP {
	int s, e, i;
} G[MAXLV][MAXN];

int _B[MAXLV][MAXQ];
int NI[MAXLV][MAXN];

struct EVNODE { int i, y, e; } EV[MAXN]; int EVn;
LINE NE[MAXN];
int QV[MAXQ+MAXN], QVs[MAXN], QVdeg[MAXN], _QVi[MAXN];
bool isNes[MAXN];

LINE LNE[MAXN], RNE[MAXN], SLNE[MAXN];
int SLNEdeg[MAXN], SLNEi[MAXN];
int FH[MAXLV][MAXN], _FH[MAXLV][MAXN], AST[MAXN];
bool visited[MAXN], dead[MAXN];

int A[MAXN];
int B[MAXQ], C[MAXQ];

int Ans[MAXQ];
int N, Q;

int idxToGidx(const int lv, const int x, const int X) {
	if(!x) return 0;
	int s = 1, e = X, m;
	while(s < e) {
		m = s+e >> 1;
		if(x < G[lv][m].s) e = m-1;
		else if(G[lv][m].e < x) s = m+1;
		else return m;
	}
	return s;
}

void make(const int lv, const int X, int &En) {
	memcpy(G[lv+1], G[lv], (X+1) * sizeof(GROUP));
	for(int i = X; i; i--) if(FH[lv][i]) G[lv+1][i].i = 0;
	int LNEn = 0;
	memset(visited, 0, (X+1) * sizeof(bool));
	for(int i = 1, x; i <= X; i++) if(FH[lv][i]) {
		x = idxToGidx(lv, getL(G[lv][i].s, FH[lv][i]), X);
		if(!x) continue;
		if(FH[lv][x]) {
			visited[x] = true;
			RNE[x] = {x, i, FH[lv][i], 1};
		} else LNE[++LNEn] = {x, i, FH[lv][i], 1};
	}
	for(int i = X, x; i; i--) if(FH[lv][i] && !visited[i]) {
		x = idxToGidx(lv, getR(G[lv][i].s, FH[lv][i]), X);
		if(x) {
			visited[i] = true;
			RNE[i] = {i, x, FH[lv][i], 1};
		}
	}
	memset(SLNEdeg, 0, X+1 << 2);
	for(int i = LNEn; i; i--) SLNEdeg[LNE[i].s]++;
	SLNEi[1] = 1;
	for(int i = 1; i < X; i++) SLNEi[i+1] = SLNEi[i] + SLNEdeg[i];
	for(int i = LNEn; i; i--) SLNE[SLNEi[LNE[i].s]++] = LNE[i];
	memcpy(LNE+1, SLNE+1, LNEn * sizeof(LINE));
	memset(dead, 0, (En+1) * sizeof(bool));
	for(int x = 1, i = 1, n = 0; x <= X; x++) {
		while(n && E[lv][AST[n]].e == x) n--;
		while(i <= En && E[lv][i].s == x) {
			AST[++n] = i;
			i++;
		}
		while(n && E[lv][AST[n]].y <= FH[lv][x]) {
			dead[AST[n]] = true;
			n--;
		}
	}
	int NEn = 0;
{
	int ei = 1, li = 1, rx = 1;
	pii ert, lrt, rrt, mnrt;
	while(true) {
		while(ei <= En && dead[ei]) ei++;
		while(rx <= X && !visited[rx]) rx++;

		if(En < ei && LNEn < li && X < rx) break;

		ert = ei <= En ? pii( E[lv][ei].s, -E[lv][ei].y ) : pii( INF, INF );
		lrt = li <= LNEn ? pii( LNE[li].s, -LNE[li].y ) : pii( INF, INF );
		rrt = rx <= X ? pii( RNE[rx].s, -RNE[rx].y ) : pii( INF, INF );

		mnrt = min({ ert, lrt, rrt });
		if(mnrt == ert) E[lv+1][++NEn] = E[lv][ei++];
		else if(mnrt == lrt) E[lv+1][++NEn] = LNE[li++];
		else E[lv+1][++NEn] = RNE[rx++];
	}
}
	En = NEn;
}

int getEVNesIdx(const int y) {
	if(y < EV[EVn].y) return 0;
	int s = 1, e = EVn, m;
	while(s < e) {
		m = s+e >> 1;
		if(EV[m].y <= y) e = m;
		else s = m+1;
	}
	return EV[s].i;
}

void solve(const int lv, const int qsi, const int qei, int X, int En, int hidden) {
	if(qsi == qei) {
		const int x = B[qsi], y = C[qsi], idx = G[lv][x].s;
		if(getL(idx, y)) hidden++;
		if(getR(idx, y)) hidden++;
		for(int i = En; i; i--)
			if(E[lv][i].e < x || x < E[lv][i].s || y < E[lv][i].y)
				hidden += E[lv][i].c;
		Ans[qsi] = hidden;
		return;
	}
	const int _X = X;
	X = 0;
	for(int i = 1; i <= _X; i++) {
		if(X && !G[lv][X].i && !G[lv][i].i)
			G[lv][X].e = G[lv][i].e;
		else G[lv][++X] = G[lv][i];
		NI[lv][i] = X;
	}
	memcpy(_B[lv]+qsi, B+qsi, qei-qsi+1 << 2);
	for(int i = qsi; i <= qei; i++) B[i] = NI[lv][B[i]];
{
	int n = 0;
	for(int i = 1; i <= En; i++) {
		E[lv][i].s = NI[lv][ E[lv][i].s ];
		E[lv][i].e = NI[lv][ E[lv][i].e ];
		if(E[lv][i].s == E[lv][i].e)
			hidden += E[lv][i].c;
		else E[lv][++n] = E[lv][i];
	}
	En = n;
}
	memset(QVdeg, 0, X+1 << 2);
	for(int i = qsi; i <= qei; i++) QVdeg[B[i]]++;
	for(int i = 1; i < X; i++) QVs[i+1] = QVs[i] + QVdeg[i] + 1;
	memcpy(_QVi, QVs, X+1 << 2);
	for(int i = qsi; i <= qei; i++) QV[_QVi[B[i]]++] = C[i];
	for(int i = X; i; i--) QV[_QVi[i]] = 0;
	memset(isNes, 0, (En+1) * sizeof(bool));
	EVn = 0;
	for(int x = 1, i = 1; x <= X; x++) {
		while(EVn && EV[EVn].e == x) EVn--;
		while(i <= En && E[lv][i].s == x) {
			EV[++EVn] = {i, E[lv][i].y, E[lv][i].e};
			i++;
		}
		if(G[lv][x].i) isNes[ getEVNesIdx( A[ G[lv][x].s ] ) ] = true;
		int *it = QV + QVs[x];
		while(*it) {
			isNes[ getEVNesIdx(*it) ] = true;
			it++;
		}
	}
	const int _En = En;
	En = 1; NE[1] = E[lv][1];
	for(int i = 2; i <= _En; i++) {
		if(!isNes[i]
			&& NE[En].s == E[lv][i].s
			&& NE[En].e == E[lv][i].e)
			NE[En].c += E[lv][i].c;
		else NE[++En] = E[lv][i];
	}
	memcpy(E[lv], NE, (En+1) * sizeof(LINE));
	
	const int qmi = qsi + qei >> 1;
	memset(FH[lv], 0, X+1 << 2);
	for(int i = X; i; i--) if(G[lv][i].i) FH[lv][i] = A[G[lv][i].s];
	for(int i = qsi; i <= qmi; i++) FH[lv][B[i]] = 0;
	for(int i = X; i; i--) if(FH[lv][i]) upd(G[lv][i].s, FH[lv][i]);
{
	int leftEn = En;
	make(lv, X, leftEn);
	solve(lv+1, qsi, qmi, X, leftEn, hidden);
}
	for(int i = X; i; i--) if(FH[lv][i]) upd(G[lv][i].s, 0);
	memset(FH[lv], 0, X+1 << 2);
	for(int i = qsi; i <= qmi; i++) FH[lv][B[i]] = C[i];
	for(int i = X; i; i--) if(G[lv][i].i) {
		_FH[lv][i] = A[G[lv][i].s];
		if(FH[lv][i]) A[G[lv][i].s] = FH[lv][i];
	}
	for(int i = qmi+1; i <= qei; i++) FH[lv][B[i]] = 0;
	for(int i = X; i; i--) if(FH[lv][i]) upd(G[lv][i].s, FH[lv][i]);
{
	int rightEn = En;
	make(lv, X, rightEn);
	solve(lv+1, qmi+1, qei, X, rightEn, hidden);
}
	for(int i = X; i; i--) if(G[lv][i].i) {
		A[G[lv][i].s] = _FH[lv][i];
		if(FH[lv][i]) upd(G[lv][i].s, 0);
	}
	memcpy(B+qsi, _B[lv]+qsi, qei-qsi+1 << 2);
}

namespace INIT {
	bitset<MAXN> chk;
	int I[MAXN];
	pii V[MAXN];
	int Vn;

	void run(int &En) {
		for(int i = Q; i; i--) chk[B[i]] = true;
		Vn = En = 0;
		for(int i = 1; i <= N; i++) if(!chk[i]) {
			while(Vn && V[Vn].se < A[i]) Vn--;
			if(Vn && V[Vn].se == A[i]) {
				I[V[Vn].fi] = i;
				V[Vn].fi = i;
			} else V[++Vn] = {i, A[i]};
		}
		for(int i = 1; i <= N; i++) if(I[i])
			E[0][++En] = {i, I[i], A[i], 1 == i || i == N ? 0 : 1};
		for(int i = N; i; i--)
			G[0][i] = {i, i, chk[i] ? 1 : 0};
		for(int i = N; i; i--) if(!chk[i]) upd(i, A[i]);
		Vn = 0;
		for(int i = 2; i < N; i++) {
			while(Vn && V[Vn].se < A[i]) Vn--;
			if(Vn && V[Vn].se == A[i]) Ans[0]++;
			else V[++Vn] = {i, A[i]};
		}
	}
}

void solve() {
	for(int i = N; i; i--) A[i+1] = A[i];
	A[1] = A[N+2] = INF;
	N += 2;
	for(int i = Q; i; i--) B[i]++;

	int En = 0;
	INIT::run(En);
	solve(0, 1, Q, N, En, 0);
}

vector<long long int> count_cable(vector<int> _A, vector<pair<int, int>> _C) {
    N = _A.size();
    Q = _C.size();
    for(int i = 1; i <= N; i++) A[i] = _A[i-1];
    for(int i = 1; i <= Q; i++) tie(B[i], C[i]) = _C[i-1];
    
    solve();
    
    vector<long long int> result(Q+1, 0ll);
    for(int i = 0; i <= Q; i++) result[i] = Ans[i];
    return result;
}

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 3ms
memory: 44784kb

input:

50 100
976187983 976187983 879080743 976187983 827737130 827737130 827737130 827737130 815905933 811453113 789018592 789018592 681089922 675640665 659464656 635119734 635119734 633485638 633485638 567930339 552957008 484438465 484438465 484438465 387753272 377659696 376161946 976187983 367642977 376...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16
15
14
14
15
16
17
17
18
18
31
30
29
28
27
26
25
24
23
22
21
20
20
19
20
19
18
18
18
18
18
17
17
16
16
16
16
15
15
15
15
14
13
12
12
12
12
11
11
10
9
9
9
8
8
7
7
6
7
6
7
7
7
8
8
7
8
10
10
10
10
10
11
10
10
12
14
15
15
16
1...

result:

ok 103 lines

Test #2:

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

input:

50 100
920202355 768392166 755066475 630812635 617367313 601334965 450742259 367726734 265094786 151773018 77676966 53524889 53524889 77676966 151773018 265094786 205222950 154745305 57476426 57476426 154745305 294856628 367726734 450742259 601334965 617367313 630812635 481253037 481253037 755066475...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19
20
20
19
18
17
16
15
14
13
12
11
10
10
10
10
9
8
7
7
7
8
7
7
7
6
6
5
5
5
5
4
4
3
3
4
3
3
3
3
3
3
3
3
2
2
3
3
3
3
3
4
4
5
5
5
6
6
6
6
8
10
10
11
12
13
13
14
14
15
15
15
20
21
22
21
19
17
17
17
15
14
13
13
13
13
13
12
12
11...

result:

ok 103 lines

Test #3:

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

input:

50 100
135256882 135256882 338635449 135256882 338635449 338635449 135256882 135256882 338635449 135256882 338635449 338635449 338635449 338635449 338635449 135256882 135256882 135256882 338635449 338635449 135256882 338635449 135256882 338635449 135256882 338635449 338635449 338635449 135256882 338...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
34
34
33
34
34
35
35
36
37
38
38
38
37
38
39
40
41
40
39
39
38
37
37
36
37
37
38
38
38
37
37
37
36
35
36
36
35
35
35
36
36
37
37
37
37
37
36
36
36
36
36
36
37
37
38
38
38
39
40
39
39
39
39
38
39
38
37
38
38
38
38
37
37
37
36...

result:

ok 103 lines

Test #4:

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

input:

50 100
310081863 722273055 654741011 310081863 654741011 722273055 654741011 722273055 654741011 654741011 654741011 310081863 310081863 722273055 654741011 654741011 654741011 722273055 310081863 654741011 310081863 310081863 310081863 722273055 310081863 654741011 654741011 310081863 722273055 722...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
28
28
28
29
30
31
31
31
31
31
31
31
31
32
33
34
34
33
33
33
33
32
32
31
31
31
32
32
31
31
31
31
30
30
30
31
31
31
31
31
31
30
30
29
30
31
32
32
32
32
32
31
32
33
33
33
33
32
32
31
32
33
31
31
32
31
32
31
31
31
30
31
30
29
29...

result:

ok 103 lines

Test #5:

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

input:

50 100
93308794 275481889 130830018 675774101 130830018 93308794 275481889 999873895 275481889 104418887 130830018 275481889 675774101 999873895 130830018 841188804 360486542 104418887 140762403 275481889 275481889 770511267 104418887 140762403 93308794 675774101 104418887 770511267 130830018 933087...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12
12
11
11
11
11
11
11
10
10
10
10
10
10
10
11
11
11
11
12
12
12
12
12
11
10
11
11
11
11
11
12
13
12
12
13
13
14
12
11
11
10
10
10
10
10
9
9
9
9
9
9
8
9
10
10
9
10
9
9
9
10
10
11
12
12
13
13
13
13
14
14
13
13
13
12
12
12
12...

result:

ok 103 lines

Test #6:

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

input:

50 100
195248019 905127308 129122336 764519854 338556860 795943323 554412442 338556860 217191782 140699690 654772489 386182517 217191782 37485244 795943323 924638428 795943323 820028162 855279832 795943323 129122336 554412442 195248019 764519854 810525122 554412442 201706134 661330059 129122336 2090...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5
5
6
5
5
5
4
4
3
3
3
3
3
2
4
3
3
3
4
5
5
5
5
5
5
5
5
4
4
4
5
6
6
5
5
4
4
4
3
3
3
3
3
3
4
4
4
4
3
3
4
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
5
5
5
5
6
6
6
5
5
5
5
5
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
8
8
8
7
====3F5ZGZK59YBV9HI41K...

result:

ok 103 lines

Test #7:

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

input:

50 100
772094573 19576803 263817454 873867094 557813690 952336439 500513802 392057352 305209480 199018938 206776586 514630037 466387810 403552086 50423285 658534934 19576803 404488754 179660945 591777562 262850065 817419372 680762089 591777562 424021147 403552086 718896141 456431927 680762089 595426...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
1
2
2
2
3
3
3
3
3
3
2
2
2
2
2
2
2
1
1
1
0
0
0
0
0
0
0
0
0
1
2
2
3
3
3
3
3
3
2
2
2
3
3
3
3
3
3
3
====3F5ZGZK59YBV9HI41K...

result:

ok 103 lines

Test #8:

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

input:

50 100
5096114 61078240 254964021 318250156 571031769 256037951 208426954 833646260 732869624 746606948 226729785 151221431 611264696 351005299 205027954 706057630 453231547 874058912 462474957 366832522 823051853 289489922 109072951 103985450 269915659 377686154 809672410 12123621 732787174 9017273...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
====3F5ZGZK59YBV9HI41K...

result:

ok 103 lines

Test #9:

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

input:

50 100
843864537 245114944 227661173 137675097 918583745 80278395 44678681 37169219 37007425 27167524 4382795 4043558 3655016 3624538 2994987 1979195 1407769 819862 771067 665903 137891 137891 665903 771067 819862 1407769 1979195 2994987 3624538 3655016 4043558 4382795 27167524 37007425 37142735 305...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17
17
16
15
7
7
8
5
5
5
5
5
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
0
0
0
1
1
2
3
3
4
4
4
4
5
6
6
7
8
9
10
11
12
13
14
14
14
14
14
15
16
16
16
16
17
18
19
19
20
21
20
19
18
15
14
14
14
13
7
6
6
6
6
6
6
6
6
6
6
5
5
4
4
4
3
3
3
3
3
...

result:

ok 103 lines

Subtask #2:

score: 8
Accepted

Dependency #1:

100%
Accepted

Test #10:

score: 8
Accepted
time: 92ms
memory: 46988kb

input:

10000 25000
999771464 999771464 999771464 998545115 998475621 998475621 998475621 997251217 997251217 996855498 996413950 996413950 996407809 996407809 996014097 995198076 994982575 994476181 994096522 994056589 993829131 993747501 993747501 993658545 993658545 993655692 993655692 993086050 99308605...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4658
4659
4659
4660
4660
4661
4662
4664
4665
4664
4664
4665
4667
4669
4670
4672
4672
4673
4674
4675
4675
4676
4676
4677
4677
4679
4679
4680
4681
4680
4681
4682
4682
4683
4684
4684
4685
4686
4688
4690
4691
4693
4694
4695
4696...

result:

ok 25003 lines

Test #11:

score: 0
Accepted
time: 91ms
memory: 46904kb

input:

10000 25000
999977718 999943278 999943278 999803605 999803605 999803605 999803605 999766713 999766713 999300747 999300747 999060672 998096112 997670554 997664952 997664952 997655468 997655468 997655468 997599158 997451467 997399937 997399937 997373188 997373188 997189028 997189028 997189028 99651648...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4078
4080
4080
4081
4082
4084
4085
4086
4087
4088
4088
4089
4090
4091
4092
4092
4093
4093
4094
4094
4094
4096
4097
4098
4099
4099
4100
4101
4102
4102
4104
4105
4105
4106
4106
4107
4108
4108
4109
4109
4110
4110
4111
4113
4114...

result:

ok 25003 lines

Test #12:

score: 0
Accepted
time: 88ms
memory: 46812kb

input:

10000 25000
999717132 999665673 999486030 999406862 999389191 999070986 998845232 998845232 998447732 997839510 997817100 997817100 997780332 997682277 997682277 997649846 997580278 996549738 996181967 995695442 995674991 995648905 995634638 995187849 995187849 994634096 994559093 994559093 99440033...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3426
3427
3427
3428
3429
3430
3430
3430
3431
3431
3433
3432
3435
3436
3437
3438
3438
3438
3439
3440
3441
3442
3441
3442
3443
3443
3444
3446
3447
3448
3450
3451
3451
3451
3451
3452
3452
3454
3455
3456
3458
3459
3460
3461
3461...

result:

ok 25003 lines

Test #13:

score: 0
Accepted
time: 87ms
memory: 46760kb

input:

10000 25000
999936730 999936730 999936730 999936730 999838548 999838548 999794653 999697413 999427319 999189713 999148412 998598385 998598385 997994830 997159539 997077253 996729724 996729724 996537478 996537478 996537478 996476645 996277282 996254865 996132055 995900535 995604627 995596349 99434368...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2896
2896
2896
2897
2897
2898
2899
2900
2900
2902
2902
2903
2903
2904
2904
2905
2906
2907
2909
2909
2909
2910
2910
2910
2912
2911
2912
2913
2913
2914
2915
2918
2918
2918
2919
2920
2920
2922
2923
2923
2925
2926
2927
2928
2929...

result:

ok 25003 lines

Test #14:

score: 0
Accepted
time: 77ms
memory: 46644kb

input:

10000 25000
999658030 999658030 999658030 999543370 999655040 999391326 998970758 998776509 998426835 998311463 997974321 997974321 997366528 997238221 997224984 996988190 996988190 996921600 996553998 996262958 996248194 996240146 995848110 995848110 995594248 995594248 995353091 995150191 99515019...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2028
2029
2029
2030
2030
2031
2033
2033
2033
2034
2034
2034
2035
2036
2036
2037
2038
2039
2039
2039
2040
2040
2040
2040
2041
2041
2042
2042
2042
2042
2042
2042
2043
2044
2044
2045
2046
2047
2047
2047
2048
2048
2048
2048
2049...

result:

ok 25003 lines

Test #15:

score: 0
Accepted
time: 83ms
memory: 46780kb

input:

10000 25000
450704915 434536047 341786014 341786014 79082364 79082364 319510444 313533224 273906610 140081699 140081699 273906610 285209216 152870151 152870151 285209216 313533224 319510444 434536047 450704915 926649730 886905192 849983863 752902739 697595915 659712724 334065736 334065736 659712724 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4823
4824
4825
4826
4828
4829
4831
4837
4838
4843
4844
4845
4846
4849
4850
4851
4852
4852
4855
4859
4860
4861
4862
4863
4865
4870
4871
4872
4873
4874
4880
4884
4886
4888
4889
4890
4891
4892
4893
4894
4894
4895
4896
4899
4900...

result:

ok 25003 lines

Test #16:

score: 0
Accepted
time: 84ms
memory: 46776kb

input:

10000 25000
754145253 639401207 476882527 448613424 225224094 108624553 54906235 13788104 13788104 54906235 87840935 84304742 74783266 56881870 56881870 74783266 84304742 87840935 105963555 90566252 89123110 85868149 74569727 46401401 45335719 41253353 12901354 12901354 41253353 45335719 46401401 74...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4960
4961
4962
4964
4968
4969
4970
4976
4977
4978
4979
4980
4981
4993
4992
4988
4986
4985
4984
4983
4982
4974
4973
4972
4971
4970
4969
4968
4965
4964
4962
4961
4958
4957
4953
4952
4948
4943
4942
4941
4934
4933
4932
4928
4927...

result:

ok 25003 lines

Test #17:

score: 0
Accepted
time: 89ms
memory: 46992kb

input:

10000 25000
933524179 907898517 902234116 898008356 885671785 831536870 829959488 753131346 706243474 705177720 693113393 647797781 600660133 598503085 589413909 555970211 552649224 542736820 504678135 498308166 469015658 402731995 399529796 387740243 374770067 325644604 292505958 243077849 21787902...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4083
4083
4084
4091
4114
4115
4130
4146
4147
4167
4167
4168
4170
4171
4172
4175
4180
4187
4196
4197
4198
4207
4208
4214
4218
4219
4233
4235
4236
4237
4237
4238
4282
4287
4288
4290
4291
4292
4293
4297
4298
4326
4349
4349
4350...

result:

ok 25003 lines

Test #18:

score: 0
Accepted
time: 87ms
memory: 46716kb

input:

10000 25000
999300113 998119844 996685491 986487210 947046577 934641660 931343351 908303847 899650828 889238074 863169830 842757285 663080550 810105508 799920444 794461547 794454579 785519895 783464318 736702198 719108461 717887788 708636348 703806115 701857190 680261486 674625692 663598533 65105299...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3881
3882
3883
3883
3884
3907
3907
3924
3939
3940
3940
3951
3952
3953
3954
3955
3989
3989
3990
3991
4007
4045
4094
4109
4110
4113
4114
4115
4115
4142
4152
4152
4211
4227
4228
4232
4233
4234
4235
4243
4244
4245
4246
4246
4257...

result:

ok 25003 lines

Test #19:

score: 0
Accepted
time: 84ms
memory: 46756kb

input:

10000 25000
995028189 994309454 990948400 988383404 985939065 984511941 979292105 970979689 969936979 964281273 961643313 961578777 960610078 960208861 959938246 957176400 956654250 955992223 954816017 952366881 946592537 942235364 936270368 934996310 932230706 929667867 929225692 928058264 92675237...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2255
2256
2256
2256
2256
2277
2278
2278
2278
2279
2279
2381
2381
2381
2381
2408
2409
2409
2447
2447
2447
2447
2447
2448
2448
2448
2449
2470
2470
2470
2470
2471
2471
2472
2472
2472
2472
2473
2474
2475
2476
2477
2477
2477
2477...

result:

ok 25003 lines

Test #20:

score: 0
Accepted
time: 84ms
memory: 46848kb

input:

10000 25000
999311300 998954257 998410998 998037675 993185526 992613415 991963083 988759185 988057797 987771794 984870989 982694403 977770550 977570795 977381070 977193529 974487898 974026831 973649963 971922014 971408251 971274480 970043814 967318913 966574675 961678089 960256151 959240390 95584085...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2829
2893
3163
3163
3163
3388
3389
3389
3390
3391
3392
3439
3439
3439
3482
3482
3581
3582
3583
3995
4209
4380
4487
4043
4040
4021
4020
4019
3993
3992
3991
3971
3971
3971
3971
3971
3970
3970
3969
3968
3967
3966
3966
3965
3964...

result:

ok 25003 lines

Test #21:

score: 0
Accepted
time: 76ms
memory: 46688kb

input:

10000 25000
999953794 999237516 998493785 998445545 998105260 997805825 997597096 997595228 997358471 997269587 997051631 996980675 996974324 996808830 996807277 996424362 996064101 995724947 995623993 995387401 995332607 995064612 994967078 994583074 994210431 994014863 993883261 993747860 99367366...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1413
1414
1414
1415
1415
1415
1415
1415
1415
1416
1416
1416
1417
1417
1417
1417
1417
1418
1418
1418
1642
1642
1642
1644
1645
1645
1645
1646
1646
1646
1646
1646
1646
1646
1646
1647
1648
1648
1649
1650
1650
1651
1651
1651
1651...

result:

ok 25003 lines

Test #22:

score: 0
Accepted
time: 108ms
memory: 46740kb

input:

10000 25000
270959837 270959837 270959837 270959837 966019934 966019934 966019934 966019934 270959837 270959837 270959837 966019934 966019934 270959837 966019934 270959837 966019934 966019934 966019934 966019934 270959837 966019934 966019934 966019934 966019934 966019934 966019934 270959837 96601993...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
7521
7521
7521
7520
7520
7519
7520
7520
7520
7520
7520
7520
7520
7521
7521
7521
7521
7522
7522
7522
7522
7522
7522
7522
7522
7522
7523
7524
7525
7524
7524
7524
7524
7523
7523
7523
7523
7523
7522
7522
7522
7522
7522
7523
7523...

result:

ok 25003 lines

Test #23:

score: 0
Accepted
time: 108ms
memory: 46772kb

input:

10000 25000
591698155 360439338 360439338 186954089 360439338 360439338 591698155 360439338 360439338 591698155 186954089 186954089 360439338 360439338 591698155 186954089 591698155 360439338 360439338 591698155 360439338 591698155 360439338 360439338 360439338 591698155 591698155 186954089 36043933...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
6119
6119
6118
6117
6117
6117
6117
6116
6117
6117
6117
6118
6118
6117
6118
6117
6116
6117
6117
6116
6116
6117
6117
6117
6117
6117
6118
6118
6118
6117
6117
6117
6117
6116
6116
6116
6115
6115
6114
6114
6115
6117
6117
6117
6116...

result:

ok 25003 lines

Test #24:

score: 0
Accepted
time: 101ms
memory: 46812kb

input:

10000 25000
319295665 221812862 6665351 124260828 836175616 6665351 755075646 755075646 124260828 6665351 862849632 862849632 755075646 319295665 6665351 124260828 862849632 6665351 996013862 862849632 836175616 502112893 502112893 502112893 755075646 221812862 862849632 124260828 221812862 17593358...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2938
2937
2937
2938
2939
2938
2938
2938
2937
2937
2939
2938
2937
2937
2938
2936
2937
2936
2937
2937
2936
2935
2936
2935
2935
2935
2935
2934
2934
2934
2935
2936
2936
2936
2935
2935
2935
2935
2935
2935
2936
2936
2935
2934
2933...

result:

ok 25003 lines

Test #25:

score: 0
Accepted
time: 86ms
memory: 46800kb

input:

10000 25000
709663095 61922094 808682491 808682491 808682491 849430206 808682491 665696251 933378608 849430206 240107952 122318473 665696251 657566000 223725154 386403913 686902205 459491845 920171510 38631342 33251286 875430527 897123581 920171510 875430527 920171510 122127708 933378608 657566000 7...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1347
1347
1347
1348
1348
1347
1347
1347
1347
1347
1348
1348
1348
1347
1346
1346
1347
1349
1349
1348
1348
1348
1348
1348
1347
1347
1347
1347
1347
1348
1347
1347
1347
1346
1346
1346
1346
1347
1347
1347
1346
1346
1345
1345
1345...

result:

ok 25003 lines

Test #26:

score: 0
Accepted
time: 80ms
memory: 46776kb

input:

10000 25000
47022638 486942362 143263006 147244093 507901002 99701201 84730383 782802287 50274529 666099919 404581067 404499663 99701201 913791658 270546295 449370410 392034830 449370410 176897298 479693300 65719384 33340630 896408572 59194142 141939742 61396726 838727793 507901002 782802287 8710343...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
545
545
545
544
544
544
544
543
544
544
544
543
543
542
542
542
542
542
542
542
542
542
542
542
542
543
543
543
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
544
...

result:

ok 25003 lines

Test #27:

score: 0
Accepted
time: 71ms
memory: 46656kb

input:

10000 25000
710010611 10908734 757273385 395014250 782090527 251917339 934146653 322512774 806445489 165610199 854042665 223142247 390220242 277443931 65403216 620467060 896687474 224419463 573557466 841128706 799480868 137336072 149453892 37064446 777433397 392083027 176992506 473365968 443539587 5...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85...

result:

ok 25003 lines

Test #28:

score: 0
Accepted
time: 69ms
memory: 46692kb

input:

10000 25000
69722564 135238373 721457160 808297857 905565986 685049296 596525720 257091267 819068951 967720287 378031704 805702919 147267709 800765811 495140297 152857714 909964233 790573514 218918587 442542493 784641278 674744235 726740510 918306666 974780883 659931001 234476396 977989134 140156758...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15...

result:

ok 25003 lines

Test #29:

score: 0
Accepted
time: 61ms
memory: 46480kb

input:

10000 25000
394154237 810957578 60610481 729516417 124113075 466657384 985707023 566786450 865665565 245041226 737387352 495938627 625229488 473829221 466528988 682990285 596781551 985690287 295461170 906623746 464094560 797213780 393946729 234838934 146747088 648934618 792792949 765892475 9584989 3...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5
5
5
5
5
5
5
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
7
7
7
7
7
7
7
...

result:

ok 25003 lines

Test #30:

score: 0
Accepted
time: 64ms
memory: 46796kb

input:

10000 25000
231969285 350148538 826446876 446045754 115623998 277054580 72889227 880313165 948104201 481236276 318323134 246027129 871508397 147714317 778866491 374836445 613290159 319702903 107035746 726967769 129267948 410492468 655473871 747696734 581393838 505812899 49599439 909689568 207163898 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 25003 lines

Test #31:

score: 0
Accepted
time: 84ms
memory: 46744kb

input:

10000 25000
715767659 545972679 469513611 292404810 292404810 469513611 545972679 715767659 596601197 596601197 508149605 401941916 399130290 384153892 224901564 224901564 384153892 399130290 401941916 508149605 72466906 56305578 56305578 72466906 795307380 236207700 206367414 182120675 72291305 626...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4928
4931
4932
4945
4946
4950
4955
4956
4963
4965
4972
4973
4975
4981
4983
4984
4989
4991
4993
4994
4997
4999
4995
4989
4986
4985
4984
4983
4982
4977
4976
4975
4974
4973
4972
4971
4970
4964
4963
4959
4958
4957
4956
4955
4954...

result:

ok 25003 lines

Test #32:

score: 0
Accepted
time: 85ms
memory: 46900kb

input:

10000 25000
932659500 777303216 763020989 587897736 587897300 553355631 334470712 256529875 137155556 85250898 85250898 137155556 256529875 334470712 553355631 587897300 587897736 763020989 777303216 932659500 107681684 90637203 71757673 62117608 50125790 46818794 31085927 15716844 11124139 5943955 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4625
4635
4636
4637
4652
4653
4663
4664
4667
4677
4680
4681
4682
4688
4697
4698
4712
4722
4728
4729
4730
4731
4733
4738
4741
4744
4753
4764
4772
4776
4778
4782
4783
4787
4788
4791
4792
4804
4807
4814
4821
4836
4837
4838
4841...

result:

ok 25003 lines

Test #33:

score: 0
Accepted
time: 81ms
memory: 46816kb

input:

10000 25000
985890400 980725755 971914656 951079475 938541496 917953769 876744977 875462052 855237457 853374623 850130541 849513845 844006921 830850366 790903565 776225900 773780352 668598249 623929667 616437980 607657598 589513680 580589313 543422730 533529874 528248062 491025118 487555718 48373744...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3389
3390
3434
3436
3447
3449
3454
3454
3472
3488
3503
3504
3505
3526
3570
3589
3609
3638
3648
3649
3650
3650
3650
3651
3653
3666
3683
3698
3699
3701
3703
3708
3708
3757
3764
3765
3775
3789
3789
3805
3822
3823
3823
3823
3823...

result:

ok 25003 lines

Test #34:

score: 0
Accepted
time: 75ms
memory: 46820kb

input:

10000 25000
991335589 982014453 981091060 941193782 926785516 917345058 900527686 891907475 869061299 867565140 846931466 836568606 826945272 825220526 822166838 812851263 750654131 745300717 739657821 732992152 725393918 704219714 698023793 695941108 667682042 643749952 629336696 550342447 54999311...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3992
4046
4078
4091
4182
4190
4237
4279
4307
4360
4468
4481
4534
4535
4554
4642
4667
4669
4721
4758
4759
4839
4956
4892
4891
4890
4889
4871
4870
4869
4868
4865
4864
4853
4852
4851
4762
4761
4760
4759
4701
4700
4699
4698
4665...

result:

ok 25003 lines

Test #35:

score: 0
Accepted
time: 68ms
memory: 46872kb

input:

10000 25000
996871725 994195886 993368829 991159532 991152110 986989237 985675465 979594431 978185379 972353929 972319936 968584764 958919385 956759180 956368473 954942298 952661910 952526903 952373588 945429975 936321999 932329744 931586643 929277034 925109143 924779590 923993751 919409613 91363957...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2377
2756
3107
3259
3259
3259
3260
3319
3452
3513
3621
3622
3623
3624
4149
4154
4385
4384
4264
4263
4263
4262
4151
4150
4116
4063
4062
3879
3781
3780
3780
3779
3778
3777
3649
3420
3419
3350
3328
3327
3327
3327
3326
3326
3297...

result:

ok 25003 lines

Test #36:

score: 0
Accepted
time: 67ms
memory: 46880kb

input:

10000 25000
999951258 999870868 998700723 998526260 997102264 992868229 987532436 983943132 982751921 982504488 981107584 980594519 979922959 979339723 978303176 977954890 976004439 975897157 974695918 968414462 967949915 967426623 967011526 965964002 965961943 962614414 961210917 960604597 95645112...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
838
838
838
838
838
838
838
838
944
944
1093
1094
1094
1094
1094
1094
1094
1094
1212
1212
1212
1232
1232
1309
1309
1309
1470
1470
1470
1471
1471
1471
1471
1643
1789
1789
1789
1789
2004
2004
2458
2458
2845
3689
3690
3690
3690...

result:

ok 25003 lines

Test #37:

score: 0
Accepted
time: 61ms
memory: 46976kb

input:

10000 25000
999686846 999615413 999423192 999252083 999129131 999127383 998989919 998968045 998947780 998846379 998475458 998458674 997501699 997495368 997491555 997407927 997144132 997131441 525216468 996747151 996550750 996321213 996316448 996169727 995878495 995758971 995674018 995600884 99546140...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
122
122
122
122
122
122
122
122
122
122
122
122
122
122
122
122
122
122
122
196
196
196
196
196
196
196
196
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
260
...

result:

ok 25003 lines

Subtask #3:

score: 11
Accepted

Test #38:

score: 11
Accepted
time: 1495ms
memory: 69080kb

input:

100000 250000
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99296
99297
99298
99299
99301
99302
99304
99306
99307
99308
99310
99312
99313
99314
99315
99317
99318
99319
99320
99321
99322
99323
99324
99326
99327
99329
99330
99332
99333
99334
99335
99337
99338
99339
99341
99343
99345
99...

result:

ok 250003 lines

Test #39:

score: 0
Accepted
time: 1281ms
memory: 69244kb

input:

100000 241314
10 6 6 10 4 4 9 1 1 7 7 9 7 1 1 6 4 4 2 2 5 2 1 1 2 3 2 2 3 4 3 1 1 2 1 1 2 3 4 5 6 5 5 3 3 5 3 2 2 3 5 7 5 2 1 1 2 3 2 1 1 1 1 2 2 2 3 5 8 6 1 1 5 4 1 1 4 3 2 1 1 2 3 5 6 6 2 1 1 2 6 8 4 3 1 1 2 2 3 3 2 1 1 2 3 1 1 3 2 1 1 2 3 3 2 1 1 2 3 4 4 2 1 1 2 4 9 3 3 9 6 3 3 5 4 1 1 4 5 6 8 6 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
59081
59083
59083
59084
59085
59086
59086
59088
59089
59089
59090
59090
59090
59091
59092
59093
59094
59095
59095
59096
59097
59099
59100
59103
59104
59104
59105
59105
59106
59107
59108
59109
59110
59110
59110
59110
59110
59...

result:

ok 241317 lines

Test #40:

score: 0
Accepted
time: 1360ms
memory: 69492kb

input:

100000 250000
6 3 2 1 1 1 1 1 1 2 2 1 1 2 2 1 1 2 3 6 9 6 6 9 9 7 6 3 3 6 6 2 1 1 2 4 2 2 2 1 1 2 4 6 7 7 6 5 1 1 5 5 2 1 1 2 5 3 2 2 3 6 7 9 8 8 9 6 5 4 2 2 4 5 6 8 6 5 3 3 5 6 8 9 2 1 1 2 7 1 1 7 10 10 10 6 4 4 6 9 7 6 3 1 1 3 5 4 3 1 1 3 4 5 6 7 8 5 4 2 1 1 2 4 5 8 9 10 5 5 10 9 4 2 1 1 2 3 2 1 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
58197
58202
58204
58205
58206
58209
58209
58209
58210
58212
58213
58216
58216
58220
58221
58221
58221
58222
58224
58225
58226
58227
58227
58228
58228
58228
58230
58230
58230
58231
58232
58234
58236
58237
58240
58241
58241
58...

result:

ok 250003 lines

Test #41:

score: 0
Accepted
time: 1461ms
memory: 68832kb

input:

100000 250000
10 9 6 5 3 2 1 1 2 2 2 2 1 1 2 3 5 6 8 7 6 6 7 6 1 1 6 7 6 4 3 2 1 1 2 3 4 6 7 8 9 9 7 6 4 2 1 1 1 1 1 1 2 4 6 6 5 4 3 2 1 1 2 3 3 2 1 1 2 3 4 5 2 2 6 6 5 2 1 1 1 1 2 5 6 7 9 10 10 9 8 7 6 5 3 2 1 1 1 1 2 2 1 1 1 1 2 3 3 2 2 3 5 5 5 6 7 1 1 8 9 9 8 7 6 4 3 2 1 1 2 3 4 6 5 3 2 2 3 5 7 8...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
57665
57665
57666
57667
57668
57668
57669
57675
57676
57678
57679
57679
57680
57679
57678
57677
57677
57677
57677
57677
57676
57675
57673
57672
57671
57670
57669
57669
57666
57665
57664
57664
57664
57664
57664
57663
57663
57...

result:

ok 250003 lines

Test #42:

score: 0
Accepted
time: 723ms
memory: 66760kb

input:

100000 250000
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99990
99982
99981
99985
99990
99986
99985
99989
99990
99989
99982
99983
99990
99987
99984
99985
99990
99985
99984
99985
99990
99982
99981
99984
99990
99988
99985
99986
99990
99986
99981
99982
99990
99982
99981
99986
99990
99...

result:

ok 250003 lines

Test #43:

score: 0
Accepted
time: 1401ms
memory: 69092kb

input:

100000 250000
5 4 4 4 5 4 5 5 5 4 5 4 4 5 4 4 4 5 4 5 5 4 5 5 4 4 4 4 5 4 4 5 5 5 4 5 5 4 4 5 4 4 5 4 5 4 5 4 5 4 4 5 4 4 5 5 4 4 5 5 5 5 5 5 4 4 5 4 4 4 5 5 5 4 5 5 4 4 5 4 5 5 5 4 4 5 4 5 5 5 4 4 5 5 4 4 5 4 4 5 4 5 4 4 5 5 5 4 5 5 4 5 5 5 5 5 4 4 5 4 4 4 4 5 4 5 4 4 4 4 5 4 5 4 5 4 5 4 4 5 5 5 4 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
74995
74994
74993
74994
74993
74992
74993
74993
74994
74993
74992
74991
74991
74991
74991
74990
74989
74990
74989
74989
74990
74990
74990
74991
74991
74992
74992
74993
74994
74993
74993
74993
74993
74994
74994
74995
74995
74...

result:

ok 250003 lines

Test #44:

score: 0
Accepted
time: 1438ms
memory: 69048kb

input:

100000 250000
5 5 1 1 1 1 6 6 6 6 1 5 5 6 5 6 5 5 1 1 1 1 5 5 6 1 6 6 1 6 6 6 1 1 5 5 1 6 6 5 1 6 6 1 5 1 6 1 5 6 5 5 5 6 6 1 1 5 1 1 6 5 6 6 1 1 5 5 6 5 6 1 5 1 5 6 1 5 6 6 1 5 1 1 6 6 5 5 1 5 5 1 6 5 5 5 1 1 5 1 1 5 6 6 6 5 1 6 5 6 5 6 6 6 6 6 5 1 1 1 6 5 6 1 5 6 1 6 5 1 1 5 1 6 6 5 6 5 5 6 6 1 1 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
61000
61000
61000
61000
61000
60999
60999
60999
60999
60998
60998
60998
60998
60998
60998
60999
61000
61001
61001
61001
61002
61001
61002
61002
61003
61004
61004
61004
61003
61004
61004
61003
61004
61004
61004
61005
61005
61...

result:

ok 250003 lines

Test #45:

score: 0
Accepted
time: 1365ms
memory: 68840kb

input:

100000 250000
9 10 2 9 7 9 6 10 10 7 6 2 7 6 2 2 7 7 7 6 9 6 2 10 10 10 6 7 2 9 6 7 6 9 9 2 2 2 9 9 9 9 7 7 7 7 6 7 9 7 7 9 7 9 10 6 7 2 2 6 7 10 7 2 2 10 10 6 6 2 9 9 9 10 10 7 7 2 10 2 6 9 7 7 6 9 2 2 10 6 2 2 6 7 6 6 10 2 6 10 2 10 9 9 6 9 10 7 2 2 6 9 10 9 10 10 9 9 2 6 2 6 10 7 10 6 10 6 9 9 9 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45683
45683
45683
45682
45682
45684
45683
45683
45683
45683
45684
45684
45684
45684
45683
45683
45683
45684
45684
45685
45685
45686
45686
45686
45686
45688
45689
45688
45688
45689
45689
45689
45688
45689
45690
45689
45689
45...

result:

ok 250003 lines

Test #46:

score: 0
Accepted
time: 1262ms
memory: 68456kb

input:

100000 250000
4 6 5 9 1 2 2 3 2 6 5 2 2 8 2 9 6 6 8 9 1 8 7 9 6 9 10 7 8 8 7 8 1 10 9 5 10 3 7 4 8 4 3 1 5 1 5 9 6 3 5 7 5 5 10 3 7 10 3 4 3 2 8 6 3 4 10 8 5 2 10 6 9 8 5 6 3 7 2 7 3 4 10 8 5 5 1 8 6 6 5 5 3 8 8 10 4 5 8 9 3 4 5 5 8 8 7 10 8 2 3 6 6 5 1 3 3 8 3 6 1 9 5 5 9 6 3 1 9 2 7 10 8 2 1 9 3 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29383
29383
29383
29383
29382
29382
29383
29382
29381
29382
29383
29383
29383
29383
29382
29383
29383
29382
29383
29383
29383
29383
29383
29384
29384
29384
29385
29385
29385
29385
29386
29386
29386
29386
29385
29386
29386
29...

result:

ok 250003 lines

Test #47:

score: 0
Accepted
time: 1360ms
memory: 68560kb

input:

100000 250000
7 5 2 2 4 4 5 2 2 1 1 7 8 5 5 8 6 4 1 1 4 3 2 1 1 2 3 5 4 1 1 1 1 4 5 4 3 1 1 2 2 3 4 3 1 1 3 6 8 6 3 3 6 8 7 6 4 3 3 4 6 7 2 2 4 3 2 1 1 2 2 1 1 2 2 2 2 1 1 2 2 1 1 2 3 2 1 1 2 3 1 1 3 3 2 1 1 2 3 3 2 1 1 2 3 4 1 1 6 6 5 4 1 1 4 5 7 1 1 5 2 2 5 7 6 1 1 1 1 4 3 1 1 4 3 2 1 1 2 3 4 6 6 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
58783
58783
58784
58785
58787
58790
58791
58792
58795
58796
58798
58799
58800
58801
58802
58804
58805
58806
58808
58812
58813
58813
58814
58817
58818
58818
58819
58819
58820
58820
58822
58823
58823
58824
58825
58825
58826
58...

result:

ok 250003 lines

Test #48:

score: 0
Accepted
time: 1351ms
memory: 69176kb

input:

100000 250000
10 6 5 4 2 2 4 5 5 4 3 2 1 1 1 1 2 3 4 4 3 1 1 3 4 5 6 9 6 3 1 1 3 6 9 7 7 10 2 2 10 7 3 2 2 3 6 4 3 1 1 3 4 6 6 5 2 1 1 2 5 6 7 9 7 6 4 4 6 3 2 2 2 1 1 1 1 2 3 7 9 10 7 2 2 7 10 1 1 10 9 1 1 9 10 9 4 2 1 1 1 1 2 4 9 10 6 4 3 2 1 1 1 1 2 3 3 2 1 1 2 3 3 2 1 1 2 2 1 1 2 2 1 1 2 1 1 3 4 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
57617
57618
57619
57620
57621
57622
57623
57625
57626
57627
57628
57630
57633
57634
57639
57639
57640
57642
57644
57645
57648
57648
57649
57652
57656
57657
57658
57658
57658
57659
57661
57665
57667
57669
57675
57676
57676
57...

result:

ok 250003 lines

Test #49:

score: 0
Accepted
time: 1358ms
memory: 69256kb

input:

100000 250000
10 9 8 7 6 5 4 3 1 1 3 4 5 6 3 1 1 3 4 3 1 1 1 1 3 2 1 1 1 1 2 4 6 5 4 3 2 1 1 2 3 4 5 5 2 1 1 2 5 6 7 8 8 3 2 1 1 2 3 8 7 6 5 4 3 2 1 1 2 3 4 5 6 7 9 8 7 6 5 4 1 1 3 2 1 1 2 3 4 5 3 1 1 3 5 1 1 5 5 4 3 2 1 1 2 3 4 5 3 1 1 3 5 3 2 2 3 4 3 2 1 1 2 3 4 5 6 7 8 8 7 5 3 3 5 7 8 9 3 2 2 3 8...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
56859
56860
56861
56866
56867
56867
56867
56868
56874
56875
56877
56878
56879
56880
56884
56884
56884
56884
56885
56886
56886
56887
56888
56891
56892
56894
56897
56901
56902
56904
56908
56909
56909
56913
56914
56915
56915
56...

result:

ok 250003 lines

Test #50:

score: 0
Accepted
time: 741ms
memory: 66344kb

input:

100000 250000
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99990
99988
99987
99989
99990
99984
99981
99982
99990
99986
99981
99982
99990
99989
99985
99986
99990
99987
99980
99981
99990
99985
99981
99982
99990
99985
99982
99983
99990
99986
99983
99984
99990
99987
99985
99986
99990
99...

result:

ok 250003 lines

Test #51:

score: 0
Accepted
time: 787ms
memory: 67012kb

input:

100000 250000
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99990
99988
99980
99981
99990
99988
99987
99989
99990
99985
99984
99985
99990
99988
99984
99985
99990
99988
99987
99989
99990
99985
99982
99983
99990
99983
99982
99984
99990
99982
99981
99988
99990
99987
99981
99982
99990
99...

result:

ok 250003 lines

Test #52:

score: 0
Accepted
time: 833ms
memory: 67460kb

input:

100000 250000
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99990
99985
99980
99981
99990
99983
99982
99983
99990
99983
99982
99989
99990
99983
99982
99983
99990
99989
99985
99986
99990
99989
99985
99986
99990
99985
99980
99981
99990
99984
99981
99982
99990
99984
99983
99987
99990
99...

result:

ok 250003 lines

Subtask #4:

score: 7
Accepted

Test #53:

score: 7
Accepted
time: 514ms
memory: 53896kb

input:

40000 100000
991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 991919848 9919198...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39500
39502
39503
39504
39505
39506
39509
39510
39513
39515
39517
39518
39519
39520
39522
39524
39525
39526
39527
39528
39530
39531
39530
39532
39534
39537
39538
39540
39542
39544
39545
39547
39548
39549
39551
39553
39553
39...

result:

ok 100003 lines

Test #54:

score: 0
Accepted
time: 500ms
memory: 53504kb

input:

40000 100000
904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 904964159 9049641...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39466
39468
39470
39472
39473
39474
39476
39479
39480
39482
39484
39485
39486
39488
39489
39491
39493
39495
39496
39498
39499
39501
39503
39505
39506
39508
39510
39511
39512
39514
39516
39518
39519
39521
39523
39525
39527
39...

result:

ok 100003 lines

Test #55:

score: 0
Accepted
time: 494ms
memory: 54480kb

input:

40000 100000
995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 995134092 9951340...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39406
39407
39408
39409
39411
39412
39415
39417
39418
39420
39422
39424
39426
39428
39430
39431
39433
39435
39437
39439
39441
39443
39445
39446
39448
39450
39452
39453
39455
39457
39459
39461
39463
39464
39465
39468
39469
39...

result:

ok 100003 lines

Test #56:

score: 0
Accepted
time: 470ms
memory: 53892kb

input:

40000 100000
999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 999756740 9997567...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39311
39313
39315
39317
39319
39320
39322
39324
39326
39327
39329
39331
39333
39335
39337
39338
39340
39342
39342
39344
39345
39347
39349
39351
39352
39353
39355
39357
39359
39361
39363
39365
39367
39368
39370
39372
39374
39...

result:

ok 100003 lines

Test #57:

score: 0
Accepted
time: 491ms
memory: 51020kb

input:

40000 100000
999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 999904782 9999047...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
38085
38087
38089
38091
38093
38095
38097
38099
38100
38102
38104
38106
38108
38110
38111
38113
38115
38117
38119
38121
38123
38124
38126
38128
38130
38132
38134
38136
38138
38139
38141
38142
38144
38145
38147
38149
38151
38...

result:

ok 100003 lines

Test #58:

score: 0
Accepted
time: 469ms
memory: 50864kb

input:

40000 100000
999889918 999561233 999270500 999270500 999245714 999245714 999245714 999245714 999245714 999245714 999048380 999048380 999048380 999048380 998915792 998915792 998915792 998915792 998915792 998854638 998854638 998854638 998854638 998854638 998854638 998830228 998830228 998271950 9982719...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
26959
26960
26962
26963
26964
26966
26968
26969
26970
26971
26972
26975
26976
26976
26977
26979
26980
26981
26982
26983
26985
26986
26987
26988
26990
26991
26993
26993
26994
26995
26997
26998
27000
27037
27039
27039
27040
27...

result:

ok 100003 lines

Test #59:

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

input:

40000 100000
999992973 999992973 999916790 999916790 999916790 999916790 999909828 999909828 999909828 999992973 999896214 999743786 999743786 999740038 999721153 999721153 999721153 999653912 999653912 999493838 999493838 999359881 999359881 999344998 999344998 999344998 999344998 999300184 9992855...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19139
19140
19141
19142
19144
19145
19145
19145
19146
19146
19146
19146
19147
19147
19149
19150
19152
19153
19153
19154
19156
19157
19158
19159
19161
19162
19163
19165
19166
19167
19167
19168
19170
19171
19172
19173
19174
19...

result:

ok 100003 lines

Test #60:

score: 0
Accepted
time: 412ms
memory: 43600kb

input:

40000 100000
999872654 999861417 999772134 999772134 999734767 999734767 999696791 999688235 999654086 999643050 999643050 999634360 999634360 999634360 999513313 999447375 999447375 999447375 999447375 999409880 999379925 999379925 999300135 999298133 999298133 999166908 999130964 999057442 9987396...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14547
14547
14549
14550
14551
14551
14552
14553
14554
14555
14556
14556
14556
14557
14558
14559
14559
14560
14560
14561
14561
14566
14566
14566
14567
14568
14570
14571
14572
14572
14573
14574
14576
14577
14577
14578
14578
14...

result:

ok 100003 lines

Test #61:

score: 0
Accepted
time: 345ms
memory: 41736kb

input:

40000 100000
999996785 999939002 999920902 999879324 999838309 999831948 999822082 999796869 999790198 999725083 999629864 999556811 999494957 999477355 999464979 999445305 999416670 999404434 999382884 999374227 999354440 999337131 999335516 999313300 999289115 999215908 999744326 998947806 9989180...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
588
589
592
592
592
592
592
592
592
592
593
593
593
593
593
593
593
593
593
593
593
593
593
593
593
593
593
593
593
594
594
594
594
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
599
...

result:

ok 100003 lines

Test #62:

score: 0
Accepted
time: 476ms
memory: 44268kb

input:

100000 85453
662004428 662004428 662004428 662004428 285389268 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 662004428 285389268 662004428 662004428 662004428 285389268 662004428 662004428 285389268 662004428 662004428 6620044...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
87530
87530
87529
87528
87528
87527
87527
87526
87525
87525
87524
87523
87522
87523
87523
87523
87522
87521
87520
87519
87519
87518
87517
87516
87515
87514
87513
87512
87511
87510
87510
87509
87509
87508
87507
87507
87507
87...

result:

ok 85456 lines

Test #63:

score: 0
Accepted
time: 733ms
memory: 50624kb

input:

100000 130170
687775446 687775446 687775446 687775446 687775446 687775446 687775446 687775446 687775446 687775446 687775446 687775446 66131936 687775446 687775446 153170868 687775446 687775446 153170868 687775446 153170868 687775446 687775446 687775446 687775446 687775446 687775446 687775446 6877754...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
82091
82091
82090
82089
82088
82087
82086
82085
82084
82083
82082
82081
82080
82079
82079
82079
82078
82077
82076
82075
82074
82074
82073
82072
82071
82070
82069
82068
82067
82066
82065
82064
82065
82065
82064
82063
82062
82...

result:

ok 130173 lines

Test #64:

score: 0
Accepted
time: 1294ms
memory: 62824kb

input:

100000 250000
986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 986692197 286706529 263144019 263144019 513324265 986692197 986692197 986692197 986692197 263144019 112713891 986692197 986692197 986692...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
72113
72112
72111
72110
72110
72109
72108
72107
72106
72106
72106
72106
72105
72104
72104
72103
72103
72103
72102
72101
72101
72100
72099
72098
72097
72096
72095
72094
72093
72092
72091
72090
72090
72090
72089
72089
72088
72...

result:

ok 250003 lines

Test #65:

score: 0
Accepted
time: 1242ms
memory: 63368kb

input:

100000 250000
259412947 915441273 915441273 915441273 915441273 915441273 915441273 915441273 41568879 915441273 41568879 915441273 915441273 915441273 915441273 915441273 915441273 915441273 915441273 915441273 915441273 786625775 915441273 915441273 915441273 915441273 915441273 915441273 91544127...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
70293
70292
70291
70291
70290
70289
70288
70287
70287
70286
70286
70285
70284
70283
70282
70281
70280
70279
70278
70278
70278
70277
70276
70276
70275
70275
70274
70274
70273
70273
70273
70272
70271
70270
70269
70268
70267
70...

result:

ok 250003 lines

Test #66:

score: 0
Accepted
time: 1171ms
memory: 64852kb

input:

100000 250000
972766086 972766086 972766086 235311221 972766086 730052587 972766086 194240551 173272584 972766086 832962158 730052587 972766086 972766086 730052587 972766086 972766086 972766086 972766086 173272584 972766086 962996883 972766086 972766086 972766086 972766086 304469796 972766086 972766...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
69540
69539
69538
69538
69537
69536
69536
69535
69534
69534
69533
69532
69531
69530
69530
69531
69531
69531
69530
69530
69529
69528
69527
69527
69526
69525
69524
69524
69523
69522
69521
69520
69519
69518
69517
69516
69515
69...

result:

ok 250003 lines

Test #67:

score: 0
Accepted
time: 1123ms
memory: 64364kb

input:

100000 250000
154807547 918756403 953813422 619806450 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 420454628 953813422 866134938 953813422 953813422 953813422 360533231 20081630 953813422 953813422 953813422 953813422 953813422 9538134...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
68574
68574
68574
68573
68572
68571
68570
68569
68569
68568
68567
68566
68566
68565
68564
68563
68562
68561
68560
68559
68558
68557
68556
68556
68556
68556
68555
68555
68555
68555
68554
68554
68553
68553
68553
68552
68551
68...

result:

ok 250003 lines

Test #68:

score: 0
Accepted
time: 1075ms
memory: 66828kb

input:

100000 250000
852602535 249311522 976091974 627509820 64210097 976091974 976091974 976091974 617299575 976091974 349688741 118611971 581831340 976091974 555461910 434601718 976091974 976091974 976091974 64210097 976091974 976091974 976091974 765558531 976091974 976091974 976091974 976091974 97609197...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
67872
67871
67870
67869
67869
67868
67868
67867
67867
67866
67865
67865
67865
67864
67863
67863
67862
67861
67860
67859
67858
67857
67856
67855
67854
67853
67853
67854
67853
67852
67851
67850
67849
67849
67848
67847
67846
67...

result:

ok 250003 lines

Test #69:

score: 0
Accepted
time: 1034ms
memory: 68960kb

input:

100000 250000
984228313 984228313 984228313 984228313 984228313 984228313 740791129 984228313 984228313 140209594 984228313 984228313 984228313 379857068 984228313 984228313 984228313 867403878 680442778 984228313 680442778 984228313 365412827 965277635 984228313 984228313 984228313 984228313 984228...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
67031
67030
67030
67029
67029
67028
67027
67026
67025
67024
67024
67023
67023
67022
67021
67020
67020
67019
67018
67018
67017
67016
67015
67014
67013
67012
67011
67011
67010
67009
67009
67008
67007
67006
67005
67005
67004
67...

result:

ok 250003 lines

Test #70:

score: 0
Accepted
time: 998ms
memory: 72448kb

input:

100000 250000
715257169 997296570 997296570 542312762 997296570 997296570 27873846 302224626 87347482 997296570 401624705 471054633 829392280 997296570 997296570 846504156 789999894 997296570 745260120 997296570 997296570 772173017 997296570 997296570 11575993 198643972 997296570 997296570 43349906 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66442
66441
66441
66440
66439
66438
66438
66437
66437
66436
66435
66435
66434
66433
66433
66432
66431
66430
66430
66429
66428
66427
66427
66427
66426
66425
66424
66423
66423
66422
66421
66420
66420
66419
66419
66419
66418
66...

result:

ok 250003 lines

Test #71:

score: 0
Accepted
time: 1002ms
memory: 70000kb

input:

100000 250000
999986079 999986079 999986079 999986079 103890029 999986079 999986079 999986079 999986079 650871372 999986079 292720648 974802302 999986079 999986079 999986079 999986079 26228771 294305020 290616853 999986079 999986079 999986079 999986079 999986079 461483689 436031264 999986079 9999860...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66681
66680
66680
66679
66679
66678
66677
66677
66676
66675
66674
66674
66674
66673
66673
66672
66671
66671
66671
66671
66670
66669
66668
66667
66666
66665
66664
66664
66664
66664
66663
66662
66661
66661
66660
66660
66659
66...

result:

ok 250003 lines

Test #72:

score: 0
Accepted
time: 987ms
memory: 70272kb

input:

100000 250000
999956035 999956035 999956035 975343702 276311040 526419381 764599436 999956035 999956035 119568539 999956035 845700142 999956035 321583982 999956035 402892072 314737338 999956035 107619066 807964020 90604722 999956035 999956035 438108578 999956035 999956035 392747420 999956035 4271003...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66891
66891
66890
66890
66890
66890
66889
66888
66887
66887
66887
66887
66886
66885
66885
66884
66883
66883
66882
66882
66881
66880
66880
66879
66878
66877
66876
66875
66874
66873
66873
66872
66871
66871
66870
66869
66868
66...

result:

ok 250003 lines

Test #73:

score: 0
Accepted
time: 1006ms
memory: 69756kb

input:

100000 250000
768126538 337685990 999958418 711799067 999958418 999958418 350680706 999958418 999958418 603135203 999958418 999958418 999958418 158588521 999958418 999958418 999958418 999958418 604529317 725404484 999958418 999958418 999958418 999958418 999958418 999958418 794883357 673444118 561480...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66857
66856
66856
66855
66854
66853
66852
66852
66851
66850
66849
66848
66847
66846
66846
66845
66844
66843
66842
66841
66841
66840
66839
66838
66838
66838
66837
66836
66835
66834
66833
66833
66833
66832
66831
66830
66829
66...

result:

ok 250003 lines

Test #74:

score: 0
Accepted
time: 986ms
memory: 69704kb

input:

100000 250000
999999981 999999981 999999981 999999981 699071796 873377350 999999981 999999981 999999981 999999981 999999981 410924212 999999981 999999981 959094338 999999981 806122749 225452616 999999981 999999981 999999981 999999981 999999981 999999981 999999981 999999981 999999981 728497588 999999...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66742
66741
66740
66739
66738
66737
66737
66736
66735
66734
66733
66733
66732
66731
66730
66729
66728
66727
66726
66725
66724
66723
66723
66723
66723
66723
66722
66721
66720
66720
66719
66718
66717
66716
66716
66715
66714
66...

result:

ok 250003 lines

Test #75:

score: 0
Accepted
time: 996ms
memory: 73012kb

input:

100000 250000
999983432 999983432 999983432 999983432 999983432 999983432 599939613 999983432 999983432 999983432 32616393 972407866 999983432 631379484 807942580 686883818 999983432 222015091 751344820 999983432 999983432 999983432 999983432 999983432 999983432 999983432 5814454 149875208 999983432...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66678
66677
66676
66675
66674
66674
66673
66672
66671
66670
66669
66668
66668
66667
66666
66666
66666
66666
66665
66665
66664
66664
66663
66662
66661
66660
66660
66660
66660
66660
66660
66660
66660
66659
66658
66658
66657
66...

result:

ok 250003 lines

Test #76:

score: 0
Accepted
time: 996ms
memory: 72404kb

input:

100000 250000
999988304 999988304 999988304 999988304 999988304 234551441 714438885 280102669 999988304 70707593 426860644 999988304 107567124 752699322 170585391 289412001 999988304 999988304 333705407 11569488 999988304 628692358 999988304 999988304 999988304 292308423 845803547 999988304 99998830...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66366
66365
66364
66363
66362
66362
66361
66360
66359
66358
66358
66358
66357
66357
66356
66356
66355
66354
66353
66353
66353
66352
66351
66351
66350
66349
66349
66348
66348
66348
66348
66347
66346
66345
66344
66343
66342
66...

result:

ok 250003 lines

Test #77:

score: 0
Accepted
time: 1004ms
memory: 72388kb

input:

100000 250000
664575124 999992401 999992401 999992401 999992401 284065728 999992401 999992401 999992401 999992401 38476082 166909867 697327885 999992401 486301633 999992401 125684772 999992401 114762219 999992401 999992401 999992401 999992401 999992401 326763594 852217607 999992401 372415076 9999924...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66584
66583
66583
66582
66582
66582
66581
66580
66579
66578
66577
66576
66576
66575
66575
66575
66575
66575
66575
66574
66573
66572
66572
66572
66571
66571
66571
66570
66570
66570
66569
66568
66567
66566
66565
66564
66564
66...

result:

ok 250003 lines

Test #78:

score: 0
Accepted
time: 1002ms
memory: 71832kb

input:

100000 250000
999999784 778967601 21139690 910446639 999999784 999999784 510563830 999999784 999999784 758557937 555739811 999999784 999999784 283267924 999999784 999999784 999999784 999999784 999999784 771439298 999999784 787673672 290028462 999999784 999999784 999999784 128066029 999999784 9999997...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66529
66529
66528
66527
66526
66525
66524
66524
66523
66522
66522
66522
66521
66520
66519
66519
66519
66518
66517
66516
66516
66516
66515
66515
66514
66513
66512
66512
66511
66510
66509
66508
66507
66507
66506
66505
66504
66...

result:

ok 250003 lines

Test #79:

score: 0
Accepted
time: 1342ms
memory: 72748kb

input:

100000 250000
953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813422 953813...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99161
99163
99164
99166
99168
99169
99171
99173
99175
99176
99178
99180
99182
99182
99183
99185
99186
99188
99190
99192
99194
99196
99198
99200
99201
99202
99203
99205
99207
99209
99211
99212
99214
99215
99217
99219
99221
99...

result:

ok 250003 lines

Test #80:

score: 0
Accepted
time: 1328ms
memory: 72228kb

input:

100000 250000
976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091974 976091...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
99101
99102
99104
99106
99108
99110
99112
99114
99115
99116
99117
99118
99119
99120
99122
99125
99127
99129
99130
99131
99133
99135
99136
99137
99138
99139
99141
99143
99144
99145
99146
99147
99148
99150
99152
99153
99155
99...

result:

ok 250003 lines

Test #81:

score: 0
Accepted
time: 1321ms
memory: 73528kb

input:

100000 250000
984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228313 984228...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
98982
98984
98985
98987
98988
98991
98992
98994
98996
98998
99000
99001
99003
99005
99006
99008
99010
99012
99014
99016
99018
99020
99022
99024
99026
99028
99030
99032
99034
99036
99038
99039
99041
99042
99044
99046
99048
99...

result:

ok 250003 lines

Test #82:

score: 0
Accepted
time: 1353ms
memory: 72048kb

input:

100000 250000
997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296570 997296...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
97711
97713
97715
97717
97719
97721
97723
97725
97727
97729
97731
97733
97735
97736
97738
97740
97742
97744
97746
97747
97749
97751
97753
97755
97757
97761
97763
97765
97766
97768
97770
97772
97774
97776
97778
97781
97783
97...

result:

ok 250003 lines

Test #83:

score: 0
Accepted
time: 1341ms
memory: 74372kb

input:

100000 250000
999986079 999986079 999986079 999986079 999986079 999986079 999986079 999986079 999942321 999986079 999942321 999942321 999942321 999942321 999942321 999942321 999942321 999942321 999942321 999942321 999811704 999811704 999811704 999811704 999811704 999811704 999811704 999732963 999732...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
85843
85845
85847
85848
85849
85851
85853
85855
85857
85859
85860
85862
85863
85865
85866
85868
85870
85871
85872
85874
85876
85878
85879
85881
85882
85884
85886
85888
85889
85890
85892
85894
85896
85898
85899
85901
85902
85...

result:

ok 250003 lines

Test #84:

score: 0
Accepted
time: 1250ms
memory: 74372kb

input:

100000 250000
999956035 999956035 999956035 999947364 999947364 999913503 999903682 999903682 999881517 999881517 999881517 999873511 999873511 999873511 999820906 999820906 999662797 999662797 999662797 999662797 999662797 999662797 999638417 999638417 999628555 999615681 999615681 999615681 999611...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
67946
67948
67949
67951
67952
67954
67955
67956
67958
67959
67961
67962
67963
67965
67967
67968
67970
67972
67974
67975
67977
67979
67981
67983
67984
67985
67987
67988
67990
67991
67992
67993
67994
67995
67997
67998
68000
68...

result:

ok 250003 lines

Test #85:

score: 0
Accepted
time: 1191ms
memory: 74260kb

input:

100000 250000
999958418 999958418 999919808 999879483 999879483 999879483 999861014 999859848 999859848 999812870 999812870 999770768 999766046 999766046 999739056 999709635 999673047 999667495 999667495 999654148 999654148 999640226 999627397 999627397 999627397 999578714 999578714 999551740 999551...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47725
47725
47727
47727
47728
47729
47730
47732
47732
47732
47733
47733
47734
47734
47735
47735
47736
47736
47737
47738
47739
47741
47743
47743
47743
47743
47743
47744
47745
47746
47748
47749
47749
47751
47751
47751
47753
47...

result:

ok 250003 lines

Test #86:

score: 0
Accepted
time: 1127ms
memory: 73800kb

input:

100000 250000
999986155 999966024 999930846 999929342 999927926 999923439 999923439 999923439 999913255 999909845 999909845 999880522 999876084 999851317 999740061 999740061 999696545 999673393 999609613 999585115 999532841 999529421 999490080 999490080 999448055 999443976 999376882 999322605 999322...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
37220
37220
37220
37222
37223
37223
37224
37225
37226
37226
37227
37228
37228
37229
37230
37231
37231
37234
37235
37236
37237
37236
37236
37237
37239
37241
37241
37242
37243
37243
37244
37245
37247
37247
37247
37248
37249
37...

result:

ok 250003 lines

Test #87:

score: 0
Accepted
time: 1104ms
memory: 73984kb

input:

100000 250000
999983432 999979158 999954938 999950683 999915181 999858725 999847219 999847219 999845682 999845682 999843264 999833967 999806398 999795344 999789920 999789920 999789920 999787898 999785529 999761828 999745206 999712122 999712122 999694961 999690553 999673047 999619986 999576656 999527...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29661
29662
29661
29661
29662
29662
29662
29662
29663
29663
29663
29663
29663
29663
29665
29665
29666
29666
29667
29667
29667
29667
29668
29692
29692
29693
29694
29695
29696
29697
29699
29699
29699
29701
29702
29703
29704
29...

result:

ok 250003 lines

Test #88:

score: 0
Accepted
time: 1088ms
memory: 73844kb

input:

100000 250000
999980758 999967618 999937268 999928099 999916021 999916021 999868841 999861667 999861667 999856535 999856535 999835140 999776357 999768553 999768553 999768553 999766690 999713220 999670794 999670794 999639154 999639154 999610839 999610839 999597807 999567805 999567805 999567805 999540...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
21361
21361
21361
21362
21363
21363
21363
21364
21364
21364
21365
21365
21365
21365
21366
21366
21366
21367
21368
21368
21369
21369
21370
21370
21371
21371
21372
21373
21373
21374
21374
21374
21375
21376
21377
21377
21377
21...

result:

ok 250003 lines

Test #89:

score: 0
Accepted
time: 985ms
memory: 73244kb

input:

100000 250000
999955571 999941135 999926131 999913126 999892687 999871266 999861852 999860919 999860911 999858163 999799124 999795162 999793863 999775923 999773184 999743505 999706594 999695939 999681972 999680383 999679245 999676828 999663116 999659202 999649649 999632552 999625225 999619328 999614...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3623
3624
3624
3625
3625
3625
3625
3625
3625
3626
3626
3626
3626
3626
3626
3626
3626...

result:

ok 250003 lines

Subtask #5:

score: 15
Accepted

Test #90:

score: 15
Accepted
time: 368ms
memory: 60732kb

input:

40000 100000
509022837 276256078 276256078 476225659 33306347 314759344 476225659 308322023 192358455 192358455 308322023 411011374 215810488 215810488 411011374 450431769 125517976 125517976 450431769 257979981 257979981 278237670 48522925 48522925 278237670 509022837 595233830 419639380 419639380 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19674
19675
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19690
19691
19692
19694
19695
19696
19697
19698
19699
19700
19701
19702
19705
19706
19710
19711
19712
19713
19714
19715
19716
19717
19718
19720
19722
19...

result:

ok 100003 lines

Test #91:

score: 0
Accepted
time: 390ms
memory: 60740kb

input:

40000 100000
694133317 617464448 348319402 76302750 76302750 285476994 258294087 16583838 4229550 4229550 16583838 258294087 285476994 341167059 312232621 216736850 194202135 190396294 190396294 194202135 216736850 312232621 341167059 328294815 313791467 160351456 145165012 138542549 96591751 317040...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19573
19574
19576
19577
19577
19578
19579
19581
19583
19584
19585
19588
19589
19590
19591
19592
19593
19595
19600
19601
19602
19607
19608
19612
19618
19621
19629
19631
19632
19633
19634
19635
19636
19642
19643
19644
19650
19...

result:

ok 100003 lines

Test #92:

score: 0
Accepted
time: 406ms
memory: 61976kb

input:

40000 100000
953047024 894779489 771452810 351253866 399980294 48694889 48694889 399980294 423330732 742321578 609474669 527003049 473378951 337667362 328827769 40236169 39112059 38994584 15126905 12697530 12697530 15126905 38994584 39112059 40236169 328827769 337667362 473378951 527003049 70843019 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19303
19309
19313
19314
19315
19316
19317
19325
19327
19328
19329
19330
19340
19341
19342
19343
19344
19348
19351
19356
19357
19366
19367
19368
19369
19370
19371
19372
19372
19373
19376
19377
19378
19382
19384
19385
19390
19...

result:

ok 100003 lines

Test #93:

score: 0
Accepted
time: 381ms
memory: 62008kb

input:

40000 100000
998418496 987259107 942497052 935098040 919832161 863158387 856950241 848031992 804628815 788140356 771291733 656287573 646541417 623347720 594085725 531344257 493156949 489659263 482904970 438907583 396200258 333543162 320848445 262928254 245822381 181376879 161999045 130533799 1229979...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19371
19372
19373
19374
19375
19376
19402
19426
19427
19428
19430
19442
19463
19482
19483
19484
19488
19489
19527
19547
19571
19572
19573
19574
19575
19576
19577
19578
19579
19603
19604
19605
19640
19704
19723
19724
19757
19...

result:

ok 100003 lines

Test #94:

score: 0
Accepted
time: 396ms
memory: 62848kb

input:

40000 100000
998694572 983016328 974435405 968554628 939567530 934475838 927734484 924340604 864405512 860324185 840847812 801137549 795907834 776265208 771988958 766675301 740840295 417014783 702443603 693376099 692149423 679997035 676265554 670052297 665560436 651586965 638104504 628682320 6234344...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16936
16937
16937
16938
16939
17027
17027
17029
17041
17076
17077
17081
17082
17083
17098
17122
17126
17126
17127
17128
17129
17145
17146
17146
17182
17225
17225
17254
17255
17256
17297
17305
17306
17307
17374
17375
17375
17...

result:

ok 100003 lines

Test #95:

score: 0
Accepted
time: 382ms
memory: 61736kb

input:

40000 100000
998245779 996036782 993876956 986836311 984300353 984108760 982338738 981674099 979525054 977569530 970809281 968586661 967151110 961714619 960162363 959127926 955758102 950830230 944019151 943682820 939077149 934202811 924270199 919696572 912926413 904525664 902117397 901303770 8999524...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
15622
15663
15664
15665
15665
15666
15667
15667
15668
15765
15766
15947
15951
15985
15992
16057
16075
16075
16075
16076
16096
16096
16098
16099
16100
16103
16109
16110
16111
16112
16113
16198
16256
16257
16257
16258
16259
16...

result:

ok 100003 lines

Test #96:

score: 0
Accepted
time: 384ms
memory: 63032kb

input:

40000 100000
997418287 996845662 996074523 995462900 992989199 991834022 991710696 989562450 986167308 983232749 981471670 978209896 975111919 974118871 971823942 971348746 967832457 965595698 965089717 963750036 962529253 961691948 961454823 960641287 958204504 958028428 955593767 954105298 9526319...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
10452
10452
10453
10453
10453
10454
10498
10498
10498
10498
10498
10507
10507
10508
10508
10508
10508
10508
10509
10510
10516
10517
10518
10519
10554
10555
10556
10557
10557
10558
10558
10559
10559
10575
10576
10577
10577
10...

result:

ok 100003 lines

Test #97:

score: 0
Accepted
time: 364ms
memory: 62940kb

input:

40000 100000
999981790 999244166 998651661 998263693 997571574 996637712 996055317 995759907 995347132 995038929 994896681 994666275 994150387 994061124 991501281 990261226 990253655 989463750 987852647 983550189 983357363 982917926 979806452 977865200 976994420 976346175 991326080 974466558 9744062...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
8963
8963
8963
8963
8963
8964
8965
8965
8965
8965
8965
8966
8966
8993
8993
8994
9015
9230
9231
9231
9263
9263
9264
9264
9265
9266
9267
9268
9268
9268
9268
9269
9353
9353
9459
9459
9459
9471
9472
9473
9473
9474
9475
9476
9476...

result:

ok 100003 lines

Test #98:

score: 0
Accepted
time: 373ms
memory: 61940kb

input:

40000 100000
999804480 999797712 999667379 999455044 999014412 998903323 998874662 998552734 998197797 997969040 995680200 995348993 995188900 994968028 994565034 994441138 994070936 993728171 993206911 992838871 992798832 992395270 992231787 992180046 991364608 991303894 991168242 990792262 9894153...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
9469
9470
9471
9642
9643
9644
9645
9645
9645
9645
9646
9647
9647
9648
9649
9649
9649
9649
9649
9650
9650
9650
9650
9650
9650
9650
9651
9651
9652
9652
9722
9722
9722
9723
9724
9725
9725
9726
9727
9728
9728
9729
9729
9729
9729...

result:

ok 100003 lines

Test #99:

score: 0
Accepted
time: 393ms
memory: 62832kb

input:

40000 100000
999957812 999914910 999650911 999534181 999495860 999473827 999006622 998655285 998419013 998075012 997526598 997497447 997238309 996406070 996348445 996209291 995926895 995806676 995406775 993948758 993909026 993237579 992858084 992145953 992046419 991297098 991066920 990964750 9908836...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5879
5879
5880
5880
5881
5881
5881
5882
5883
5883
5884
5884
5884
5885
6203
6203
6203
6217
6217
6217
6217
6217
6217
6218
6218
6218
6218
6219
6219
6219
6219
6220
6220
6220
6220
6221
6221
6221
6221
6241
6241
6241
6241
6241
6241...

result:

ok 100003 lines

Test #100:

score: 0
Accepted
time: 377ms
memory: 63016kb

input:

40000 100000
999979839 999823537 999303553 999286834 999196792 999190928 999116045 999110848 999103198 999096084 998924416 998816514 998815277 998757411 998753168 998651586 998612974 998561246 998500470 998476609 998345451 998124178 997680606 997663498 997517293 997230309 997202491 997111896 9969166...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2119
2119
2119
2119
2119
2120
2120
2120
2142
2142
2142
2142
2142
2142
2142
2142
2143
2143
2143
2143
2143
2144
2800
2800
2800
2922
2923
2923
2923
2924
2924
2924
2924
2924
2924
2924
2925
2925
2926
2926
2926
2926
2926
2926
2926...

result:

ok 100003 lines

Test #101:

score: 0
Accepted
time: 357ms
memory: 62920kb

input:

40000 100000
999998721 999993242 999960115 999948045 999940501 999938945 999905079 999904860 999728618 999709210 999633369 999598677 999581142 999499176 999493458 999304437 999276677 999232291 999208133 999203466 999135682 999087923 999050933 999043720 998939535 998885721 998863240 998784229 9987458...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1119
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120
1120...

result:

ok 100003 lines

Test #102:

score: 0
Accepted
time: 493ms
memory: 62236kb

input:

100000 84658
685697951 685697951 777369220 777369220 777369220 685697951 685697951 777369220 777369220 685697951 685697951 685697951 685697951 777369220 685697951 777369220 685697951 777369220 685697951 777369220 685697951 777369220 685697951 685697951 777369220 777369220 777369220 685697951 6856979...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
75011
75012
75012
75012
75013
75012
75011
75012
75012
75013
75013
75012
75011
75011
75012
75012
75012
75011
75011
75011
75010
75010
75011
75011
75010
75010
75011
75011
75012
75013
75013
75012
75012
75013
75013
75014
75014
75...

result:

ok 84661 lines

Test #103:

score: 0
Accepted
time: 706ms
memory: 65012kb

input:

100000 129162
896056043 896056043 104724955 150930649 896056043 896056043 150930649 896056043 896056043 896056043 104724955 104724955 150930649 896056043 896056043 104724955 896056043 896056043 104724955 896056043 896056043 104724955 896056043 104724955 104724955 150930649 104724955 896056043 896056...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
66687
66688
66689
66690
66691
66691
66692
66692
66691
66692
66691
66691
66691
66691
66691
66690
66689
66688
66688
66689
66690
66691
66690
66690
66689
66688
66688
66688
66689
66689
66689
66688
66688
66688
66687
66686
66686
66...

result:

ok 129165 lines

Test #104:

score: 0
Accepted
time: 1227ms
memory: 75092kb

input:

100000 250000
222190128 68181961 904699447 904699447 68181961 904699447 904699447 603189307 904699447 594576764 904699447 904699447 68181961 68181961 904699447 515939597 68181961 603189307 904699447 68181961 68181961 904699447 904699447 603189307 68181961 68181961 904699447 68181961 119438914 445657...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
52235
52234
52233
52233
52232
52233
52232
52231
52231
52231
52230
52229
52228
52226
52227
52226
52226
52225
52225
52225
52225
52224
52223
52222
52222
52222
52221
52221
52221
52221
52221
52221
52221
52221
52221
52220
52219
52...

result:

ok 250003 lines

Test #105:

score: 0
Accepted
time: 1168ms
memory: 75096kb

input:

100000 250000
687879614 33963896 33963896 33963896 568600067 945495541 804250865 33963896 945495541 33963896 945495541 945495541 33963896 945495541 804295408 33963896 945495541 804250865 33963896 804295408 945495541 568600067 33963896 33963896 463543683 33963896 33963896 945495541 511304756 56860006...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49785
49786
49785
49784
49783
49783
49783
49783
49783
49783
49782
49783
49782
49781
49780
49780
49779
49778
49777
49777
49777
49777
49776
49774
49773
49772
49771
49771
49771
49770
49769
49768
49768
49767
49767
49767
49767
49...

result:

ok 250003 lines

Test #106:

score: 0
Accepted
time: 1150ms
memory: 75696kb

input:

100000 250000
225128531 991886644 652709278 9518219 991886644 991886644 625912030 991886644 655804644 925796557 991886644 9518219 991886644 9518219 991886644 466975429 655804644 991886644 991886644 892693553 991886644 991886644 991886644 991886644 991886644 991886644 991886644 860805952 991886644 95...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48612
48611
48610
48610
48608
48607
48608
48607
48608
48608
48607
48606
48605
48604
48604
48603
48603
48603
48602
48603
48602
48602
48602
48602
48601
48602
48602
48601
48601
48600
48601
48600
48599
48598
48598
48598
48598
48...

result:

ok 250003 lines

Test #107:

score: 0
Accepted
time: 1132ms
memory: 75572kb

input:

100000 250000
91863852 981481916 171670750 981481916 91863852 981481916 981481916 91863852 91863852 341457456 91863852 620398479 981481916 797930420 981481916 981481916 91863852 91863852 91863852 981481916 91863852 650680943 981481916 91863852 91863852 91863852 981481916 409355800 517480662 98148191...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47256
47256
47255
47254
47253
47253
47253
47253
47252
47252
47252
47252
47251
47250
47249
47248
47249
47248
47247
47246
47246
47246
47244
47244
47244
47244
47244
47245
47245
47244
47244
47243
47243
47242
47241
47240
47240
47...

result:

ok 250003 lines

Test #108:

score: 0
Accepted
time: 1111ms
memory: 75768kb

input:

100000 250000
5392568 5392568 997499233 997499233 997499233 5392568 69986580 5392568 191958633 997499233 5392568 997499233 997499233 5392568 509370426 5392568 5392568 997499233 5392568 5392568 997499233 493679670 997499233 5392568 5392568 5392568 5392568 997499233 5392568 997499233 997499233 2108938...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46273
46273
46273
46273
46272
46270
46268
46268
46268
46267
46267
46266
46266
46265
46266
46266
46264
46264
46264
46263
46263
46262
46261
46260
46260
46259
46258
46258
46258
46258
46256
46256
46256
46255
46255
46254
46253
46...

result:

ok 250003 lines

Test #109:

score: 0
Accepted
time: 1060ms
memory: 75516kb

input:

100000 250000
280421180 713313385 27046623 27046623 384006635 986094727 986094727 819930750 113282286 986094727 27046623 27046623 27046623 593331881 970577952 291201285 27046623 729474772 81251274 490248353 986094727 27046623 986094727 27046623 27046623 986094727 986094727 986094727 27046623 9860947...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45235
45234
45234
45233
45233
45233
45232
45231
45230
45229
45229
45228
45229
45228
45227
45227
45226
45225
45225
45225
45225
45224
45224
45224
45223
45223
45223
45223
45223
45223
45223
45222
45221
45220
45220
45219
45218
45...

result:

ok 250003 lines

Test #110:

score: 0
Accepted
time: 1020ms
memory: 75360kb

input:

100000 250000
999255147 3219086 3219086 3219086 318553181 3219086 3219086 3219086 213934412 999255147 761314921 3219086 3219086 999255147 999255147 999255147 999255147 255096783 999255147 3219086 568432518 919293989 999255147 3219086 999255147 999255147 3219086 999255147 3219086 999255147 381810775 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44555
44555
44555
44555
44555
44554
44554
44553
44553
44553
44551
44551
44550
44549
44548
44548
44548
44547
44546
44546
44545
44544
44544
44544
44543
44542
44541
44541
44540
44539
44539
44539
44538
44537
44537
44536
44535
44...

result:

ok 250003 lines

Test #111:

score: 0
Accepted
time: 975ms
memory: 75156kb

input:

100000 250000
173700 999945208 999945208 999945208 999945208 173700 999945208 236987260 173700 999945208 999945208 999945208 70610638 173700 114439968 704044468 161940550 701026604 173700 999945208 146516928 999945208 999945208 551654241 173700 173700 999945208 173700 658774411 173700 847194424 9999...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44296
44296
44296
44296
44296
44296
44295
44295
44294
44293
44292
44292
44291
44290
44290
44289
44288
44287
44286
44286
44286
44286
44286
44285
44284
44284
44283
44282
44282
44282
44282
44281
44280
44280
44278
44277
44277
44...

result:

ok 250003 lines

Test #112:

score: 0
Accepted
time: 983ms
memory: 73664kb

input:

100000 250000
999972737 999972737 997141773 58647 420284348 642320122 248066332 518286604 999972737 53929220 935624557 532447855 359782637 58647 999972737 58647 999972737 999972737 519315104 999972737 999972737 999972737 999972737 332577831 58647 999972737 999972737 58647 58647 239067934 999972737 5...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44425
44424
44423
44422
44422
44422
44422
44422
44422
44421
44420
44420
44420
44420
44419
44418
44417
44417
44417
44417
44416
44416
44416
44415
44414
44414
44413
44412
44412
44411
44410
44410
44409
44408
44408
44408
44408
44...

result:

ok 250003 lines

Test #113:

score: 0
Accepted
time: 1002ms
memory: 73904kb

input:

100000 250000
1984 1984 100747642 139924544 1984 1984 999986469 1984 1984 999986469 999986469 999986469 1984 999986469 1984 1984 999986469 1984 999986469 1984 179053977 999986469 16297126 643243843 1984 999986469 901227655 999986469 1984 146959133 999986469 1984 679915592 1984 999986469 999986469 99...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44332
44331
44331
44331
44330
44330
44330
44330
44329
44328
44327
44325
44324
44324
44324
44324
44324
44323
44322
44322
44321
44321
44321
44320
44320
44318
44317
44317
44316
44316
44315
44314
44314
44312
44311
44311
44310
44...

result:

ok 250003 lines

Test #114:

score: 0
Accepted
time: 1086ms
memory: 75696kb

input:

100000 250000
43310646 303852511 999969597 664869089 822973329 4573 999969597 4573 999969597 348265872 999969597 999969597 4573 101659625 999969597 4573 201285900 4573 459934980 197699744 4573 4573 999969597 617816768 999969597 4573 972001854 4573 860373871 20481032 999969597 4573 999969597 4573 532...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44624
44624
44623
44623
44622
44621
44621
44621
44621
44620
44620
44620
44619
44619
44619
44618
44618
44617
44617
44617
44617
44616
44615
44615
44614
44614
44614
44613
44612
44612
44611
44610
44609
44607
44606
44605
44605
44...

result:

ok 250003 lines

Test #115:

score: 0
Accepted
time: 994ms
memory: 75544kb

input:

100000 250000
1125 1125 1125 553144507 1125 1125 1125 1125 999978990 1125 935849311 999978990 1125 999978990 1125 1125 1125 1125 999978990 71516016 999978990 1125 269494600 114073311 1125 498595917 1125 999978990 1125 157861281 500297896 999978990 999978990 770493244 272891666 1125 999978990 1125 75...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44572
44572
44571
44571
44570
44569
44569
44569
44568
44568
44567
44567
44566
44565
44564
44564
44564
44564
44563
44562
44561
44560
44559
44558
44557
44557
44556
44555
44554
44554
44554
44554
44554
44553
44552
44552
44551
44...

result:

ok 250003 lines

Test #116:

score: 0
Accepted
time: 997ms
memory: 77384kb

input:

100000 250000
4043 999987839 510022165 999987839 925287262 4043 999987839 4043 4043 999987839 999987839 999987839 999987839 4043 4043 999987839 66568874 571103677 210630458 4043 999987839 87987365 48533407 4043 4043 4043 844754082 4043 452894095 579876985 999987839 999987839 4043 999987839 999987839...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44305
44305
44305
44305
44305
44304
44303
44302
44302
44301
44300
44299
44298
44297
44296
44295
44294
44294
44294
44293
44292
44292
44291
44291
44291
44291
44290
44289
44289
44289
44288
44288
44287
44286
44286
44285
44283
44...

result:

ok 250003 lines

Test #117:

score: 0
Accepted
time: 999ms
memory: 77744kb

input:

100000 250000
8533 44379322 8533 999996580 999996580 999996580 8533 622287765 999996580 8533 316880418 999996580 8533 692278318 999996580 999996580 788806453 999996580 999996580 999854802 8533 832864005 8533 8533 858202864 8533 8533 623844200 999996580 999996580 8533 999996580 999996580 8533 7661978...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44107
44106
44105
44105
44104
44104
44103
44102
44102
44102
44102
44101
44101
44101
44101
44099
44098
44097
44096
44095
44094
44094
44093
44091
44091
44091
44091
44091
44091
44091
44090
44089
44089
44088
44088
44087
44086
44...

result:

ok 250003 lines

Test #118:

score: 0
Accepted
time: 980ms
memory: 76936kb

input:

100000 250000
1671 999998849 999998849 439314841 999998849 641201707 1671 172419263 999998849 1671 1671 213809722 1671 493118642 1671 1671 1671 999998849 999998849 1671 1671 625020943 1671 1671 274743472 1671 999998849 999998849 1671 999998849 999998849 1671 1671 1671 999998849 51791781 1671 1206158...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44593
44592
44592
44592
44591
44590
44589
44589
44589
44587
44587
44586
44586
44585
44584
44584
44583
44582
44582
44582
44582
44582
44582
44581
44580
44579
44579
44577
44576
44575
44574
44573
44572
44571
44569
44569
44568
44...

result:

ok 250003 lines

Test #119:

score: 0
Accepted
time: 1022ms
memory: 77560kb

input:

100000 250000
516395487 409664786 391609849 391609849 409664786 516395487 934425664 832890194 832890194 934425664 878065459 554315930 119205643 119205643 554315930 480676178 385310371 301636549 265074495 265074495 301636549 305068906 156879621 156879621 305068906 385310371 444998570 326327598 326327...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49944
49945
49946
49947
49950
49951
49952
49953
49954
49955
49957
49958
49959
49962
49963
49964
49965
49966
49967
49969
49970
49972
49974
49975
49977
49978
49985
49986
49987
49991
49992
49997
49998
49999
50000
49999
49998
49...

result:

ok 250003 lines

Test #120:

score: 0
Accepted
time: 1041ms
memory: 77424kb

input:

100000 250000
851584940 586678495 504876719 205396307 205396307 504876719 586678495 851584940 725695820 210233490 177183072 171723515 64068425 51697205 31416477 31416477 51697205 64068425 171723515 177183072 208238823 147202725 147202725 208238823 210233490 725695820 744953440 472792759 248634439 23...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49656
49660
49662
49663
49664
49665
49666
49667
49669
49670
49671
49672
49676
49679
49680
49681
49682
49691
49692
49693
49694
49694
49698
49699
49700
49702
49705
49707
49708
49713
49717
49720
49722
49725
49726
49733
49734
49...

result:

ok 250003 lines

Test #121:

score: 0
Accepted
time: 1050ms
memory: 75436kb

input:

100000 250000
991338905 685419867 652195302 560701768 145891533 98854240 95392905 34771042 34771042 95392905 98854240 145891533 560701768 652195302 382559520 206807841 206807841 382559520 685419867 948811069 792442417 514273528 397863693 146424364 128858364 84156500 58858006 7737934 7737934 58858006...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48785
48788
48789
48790
48796
48797
48798
48805
48810
48812
48813
48820
48822
48826
48827
48829
48832
48833
48839
48843
48844
48847
48852
48860
48861
48880
48889
48891
48892
48893
48894
48898
48899
48904
48911
48912
48913
48...

result:

ok 250003 lines

Test #122:

score: 0
Accepted
time: 1058ms
memory: 77172kb

input:

100000 250000
909139180 899071946 877448099 877160345 854740436 766268913 719946942 706913073 704144733 698325043 680454804 634661652 604720444 470836104 437066580 429568966 422603424 390767003 363373345 331790422 327648217 318308392 315847946 265283379 258540665 219992723 211011389 206255297 201047...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49055
49056
49057
49107
49108
49109
49110
49111
49112
49113
49129
49143
49149
49166
49167
49168
49180
49181
49182
49183
49217
49243
49244
49276
49299
49364
49365
49366
49367
49368
49369
49370
49371
49372
49383
49384
49385
49...

result:

ok 250003 lines

Test #123:

score: 0
Accepted
time: 1089ms
memory: 75892kb

input:

100000 250000
991327601 990686923 982467467 943830644 925907043 916318139 909446071 900813203 900112576 869198369 864992233 855555276 838137909 828418556 821443486 816282586 814137358 811579626 807818531 803759635 794085859 758428962 736559641 704304988 696324303 675286167 652376089 651989542 645229...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47970
47986
47987
47988
47989
48037
48140
48145
48151
48152
48198
48199
48200
48208
48209
48210
48211
48216
48217
48218
48220
48227
48227
48228
48229
48230
48231
48264
48265
48266
48375
48391
48481
48500
48501
48502
48516
48...

result:

ok 250003 lines

Test #124:

score: 0
Accepted
time: 1099ms
memory: 77556kb

input:

100000 250000
981690073 979266627 976378138 973713983 971701696 962382499 954713908 953831229 950416032 944436079 943942996 931295463 930299714 929159981 917565938 913061136 911468626 906619900 902740690 889598371 884587829 877438792 873494685 873482629 862885772 859083523 855969160 844375805 839496...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47528
47529
47530
47531
47565
47600
47601
47657
47783
47891
47964
48112
48136
48171
48172
48263
48264
48465
48653
48655
48682
48739
48766
48767
49000
49022
49278
49279
49280
49357
49358
49359
49360
49472
49504
49505
49704
49...

result:

ok 250003 lines

Test #125:

score: 0
Accepted
time: 1086ms
memory: 75764kb

input:

100000 250000
999742273 994441955 994025434 992505262 992415900 991692833 984495329 973447219 971256419 971155061 969567779 960382456 955413944 954874469 950218291 950150118 949560506 945918908 945618365 941698160 940767343 940694788 929759929 926373752 923658188 920437126 919338450 915815945 913881...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
35157
35171
35190
35191
35191
35191
35192
35254
35268
35269
35691
35692
35693
35779
35839
35956
35956
35957
36230
36231
36232
36232
36232
36233
36233
36233
36234
36235
36236
36237
36571
36580
36580
36580
36622
36622
36623
36...

result:

ok 250003 lines

Test #126:

score: 0
Accepted
time: 1034ms
memory: 75684kb

input:

100000 250000
995575903 995235162 995029185 992745868 991831279 991699230 990992905 990447176 988145672 987877826 986047190 985943044 985388729 984107247 983756207 981882591 977874575 977481764 974998283 974648366 973838991 973605552 973483185 973064300 972605488 972522272 970510637 970363086 970283...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30893
30894
30895
30896
30896
30897
31109
31109
31110
31198
31198
31316
31398
31398
31421
31422
31423
31423
31424
31481
31482
31631
31673
31674
31674
31675
31676
31676
31753
31841
31842
31843
31843
31860
31861
31862
31863
31...

result:

ok 250003 lines

Test #127:

score: 0
Accepted
time: 1034ms
memory: 75116kb

input:

100000 250000
999998716 999207807 998881609 998550927 998476168 998471057 998425483 998325328 998014812 997751549 996837426 996603606 994849890 994842719 994672369 994227691 994143798 993933497 993921114 993878165 993713850 993414408 993257341 993242473 992730479 992468696 992391689 992252533 991918...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
36052
36053
36053
36054
36055
36056
36812
37841
37842
38058
38059
38060
38730
38731
38732
38732
38732
38733
39321
39496
41106
41107
41108
41108
41109
41110
41110
41149
42693
42694
43000
43661
43661
43662
43985
43986
43987
44...

result:

ok 250003 lines

Test #128:

score: 0
Accepted
time: 1059ms
memory: 77356kb

input:

100000 250000
999974893 999920227 999180274 999171219 999161277 999094512 998992843 998614540 998601254 998382525 997466733 997361778 997042188 996482389 996248314 996047699 995467695 995455339 995063705 994732992 994467700 994341920 994325907 994188819 994024935 993399403 993026471 992937564 992689...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
23980
23980
23980
23981
23981
23982
23983
23984
23984
23984
23984
23985
23985
23985
23985
23985
23985
23985
23986
23987
23988
23988
23989
23989
23989
23989
23989
23989
23989
23990
23991
23991
23992
23993
23993
23993
23994
23...

result:

ok 250003 lines

Test #129:

score: 0
Accepted
time: 1067ms
memory: 75108kb

input:

100000 250000
999654047 999624313 999444848 999196214 999191352 999130026 999061922 998984338 998916402 998861995 998777151 998703515 998530084 998490899 998345007 998221328 997955194 997859992 997815407 997750103 997527417 997516256 997509797 997479885 997314752 997187338 997130269 997020395 996866...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30584
30584
31171
31172
31173
31174
31175
32179
32180
32180
32905
32905
32906
32906
32906
32907
32908
32908
32908
32908
33907
34958
34959
34959
34959
34960
34961
34962
34962
34963
37287
37288
37289
39810
39811
39811
39812
40...

result:

ok 250003 lines

Test #130:

score: 0
Accepted
time: 1020ms
memory: 75064kb

input:

100000 250000
999954704 999950397 999831867 999821225 999733320 999725879 999715768 999709262 999701240 999683050 999678699 999660570 999659387 999598654 999564117 999552851 999532231 999479765 999474425 999347358 999301004 999260034 999194456 999159774 999151810 999139412 999136571 998776284 998712...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5880
5880
5880
5880
5880
5880
5880
5880
5881
5881
5881
5881
5882
5883
5883
5883
5883
5883
5883
5924
5924
5925
5925
5925
5925
5925
5925
5925
5925
6253
6254
6254
6254
6254
6254
6254
6254
6254
6254
6254
6254
6254
6254
6268
6268...

result:

ok 250003 lines

Test #131:

score: 0
Accepted
time: 928ms
memory: 77060kb

input:

100000 250000
999930250 999917422 999905167 999878386 999874854 999865654 999832454 999807114 999801507 999757170 999677158 999663492 999663242 999658234 999497431 999415169 999322234 999290436 999279653 999265133 999222386 999163261 999160605 999104898 999095351 999007896 998991133 998984071 998973...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13770
13770
13771
13771
13771
13772
13772
13773
13773
13773
13774
13774
13774
13774
13774
13774
13774
13774
13774
13774
13775
13776
13776
13776
13776
13777
13777
13777
13777
13777
13777
13778
13778
13778
13778
13779
13779
13...

result:

ok 250003 lines

Subtask #6:

score: 12
Accepted

Dependency #1:

100%
Accepted

Test #132:

score: 12
Accepted
time: 32ms
memory: 58708kb

input:

100000 8000
564445101 178185693 564445101 178185693 564445101 564445101 178185693 178185693 178185693 178185693 564445101 564445101 178185693 178185693 178185693 178185693 564445101 178185693 178185693 564445101 178185693 178185693 564445101 178185693 564445101 564445101 178185693 564445101 56444510...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
75002
75002
75003
75003
75003
75003
75003
75003
75003
75002
75001
75001
75002
75003
75003
75002
75002
75002
75002
75001
75002
75001
75000
75001
75001
75001
75002
75001
75001
75001
75001
75001
75002
75001
75000
74999
74999
74...

result:

ok 8003 lines

Test #133:

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

input:

100000 8000
498924011 490411960 490411960 490411960 498924011 490411960 498924011 498924011 498924011 498924011 27581355 498924011 490411960 27581355 498924011 490411960 490411960 27581355 490411960 490411960 498924011 490411960 498924011 490411960 27581355 498924011 498924011 27581355 498924011 498...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
61286
61286
61285
61285
61285
61285
61284
61283
61282
61282
61282
61283
61282
61282
61283
61283
61283
61282
61281
61281
61280
61279
61278
61278
61279
61279
61278
61278
61278
61279
61278
61279
61279
61279
61278
61277
61277
61...

result:

ok 8003 lines

Test #134:

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

input:

100000 8000
773711626 110677866 592267396 926295865 874727906 592267396 357410576 592267396 357410576 391016028 773711626 592267396 926295865 926295865 391016028 110677866 926295865 101169123 357410576 926295865 874195228 926295865 391016028 874195228 773711626 391016028 874195228 357410576 92629586...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29218
29217
29217
29217
29216
29217
29216
29217
29217
29216
29216
29216
29215
29215
29216
29216
29215
29214
29213
29213
29214
29214
29213
29213
29212
29212
29212
29212
29213
29214
29213
29214
29213
29212
29212
29212
29211
29...

result:

ok 8003 lines

Test #135:

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

input:

100000 8000
16301358 2226070 16301358 855044941 909982412 539122306 801715921 914173882 914173882 914173882 914173882 37628907 490926289 37628907 490926289 2226070 126041108 939937596 126041108 801715921 801715921 575713553 575713553 939937596 2226070 490926289 490926289 939937596 16301358 550493398...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
22071
22071
22071
22071
22072
22074
22073
22073
22073
22073
22072
22071
22071
22071
22071
22070
22070
22069
22069
22068
22068
22068
22067
22067
22066
22066
22066
22065
22066
22065
22065
22065
22066
22067
22068
22068
22069
22...

result:

ok 8003 lines

Test #136:

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

input:

100000 8000
915201877 230345043 7856225 528188753 544482140 230345043 544482140 230345043 710478239 303486707 915201877 544482140 27366294 27366294 840841595 96055106 303486707 557559718 386679822 229643897 27366294 671679558 7856225 303486707 386679822 27366294 7856225 386679822 710478239 855674345...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18198
18198
18198
18198
18197
18197
18197
18195
18194
18194
18195
18196
18196
18196
18196
18197
18197
18196
18197
18198
18198
18198
18198
18198
18198
18198
18198
18196
18196
18196
18196
18196
18196
18196
18195
18194
18194
18...

result:

ok 8003 lines

Test #137:

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

input:

100000 8000
217492430 305386542 152912161 207880858 630035793 702695472 252000030 250683446 869812038 177120130 217492430 869812038 869812038 560930704 313044033 630035793 207880858 95986327 203194039 655209797 305386542 709668259 657012772 407335374 250683446 657012772 95986327 635181284 45129561 9...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13272
13272
13272
13273
13273
13273
13273
13273
13273
13273
13273
13273
13273
13273
13273
13273
13272
13271
13271
13270
13271
13271
13272
13272
13272
13271
13270
13271
13272
13271
13272
13272
13272
13273
13273
13273
13274
13...

result:

ok 8003 lines

Test #138:

score: 0
Accepted
time: 31ms
memory: 58656kb

input:

100000 8000
586405452 116882806 867500303 305083850 305083850 221312300 785767613 602527977 284695681 164406199 221312300 416299808 286910405 920058399 541184836 989275655 689532519 99824447 608602125 719183442 305083850 784951859 57332472 69208828 689532519 193203394 241824056 608602125 689532519 7...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
8947
8947
8947
8947
8947
8947
8947
8947
8948
8948
8948
8948
8948
8949
8949
8949
8949
8949
8949
8949
8949
8949
8948
8948
8948
8948
8948
8947
8947
8947
8947
8947
8946
8947
8947
8947
8946
8946
8947
8947
8947
8947
8947
8947
8947...

result:

ok 8003 lines

Test #139:

score: 0
Accepted
time: 33ms
memory: 58396kb

input:

100000 8000
39099951 512914833 49303121 469265071 469265071 785954326 990091979 117844318 558329110 171496362 250171768 687105402 472567375 530899837 724130333 123858603 852550233 537933590 755675510 777381682 16924416 621090318 755511222 914042910 49303121 107213899 326583490 755511222 276680646 70...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5155
5155
5155
5154
5154
5154
5154
5154
5154
5153
5153
5153
5153
5153
5152
5152
5151
5151
5151
5151
5150
5149
5149
5148
5148
5148
5148
5149
5149
5149
5150
5151
5151
5151
5151
5151
5151
5151
5151
5150
5150
5150
5150
5150
5150...

result:

ok 8003 lines

Test #140:

score: 0
Accepted
time: 31ms
memory: 58712kb

input:

100000 8000
701979645 456642282 106235373 217601048 482764264 159732003 477926282 860832418 2333890 349585214 13052796 684434918 656009657 646895616 997066380 491036610 758148773 135254797 611035665 326494444 510104711 566048936 476477438 319603511 640704688 919235531 210452420 859989595 739464960 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
754
754
754
754
754
754
754
754
754
756
756
756
756
756
756
756
756
756
756
757
757
757
757
757
757
757
757
757
757
757
757
757
757
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
758
...

result:

ok 8003 lines

Test #141:

score: 0
Accepted
time: 32ms
memory: 58732kb

input:

100000 8000
778447279 608329190 494941027 615423616 553412591 590162067 84840934 356198933 931945333 383051638 207336468 868976179 337035925 482818390 757886580 385318655 870672648 934992706 58948347 869332112 948247470 944770511 957878392 992646979 39977416 392148215 596991238 736522022 122908171 6...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
178
...

result:

ok 8003 lines

Test #142:

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

input:

100000 8000
978429651 949309912 338104250 160119612 249882759 150428428 756287663 609010262 9173354 323092505 479939676 461619210 105304356 522080090 152898172 398664438 854903333 640867550 1621274 848225719 300315015 199868657 574125886 299242615 468568963 473255640 935702024 578583650 165688635 79...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94
94...

result:

ok 8003 lines

Test #143:

score: 0
Accepted
time: 26ms
memory: 58660kb

input:

100000 8000
90613227 364540093 703755985 194292334 83264959 273978006 926335493 569313364 685543277 594804284 586598749 921413872 397420241 800074230 294498364 770982897 488077148 701956381 656246358 862793337 953948130 945933175 523820723 926477427 609043649 29337324 782656231 978355189 273862952 2...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40...

result:

ok 8003 lines

Test #144:

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

input:

100000 8000
862354335 379265981 721078575 47630396 570827200 874816010 202425541 883365166 947429382 139074529 292741399 200020927 349840417 608114944 747663813 78430553 407742618 944819894 679333555 131836566 731365596 662147421 668498705 178622231 581919005 359452344 869937584 770128675 649978063 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19...

result:

ok 8003 lines

Test #145:

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

input:

100000 8000
564878299 781162777 694354616 576973482 575416615 719476708 16417795 607754474 188517516 812282866 891427885 403379615 170693841 797080084 226228450 153222561 2499206 359405418 693251633 837760319 150391202 593731164 751729963 801951857 8572359 754999218 425755321 801574832 286499203 629...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14...

result:

ok 8003 lines

Test #146:

score: 0
Accepted
time: 26ms
memory: 58864kb

input:

100000 8000
149291181 951267658 497648930 300623207 398433744 151457218 443835227 285597045 240567793 188253685 511974324 648019934 423147065 902114743 829563817 445469122 184341700 718585873 430446864 227993372 559832056 397307092 781880124 948972695 520747289 834498946 133971328 437761022 61234434...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
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 8003 lines

Test #147:

score: 0
Accepted
time: 26ms
memory: 58660kb

input:

100000 8000
999989931 999988710 999978409 999915458 999853114 999828292 999790384 999759412 999754715 999751384 999749173 999748974 999687167 999684800 999649619 999613387 999613056 999593443 999584147 999552080 999499351 999488295 999472214 999458598 999442301 999372512 999357430 999297622 99928118...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49899
12595
3885
3885
49899
31922
31922
40276
49899
13800
13800
21252
49899
34494
26138
26137
49899
8122
8122
26496
49900
15373
13654
13653
49900
44347
8696
8696
49900
3987
3988
37070
49900
5519
5519
37818
49900
40213
27949
...

result:

ok 8003 lines

Test #148:

score: 0
Accepted
time: 31ms
memory: 58664kb

input:

100000 8000
999997003 999948900 999947074 999946064 999929063 999892509 999880572 999878868 999855660 999853838 999834011 999831089 999826814 999815950 999767527 999740613 999713804 999701660 999619711 999602946 999584636 999581042 999576299 999568533 999568443 999555002 999544104 999518302 99949884...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49702
39068
39068
43493
49701
40102
31864
31866
49701
39473
3815
3817
49701
23913
23911
33840
49700
13669
12977
12979
49700
28245
20909
20911
49701
31607
7579
7580
49700
16320
9938
9938
49700
20472
20472
36533
49699
35462
35...

result:

ok 8003 lines

Test #149:

score: 0
Accepted
time: 32ms
memory: 59620kb

input:

100000 8000
999951233 999950454 999910349 999886943 999871097 999846842 999819698 999777727 999750202 999748233 999747975 999746020 999724853 999706202 999696283 999669535 999571754 999550989 999529895 999497399 999477778 999464445 999446275 999443906 999441894 999412642 999407153 999405843 99938738...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49467
28992
28992
31306
49467
30824
21615
21618
49468
37122
9483
9483
49468
16925
16924
47839
49468
32793
32792
37300
49468
40905
1573
1574
49468
24497
24496
29217
49468
41476
10793
10793
49467
9968
9968
37683
49467
48536
40...

result:

ok 8003 lines

Test #150:

score: 0
Accepted
time: 27ms
memory: 58548kb

input:

100000 8000
999994286 999932017 999923040 999915948 999914542 999906895 999877205 999857127 999842393 999804305 999752687 999731136 999728350 999717402 999708930 999692316 999683570 999674251 999648779 999638238 999631229 999626603 999590160 999582515 999579457 999544284 999526486 999519166 99951691...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48992
24915
24913
25406
48991
47158
10332
10332
48992
41135
37666
37667
48991
21823
21823
25205
48991
29155
14931
14930
48992
10145
10145
32645
48992
12973
12972
36571
48992
15219
15219
19538
48992
22402
21505
21505
48992
44...

result:

ok 8003 lines

Test #151:

score: 0
Accepted
time: 23ms
memory: 59008kb

input:

100000 8000
999977983 999961500 999931434 999904564 999879892 999858977 999849304 999831198 999829907 999815366 999809180 999792801 999779556 999759444 999734661 999730968 999720103 999644014 999592812 999555870 999537788 999529030 999524887 999512784 999479476 999457280 999408061 999400687 99939446...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48044
16606
16605
33075
48045
8411
8409
10967
48045
30561
7654
7654
48045
46238
34118
34120
48045
19665
19665
24631
48045
18610
18609
30661
48044
10005
10004
16049
48045
22808
6547
6547
48045
23051
10098
10099
48044
31178
38...

result:

ok 8003 lines

Test #152:

score: 0
Accepted
time: 32ms
memory: 58704kb

input:

100000 8000
999962610 999910224 999905388 999905342 999869357 999835524 999831231 999823642 999795889 999788166 999778586 999760663 999746097 999736241 999732126 999719346 999717282 999634281 999626547 999624715 999617782 999571860 999557320 999521759 999518753 999516767 999508528 999506549 99949571...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46177
4528
4528
22825
46177
16551
16551
24318
46177
34791
34790
42491
46177
10393
10391
32936
46177
28534
10882
10882
46177
21518
21516
41578
46177
2001
2001
44546
46177
20968
20276
20276
46177
36069
4419
4421
46177
12156
12...

result:

ok 8003 lines

Test #153:

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

input:

100000 8000
566505327 330345928 233369331 127368446 43919624 43919624 127368446 230179119 111463991 19465643 19465643 111463991 230179119 138646669 54059467 54059467 131505154 79987794 79987794 131505154 138646669 233369331 330345928 566505327 868535369 205151180 45024393 45024393 205151180 86853536...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49993
49992
49992
49993
49993
49992
49990
49991
49993
49993
49993
49993
49993
49993
49992
49992
49993
49990
49990
49993
49993
49993
49990
49990
49993
49993
49991
49991
49993
49993
49990
49990
49993
49993
49991
49991
49993
49...

result:

ok 8003 lines

Test #154:

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

input:

100000 8000
783860961 485714123 434343242 371191453 348842477 286929597 92860608 92860608 286929597 348842477 371191453 434343242 485714123 753640417 590042044 590042044 753640417 596567437 313303511 180878249 128324853 19609182 19609182 128324853 180878249 313303511 441338575 382254013 278692451 98...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49989
49989
49986
49986
49989
49989
49989
49989
49989
49978
49978
49989
49989
49988
49988
49989
49989
49978
49968
49979
49989
49989
49989
49989
49989
49989
49989
49989
49989
49989
49986
49986
49989
49989
49989
49989
49989
49...

result:

ok 8003 lines

Test #155:

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

input:

100000 8000
959098096 885677677 874842889 870297743 865155465 864261332 778915361 746964325 731200341 713174491 701811100 686453169 667994744 666215253 628677887 601547635 550978537 544663822 538541884 502772283 502321495 467543295 460335099 436786358 326206393 263549905 259402036 228742604 16571926...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49985
49984
49963
49964
49985
49984
49984
49985
49985
49973
49969
49981
49985
49985
49985
49985
49985
49980
49980
49985
49985
49985
49967
49967
49985
49985
49985
49985
49985
49985
49983
49983
49985
49985
49985
49985
49985
49...

result:

ok 8003 lines

Test #156:

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

input:

100000 8000
988342347 980814599 943948635 941809888 929593177 929012945 902839557 868175931 859319727 845611926 834822925 824178697 790997239 765215200 758622183 738814446 718319021 717044350 673961136 673894773 673741395 657953546 620538480 610433264 604845971 599905322 599751350 596289183 59619856...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49870
49865
49865
49870
49870
49688
49650
49832
49870
49870
49666
49666
49870
49686
49686
49870
49870
49870
49867
49867
49870
49870
49859
49859
49870
49870
49859
49859
49870
49870
49864
49864
49870
49870
49642
49642
49870
49...

result:

ok 8003 lines

Test #157:

score: 0
Accepted
time: 24ms
memory: 58552kb

input:

100000 8000
999407297 999045602 996197975 992695083 990823280 986082911 983716474 981738463 980895360 978394248 978118340 977632775 977390130 976958726 976504714 976055709 973305206 970686106 966724205 966626176 965231801 963418083 963382461 963208133 953914509 950912468 949882239 949434635 94859390...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49637
49404
49404
49637
49637
49626
49566
49577
49637
49385
49385
49637
49637
49637
49626
49626
49637
49271
49242
49608
49637
49637
49332
49332
49637
49258
49249
49628
49637
49635
49509
49511
49637
49637
49637
49637
49637
49...

result:

ok 8003 lines

Test #158:

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

input:

100000 8000
999898049 998803560 997856368 997130322 996990354 996650219 995223989 994407691 993926247 993835360 992274688 988191142 987466332 987087350 985619108 983447293 983320541 982676645 982220460 982180369 981121373 980590291 978291993 977893865 976527955 976395592 975632905 975312011 97466923...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49273
49273
49271
49271
49273
49260
49260
49273
49273
49273
49273
49273
49273
48749
48580
49104
49273
49260
49154
49167
49273
49260
49260
49273
49273
48991
48991
49273
49273
49273
49273
49273
49273
49273
49260
49260
49273
49...

result:

ok 8003 lines

Test #159:

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

input:

100000 8000
999521068 999306077 999199848 999185444 998913105 998797843 998511499 998209314 998197923 997670302 997427606 997102457 996657677 996460115 996147605 996115267 996000997 995819782 995808593 995734894 995686768 995469804 995068138 993951325 993933834 993908368 993349777 993301732 99310543...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47532
47486
46464
46510
47532
46245
46228
47515
47532
47515
46228
46245
47532
45781
45759
47510
47532
47528
47528
47532
47532
45356
42084
44260
47532
47515
47326
47343
47532
46245
44494
45781
47532
47515
47515
47515
47532
46...

result:

ok 8003 lines

Test #160:

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

input:

100000 8000
999983190 999776733 999513511 999381899 999225269 998993422 998820216 998537752 998363657 998330697 998138726 998047825 997864121 997848036 997821596 997805774 997717616 997702353 997536973 997260166 997064777 996918370 996699099 996576024 996396134 996303354 996279741 996229981 99619198...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48480
48344
44685
44821
48480
48466
48193
48207
48480
48476
48473
48477
48480
48354
48354
48480
48480
48279
48143
48344
48480
48433
48147
48194
48480
42328
41973
48125
48480
48480
48423
48423
48480
43443
38079
43116
48480
48...

result:

ok 8003 lines

Test #161:

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

input:

100000 8000
999934207 999909737 999896567 999582712 999578770 999555591 999525334 999515859 999486311 999384112 999321265 999264319 999240439 999205003 999201462 999120442 999108339 999048781 998830118 998822095 998815686 998813884 998809338 998697328 998693933 998660140 998607325 998574168 99856978...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
37750
37697
37696
37749
37750
37749
37325
37326
37750
37748
37747
37749
37750
37750
37326
37326
37750
37750
35497
35497
37750
36023
36021
37748
37750
37748
37324
37326
37750
37750
37722
37722
37750
37749
30460
30461
37750
37...

result:

ok 8003 lines

Test #162:

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

input:

100000 8000
819887954 370257055 205702101 205702101 370257055 819887954 829456881 579638831 519892605 209287390 209287390 519892605 579638831 829456881 579141030 471941713 457415850 366168957 257937908 257937908 202557589 92926307 92926307 202557589 366168957 457415850 471941713 579141030 478863075 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49949
49949
49949
49949
49949
49949
49949
49949
49949
49948
49948
49949
49949
49949
49949
49949
49949
49949
49949
49949
49949
49948
49946
49947
49949
49949
49948
49948
49949
49948
49948
49949
49949
49946
49944
49947
49949
49...

result:

ok 8003 lines

Test #163:

score: 0
Accepted
time: 23ms
memory: 58812kb

input:

100000 8000
995873988 851653502 367808090 298715284 290094399 278280391 189843103 175195209 3032786 2134719 1997158 1787798 1787798 1997158 2134719 3032786 175195209 189843103 278280391 290094399 298715284 367808090 851653502 758354999 699503671 674628440 620819546 516334204 467388422 390519481 3315...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49943
49943
49943
49943
49943
49940
49939
49942
49943
49938
49938
49943
49943
49938
49938
49943
49943
49943
49941
49941
49943
49930
49930
49943
49943
49943
49943
49943
49943
49943
49938
49938
49943
49943
49938
49938
49943
49...

result:

ok 8003 lines

Test #164:

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

input:

100000 8000
986378598 984591451 975221329 903729561 855341472 847152702 846988287 833013409 826779124 801180895 786754738 757012911 722944900 717190909 639206353 638804327 600665354 591458520 502152184 497118555 481007248 446899771 435279005 431875830 336272008 333290980 280964943 213698791 16819006...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49921
49916
49915
49920
49921
49921
49825
49825
49921
49901
49901
49921
49921
49921
49921
49921
49921
49919
49919
49921
49921
49914
49914
49921
49921
49921
49915
49915
49921
49850
49850
49921
49921
49913
49913
49921
49921
49...

result:

ok 8003 lines

Test #165:

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

input:

100000 8000
985914039 973152950 931170022 913809380 910255036 899393194 877922254 863718812 858254414 821724028 810807317 804081327 791515713 769935088 749846125 746904121 720306820 677568839 668541320 656304742 656273306 632275400 611966499 611713600 605814762 605798273 602423326 577529245 57714317...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49908
49908
49873
49873
49908
49908
49908
49908
49908
49908
49900
49900
49908
49835
49835
49908
49908
49908
49908
49908
49908
49908
49804
49804
49908
49906
49906
49908
49908
49908
49908
49908
49908
49908
49908
49908
49908
49...

result:

ok 8003 lines

Test #166:

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

input:

100000 8000
996581720 994732988 994146379 993420509 990102488 989011086 986637504 983421098 982357358 981231657 980779047 978271901 977810065 974349766 968536983 967492149 966824426 960934534 960046834 959408252 958234132 958118046 955543330 949373242 949112228 948697753 946967243 946629906 94275174...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49667
49638
49623
49652
49667
49649
49613
49631
49667
48972
48912
49607
49667
49320
49215
49562
49667
49667
49667
49667
49667
49651
49512
49528
49667
49656
49656
49667
49667
49510
49510
49667
49667
49667
49557
49557
49667
49...

result:

ok 8003 lines

Test #167:

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

input:

100000 8000
999094897 998506256 998290404 997992951 997205426 997046844 988465278 987765571 987381705 986740185 985754546 985165795 984093703 983455615 983358928 982976617 980592295 980254365 977405097 971724976 970790768 969009747 966577207 966336194 966100057 965054741 964704487 962603389 95912993...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49211
48008
47227
48430
49211
49211
49004
49004
49211
48663
48663
49211
49211
49211
49078
49078
49211
49102
49102
49211
49211
48932
48932
49211
49211
49088
49026
49149
49211
49184
49064
49091
49211
49211
49000
49000
49211
49...

result:

ok 8003 lines

Test #168:

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

input:

100000 8000
999697298 998981129 998614410 997973109 997893989 997489171 997302917 996542389 996343724 995922855 995908092 995225061 995081060 994198162 993442266 992816756 992580584 992206548 992093334 991786820 990871571 990053907 989039524 988990442 988857778 988303391 988045129 988037310 98794805...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48122
48122
47725
47725
48122
47802
47801
48121
48122
48122
42395
42395
48122
48075
46601
46648
48122
47639
43176
43659
48122
46676
46672
48118
48122
48122
47706
47706
48122
44110
43748
47760
48122
48118
46177
46181
48122
42...

result:

ok 8003 lines

Test #169:

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

input:

100000 8000
999856176 999714114 999672005 999526811 999498733 999274240 999066333 998986372 998919275 998879138 998874174 998752363 998700925 998644319 998469745 998441778 998409632 998277986 998246485 997909189 997883010 997740480 997671074 997653609 997483864 997431098 997328718 997302796 99726469...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45066
45066
45066
45066
45066
40921
40922
45067
45066
45041
45024
45024
45066
43940
37086
38212
45066
41213
36551
36551
45066
45067
45067
45066
45066
44489
44452
45030
45067
45066
45066
45066
45066
44955
44951
44957
45066
45...

result:

ok 8003 lines

Test #170:

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

input:

100000 8000
999980468 999889791 999773144 999712101 999710251 999709244 999648712 999625651 999596414 999589550 999484028 999475257 999442332 999415919 999326928 999313874 999293477 999285123 999282874 999218210 999085589 999038351 999010087 998972979 998671382 998603538 998576836 998571002 99843457...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34833
34734
34734
34833
34833
34834
34834
34833
34833
34834
24761
24760
34833
31036
30915
34712
34833
34834
33209
33208
34834
34...

result:

ok 8003 lines

Test #171:

score: 0
Accepted
time: 22ms
memory: 58800kb

input:

100000 8000
899024952 559085304 84980541 84980541 502058015 211153162 41555738 18290689 13374422 1905594 1905594 13374422 18290689 41555738 211153162 502058015 130675734 115701437 115701437 130675734 559085304 899024952 799545978 436537132 23961099 23961099 224590832 4568250 4568250 224590832 436537...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49499
49499
49499
49499
49499
49499
49499
49499
49499
49498
49498
49499
49499
49499
49498
49498
49499
49499
49499
49499
49499
49499
49493
49493
49499
49499
49499
49499
49499
49495
49494
49498
49499
49498
49494
49495
49499
49...

result:

ok 8003 lines

Test #172:

score: 0
Accepted
time: 19ms
memory: 58396kb

input:

100000 8000
985994822 937501959 573667329 566343309 561483561 557842503 448394230 174116008 163207395 145078893 127260209 122671377 92097281 84259177 55336843 11006786 10368694 5430989 4403444 4403444 5430989 10368694 11006786 55336843 84259177 92097281 122671377 127260209 145078893 163207395 174116...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49486
49486
49486
49486
49486
49484
49484
49486
49486
49485
49473
49474
49486
49473
49473
49486
49486
49486
49484
49484
49486
49486
49473
49473
49486
49486
49486
49486
49486
49486
49486
49486
49486
49486
49486
49486
49486
49...

result:

ok 8003 lines

Test #173:

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

input:

100000 8000
972305857 944347362 858484061 850043225 778635926 756685065 754226722 667647381 633233427 614325491 612078469 558667402 553867009 547839353 474270500 472089557 439937826 434520856 430540871 429324130 377278082 368084558 327454610 302295952 286259361 220488739 218257559 192558965 18399830...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49471
49471
49452
49452
49471
49471
49471
49471
49471
49471
49471
49471
49471
49434
49405
49442
49471
49460
49437
49448
49471
49471
49425
49425
49471
49471
49471
49471
49471
49471
49419
49419
49471
49471
49440
49440
49471
49...

result:

ok 8003 lines

Test #174:

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

input:

100000 8000
994144487 985774743 974227318 967474719 966061268 925553998 920776117 913534964 898448794 889281875 888295125 882598963 864954877 864896825 804231429 802395568 798432251 790822819 779703844 776436812 771679849 738067446 734749488 733690522 710876549 707489904 699641484 679303556 64855413...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49487
49487
49487
49487
49487
49487
49428
49428
49487
49361
49329
49455
49487
49472
49422
49437
49487
49436
49305
49356
49487
49487
49487
49487
49487
49487
49486
49486
49487
49312
49298
49473
49487
49435
49435
49487
49487
49...

result:

ok 8003 lines

Test #175:

score: 0
Accepted
time: 22ms
memory: 58456kb

input:

100000 8000
998158372 996000150 989649710 987606001 982978517 982703434 981393576 976570210 972667079 969328220 968916217 964021969 958708293 956335038 954839464 951420890 947369290 945443147 942647202 939357859 938762858 938198167 934622865 928425724 926772764 924540911 922652115 921456145 90455460...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49313
49313
49312
49312
49312
49312
49103
49103
49312
49013
48495
48794
49312
49312
49094
49094
49312
49308
48862
48866
49312
49312
49254
49254
49312
49312
49312
49312
49312
49213
49204
49303
49312
49309
49255
49258
49312
48...

result:

ok 8003 lines

Test #176:

score: 0
Accepted
time: 23ms
memory: 58772kb

input:

100000 8000
999437661 998299636 996908148 996295038 996228503 995316616 995149001 994061181 992885388 991625459 989340166 989190966 986567079 985934736 985745710 985171107 984790746 984225787 980096891 979820714 977801449 977627699 975731875 974696829 973417768 972945972 971806451 971615266 97085954...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48691
48691
48692
48692
48691
46921
46917
48687
48691
48648
48648
48691
48691
48685
48684
48690
48691
48691
48691
48691
48691
48619
47556
47628
48691
48633
48633
48691
48691
47724
47683
48651
48692
47852
47685
48525
48692
48...

result:

ok 8003 lines

Test #177:

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

input:

100000 8000
999966112 999335884 998992605 998953468 998600029 998150637 997904520 997402950 996844198 996752234 996335638 995987264 995608122 995522760 995434534 995416258 995136982 995032900 994954101 994778913 994319043 994173814 994028921 993342119 993308199 993082549 992226167 991844696 99110564...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48328
48328
47583
47583
48328
48328
48328
48328
48328
46079
46079
48328
48328
48328
48328
48328
48328
48327
48327
48328
48328
48328
46659
46659
48328
48328
46506
46506
48329
43570
42579
47338
48329
48329
48329
48329
48329
47...

result:

ok 8003 lines

Test #178:

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

input:

100000 8000
999835173 999745078 999732926 999467547 999426841 999101566 998763646 998454818 998426410 998373811 998323933 998092085 998047488 997992221 997873765 997519970 997465959 997229401 997178119 997097281 996991636 996788744 996766604 996541166 996446796 996313249 996138214 996075436 99594199...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46813
46794
46793
46812
46812
42568
42568
46812
46812
46812
46809
46809
46812
46812
45195
45195
46812
43908
43908
46812
46812
45021
35882
37673
46812
46812
45492
45492
46812
46812
46809
46809
46812
46812
42696
42696
46812
46...

result:

ok 8003 lines

Test #179:

score: 0
Accepted
time: 27ms
memory: 58924kb

input:

100000 8000
999957007 999952126 999881996 999871732 999745758 999722892 999667813 999460290 999428589 999378643 999371954 999317099 999293264 999172263 999165522 999162029 999155956 999114605 999067406 998937247 998919507 998905307 998872971 998842475 998725632 998651390 998638536 998569560 99855507...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46994
46987
46949
46956
46994
46974
46949
46968
46993
46993
46918
46918
46993
46979
46979
46993
46993
46878
46857
46972
46993
46993
46973
46973
46993
46992
46992
46992
46992
46974
46974
46992
46992
40369
40346
46969
46992
46...

result:

ok 8003 lines

Test #180:

score: 0
Accepted
time: 27ms
memory: 58384kb

input:

100000 8000
933267703 397900794 6776011 6776011 7008 5084823 5084823 397900794 345392587 345392587 828646883 5938 440625550 440625550 828646883 933267703 617706460 397511787 397511787 617706460 5535 853996505 462758099 462758099 853996505 449861747 230839165 44714517 43047329 21844577 21844577 43047...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46004
46004
46003
46003
46004
46002
45999
46001
46004
46004
45999
45999
46004
46001
46001
46004
46004
45998
45995
46001
46004
46001
46001
46004
46004
46004
46001
46001
46004
46004
46004
46004
46004
46003
46003
46004
46004
46...

result:

ok 8003 lines

Test #181:

score: 0
Accepted
time: 24ms
memory: 58504kb

input:

100000 8000
974232790 911860727 753029985 743174858 690662989 487036262 363886851 273264630 273264630 363886851 487036262 690662989 587135207 473565060 399157102 364145935 337241961 269224369 1426 5582 269224369 244483323 211535052 145894992 98914692 68943796 27 68943796 98914692 145894992 211535052...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46001
46000
45999
46000
46001
46001
45992
45992
46001
46000
46000
46001
46001
45999
45994
45996
46001
46001
46001
46001
46001
46001
46001
46001
46001
45990
45987
45998
46001
46001
46001
46001
46001
46001
46000
46000
46001
46...

result:

ok 8003 lines

Test #182:

score: 0
Accepted
time: 19ms
memory: 58544kb

input:

100000 8000
952299451 950285852 942968040 912183084 894945339 832644009 821839019 819971771 815446641 807645079 754131750 741390706 708310916 704461378 644635487 612811995 596149584 565792311 556121984 553013192 552670317 450953155 438982767 436405866 435350238 419882755 392489946 382431925 37327698...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45977
45977
45977
45977
45977
45977
45967
45967
45977
45977
45977
45977
45977
45977
45977
45977
45977
45946
45946
45977
45977
45977
45977
45977
45977
45977
45974
45974
45977
45975
45975
45977
45977
45977
45926
45926
45977
45...

result:

ok 8003 lines

Test #183:

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

input:

100000 8000
989514393 973393470 961643583 945702034 918822390 913851151 912449976 908781285 890313536 883622995 863602396 856632013 848936589 843705090 836591563 834424106 832519446 808589593 788282878 782666585 771837028 757641826 748053990 740645061 739851157 724736622 724101355 712406323 71101225...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46001
45921
45863
45943
46001
46001
45928
45928
46001
45987
45939
45953
46001
45904
45904
46001
46001
45973
45951
45979
46001
46001
46001
46001
46002
46002
46000
46000
46002
45989
45884
45897
46002
46001
46001
46002
46002
45...

result:

ok 8003 lines

Test #184:

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

input:

100000 8000
997381672 996730632 994346383 994135462 990247576 988985924 980620727 978803375 969927791 969164626 968884393 964878965 964375666 962707376 962323282 962187232 960187957 958946873 957769234 956935494 951916416 950736177 950671088 949568195 947483080 946580641 945283744 945216410 93988687...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45890
45890
45847
45847
45890
45845
45845
45890
45890
45422
44912
45380
45890
45712
45671
45849
45890
45663
45645
45872
45890
45890
45610
45610
45890
45890
45885
45885
45890
45880
45764
45774
45890
45884
45579
45585
45890
45...

result:

ok 8003 lines

Test #185:

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

input:

100000 8000
998673951 993944050 993371245 992642149 992549221 991339552 991261546 990084439 989327117 989225098 988480051 987899614 987723920 986630489 984701460 982850917 982665114 981185298 979438262 975269425 973429967 973322318 973212904 972866838 969490844 968351224 967380405 963386572 96105213...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45539
45468
44791
44862
45539
44490
44489
45538
45538
45538
45538
45538
45538
45435
45431
45535
45539
45437
45021
45123
45539
45539
45539
45539
45539
45490
45490
45539
45539
45539
45064
45064
45539
45459
44557
44637
45539
45...

result:

ok 8003 lines

Test #186:

score: 0
Accepted
time: 28ms
memory: 58692kb

input:

100000 8000
999729740 999676948 999073400 998647791 998221111 997671927 997650850 997650469 997610756 996780380 996710934 996609192 996450105 996306635 996275927 995900764 995860414 995535794 995209249 995125444 994879136 994486667 994465713 994331229 994238318 994198386 994150373 994010657 99368997...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42697
42272
37937
38362
42697
41785
41785
42697
42697
41972
41972
42697
42697
42685
41464
41476
42697
41464
39281
40514
42697
41355
35975
37317
42697
42697
42696
42696
42697
41103
41103
42697
42697
42696
42674
42675
42697
42...

result:

ok 8003 lines

Test #187:

score: 0
Accepted
time: 27ms
memory: 59176kb

input:

100000 8000
999740326 999672674 999392098 999340317 999270724 999105418 998947624 998926745 998557853 998431631 998281945 998182120 998149427 998088968 998024671 997747514 997544143 997364240 997334232 997094468 997011104 996975215 996740227 996635109 996590503 996530192 996320585 996193644 99616655...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39042
39041
38961
38962
39041
39040
39040
39041
39041
24523
24444
38962
39041
30432
30432
39041
39041
38927
34275
34389
39041
39041
39041
39041
39041
24231
24100
38910
39041
32140
32075
38976
39041
38055
38055
39041
39041
39...

result:

ok 8003 lines

Test #188:

score: 0
Accepted
time: 24ms
memory: 58400kb

input:

100000 8000
999989731 999964674 999914769 999888189 999866375 999805815 999799437 999786428 999691063 999637752 999613972 999561136 999554468 999503193 999478536 999466884 999437374 999331714 999306302 999225763 999166515 999050894 998944224 998922135 998884443 998807893 998787254 998782809 99877758...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
31593
19998
19935
31530
31594
29726
29726
31593
31593
31528
31528
31593
31593
28833
28831
31591
31593
31584
31584
31593
31593
31592
30586
30587
31593
31594
20125
20124
31593
31590
31590
31590
31593
31593
30588
30588
31594
31...

result:

ok 8003 lines

Test #189:

score: 0
Accepted
time: 27ms
memory: 58808kb

input:

100000 8000
999993048 999974300 999957376 999948423 999910929 999904466 999892314 999890488 999888426 999886002 999865630 999861006 999852900 999851390 999824455 999795269 999787396 999783255 999781803 999743746 999711770 999711698 999679054 999623211 999564993 999543035 999541233 999485726 99948070...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42889
41242
4560
4561
42889
32343
32341
35187
42889
18876
16799
16801
42888
6272
6269
15431
42888
20437
20435
40577
42888
22922
22922
38152
42887
1924
1920
3523
42887
41379
18481
18482
42887
20530
9253
9254
42887
6842
6842
2...

result:

ok 8003 lines

Subtask #7:

score: 16
Accepted

Test #190:

score: 16
Accepted
time: 105ms
memory: 63224kb

input:

40000 100000
748841908 472595144 380764381 380764381 472595144 748841908 763787266 716433556 677658974 494730874 196559446 196559446 494730874 677658974 716433556 388052783 388052783 543745882 543745882 763787266 970467097 837749248 335752488 335752488 837749248 772682224 298237285 298237285 5670657...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19992
19992
19992
19992
19992
19992
19992
19992
19992
19992
19991
19991
19992
19990
19989
19991
19992
19992
19992
19992
19992
19992
19992
19992
19992
19992
19992
19992
19992
19990
19990
19992
19992
19989
19989
19992
19992
19...

result:

ok 100003 lines

Test #191:

score: 0
Accepted
time: 113ms
memory: 63800kb

input:

40000 100000
941880954 611017449 514051640 495861320 415169272 350024507 337090543 176160813 176160813 337090543 350024507 415169272 395279734 393919543 244290574 237083075 203138304 164440596 148252629 23682209 22789802 19974692 9575820 1374548 1374548 9575820 19974692 22789802 23682209 148252629 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19988
19987
19987
19988
19988
19988
19986
19986
19988
19987
19985
19986
19988
19988
19985
19985
19988
19988
19978
19978
19988
19988
19980
19980
19988
19988
19988
19988
19988
19986
19986
19988
19988
19983
19983
19988
19988
19...

result:

ok 100003 lines

Test #192:

score: 0
Accepted
time: 125ms
memory: 63232kb

input:

40000 100000
992386071 985754604 935501189 930650048 928819324 882051053 840741979 832376100 821502186 804917420 786647361 758500661 674087706 662787734 662116261 614562138 598938078 590406407 588694859 577408163 560675891 519351721 514196647 412123055 397017728 367082667 361956848 336840534 2847334...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19992
19992
19935
19935
19992
19938
19928
19982
19992
19992
19913
19913
19992
19907
19887
19972
19992
19887
19847
19952
19992
19992
19990
19990
19992
19939
19898
19951
19992
19935
19929
19986
19992
19992
19987
19987
19992
19...

result:

ok 100003 lines

Test #193:

score: 0
Accepted
time: 141ms
memory: 63128kb

input:

40000 100000
997293152 995849824 987523344 982435897 980938038 938801726 933744100 930693224 923757168 918316275 913509439 896856449 892848476 891047629 867112599 867103297 862774709 836331301 830714085 829965722 823482916 817451848 806606827 777429630 748283070 726666391 724731619 686712954 6827127...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19955
19828
19828
19955
19955
19955
19855
19855
19955
19955
19914
19914
19955
19955
19955
19955
19955
19955
19955
19955
19955
19955
19894
19894
19955
19955
19930
19930
19955
19954
19892
19893
19955
19950
19950
19955
19955
19...

result:

ok 100003 lines

Test #194:

score: 0
Accepted
time: 156ms
memory: 63676kb

input:

40000 100000
995026254 993509650 992510810 987428627 987260219 986858953 985162643 976984503 973735369 973172891 970846484 969911730 968192815 963702886 962944858 959587986 958442097 957439235 950885197 948739735 948672919 948275077 947822124 947432318 941620623 934309076 934006487 933385341 9310772...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19765
19417
19363
19711
19765
19072
18940
19633
19765
19167
19167
19765
19765
19731
19260
19294
19765
19691
19458
19532
19765
19765
19733
19733
19765
19633
19633
19765
19765
19492
19118
19391
19765
19765
18921
18921
19765
19...

result:

ok 100003 lines

Test #195:

score: 0
Accepted
time: 123ms
memory: 63800kb

input:

40000 100000
999763165 998903393 997226364 997122979 996807928 996075332 995491807 994245571 992324556 989552559 988943070 988502675 985676265 984211061 983291130 980585310 980122412 979329526 978938894 978288247 977823238 977614410 972369943 969816914 969282100 969218930 968392442 968328807 9642033...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19232
19205
19097
19124
19232
19232
19232
19232
19232
19209
19209
19232
19232
18818
18818
19232
19232
19053
18983
19162
19232
19151
18816
18816
19232
19162
18746
18816
19232
19212
19161
19181
19232
18816
18816
19232
19232
18...

result:

ok 100003 lines

Test #196:

score: 0
Accepted
time: 122ms
memory: 63300kb

input:

40000 100000
999985049 999343591 999141734 999051643 998876834 998353817 998195222 998119599 997784497 997268485 997156654 996932988 996826047 996753416 996624284 996504340 996181726 995833370 994846201 994571969 994550918 994459770 994245032 993997937 993402644 993011695 992883770 992124122 9918238...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18760
18760
18759
18759
18760
18760
18760
18760
18760
18759
18759
18759
18760
18760
18619
18619
18760
18760
18759
18759
18760
18760
18760
18760
18760
18760
18760
18760
18760
18760
18759
18759
18760
18759
18759
18760
18760
17...

result:

ok 100003 lines

Test #197:

score: 0
Accepted
time: 127ms
memory: 64380kb

input:

40000 100000
999959097 999649756 999489094 999464368 999316342 999277233 999263880 999155960 998893735 998882023 998629383 998306807 998249251 998153526 997667727 997557454 997542795 997395455 997133684 997037165 996997131 996956072 996917583 996694141 996505272 996391992 996255413 996098961 9960901...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14333
14333
14235
14235
14333
14333
14333
14333
14333
10931
10930
14332
14333
14333
14333
14333
14333
14333
14333
14333
14333
11858
11858
14333
14333
14333
14333
14333
14333
10765
10765
14333
14333
14333
12131
12131
14333
14...

result:

ok 100003 lines

Test #198:

score: 0
Accepted
time: 128ms
memory: 56964kb

input:

40000 100000
999936100 999881242 999876533 999837720 999806669 999775624 999726742 999709236 999664564 999646791 999626806 999476252 999444896 999273873 999107721 999049915 998910734 998854634 998832096 998832008 998703479 998637429 998630897 998629550 998514620 998420853 998409330 998399258 9983490...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14410
14410
14410
14410
14410
14410
14405
14405
14410
14159
14159
14410
14410
14410
14410
14410
14410
14411
14406
14405
14410
14159
14154
14406
14410
14410
14259
14259
14410
14410
14159
14159
14410
14409
14409
14410
14410
14...

result:

ok 100003 lines

Test #199:

score: 0
Accepted
time: 141ms
memory: 54240kb

input:

40000 100000
694344907 490819748 70012484 70012484 207100407 122725030 122725030 207100407 490819748 694344907 154157918 154157918 851357705 822014760 509716510 46118606 46118606 509716510 462138867 462138867 799635021 77639795 77639795 799635021 822014760 319843449 319004044 306190732 306190732 319...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19947
19946
19944
19945
19947
19945
19945
19947
19947
19947
19946
19946
19947
19947
19947
19947
19947
19947
19946
19946
19947
19946
19946
19947
19947
19947
19947
19947
19947
19947
19947
19947
19947
19947
19946
19946
19947
19...

result:

ok 100003 lines

Test #200:

score: 0
Accepted
time: 160ms
memory: 54008kb

input:

40000 100000
874622939 854821691 792193158 621981976 378646007 367449515 137131169 128659398 110503261 68608278 68608278 110503261 128659398 137131169 367449515 378646007 621981976 510985925 362383093 260591358 260591358 362383093 510985925 494640212 463533729 415969421 359338815 310427675 306685741...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19940
19939
19935
19936
19940
19940
19939
19939
19940
19940
19940
19940
19940
19939
19939
19940
19940
19933
19930
19937
19940
19940
19940
19940
19940
19940
19940
19940
19940
19940
19939
19939
19940
19934
19932
19938
19940
19...

result:

ok 100003 lines

Test #201:

score: 0
Accepted
time: 179ms
memory: 54056kb

input:

40000 100000
995998290 968860460 919615716 874151916 824891136 723511131 706728762 674381924 652571945 644875480 517732614 510653897 496537171 468456857 412984085 404081113 403844356 375713672 336796452 306485340 274885515 271892463 244130596 134302149 132282203 118069704 110529494 56515666 33127762...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19914
19909
19897
19902
19914
19909
19854
19859
19914
19902
19898
19910
19914
19903
19903
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19914
19905
19905
19914
19899
19899
19914
19914
19...

result:

ok 100003 lines

Test #202:

score: 0
Accepted
time: 190ms
memory: 54072kb

input:

40000 100000
983384401 982933896 968533352 956963175 944740227 935920962 930306561 927326592 921012673 919112381 910641857 909205408 868895367 859201470 855989047 854420192 852319587 850707213 841335157 837773415 837117904 831070366 785341201 782739746 765570442 761688568 750630642 749210872 7454325...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19948
19946
19941
19943
19948
19948
19948
19948
19948
19947
19947
19948
19948
19945
19945
19948
19948
19944
19944
19948
19948
19941
19837
19844
19948
19948
19948
19948
19948
19938
19938
19948
19948
19946
19946
19948
19948
19...

result:

ok 100003 lines

Test #203:

score: 0
Accepted
time: 206ms
memory: 54404kb

input:

40000 100000
999249630 999172029 994787941 994533371 993503002 988710056 986852134 986712636 986707225 986500137 983991029 983909191 983009646 980706786 980478110 976516845 975924462 973100065 967642494 966725658 951651512 950412731 950133914 941315818 940581465 939736343 936375174 935078143 9348636...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19765
19764
19764
19765
19765
19375
19355
19745
19765
19765
19765
19765
19765
19765
19586
19586
19764
19658
19597
19703
19764
19303
19165
19626
19764
19569
19540
19735
19764
19764
19305
19305
19764
19732
19478
19510
19764
19...

result:

ok 100003 lines

Test #204:

score: 0
Accepted
time: 220ms
memory: 54308kb

input:

40000 100000
997813165 997087298 996594324 994618235 994260169 993458868 993454804 992661243 990419460 988826103 987842322 985101793 981956040 981378737 980427377 979897421 979781959 978974966 978582363 978084685 976694023 974418849 972344460 972178121 971884817 971227280 970504974 970028397 9678137...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19671
19609
19584
19646
19671
19653
19653
19671
19671
19297
19297
19671
19671
18803
18791
19659
19671
19258
19258
19671
19671
19671
19671
19671
19671
19671
18636
18636
19671
19671
19651
19651
19671
19311
19306
19667
19672
18...

result:

ok 100003 lines

Test #205:

score: 0
Accepted
time: 204ms
memory: 53936kb

input:

40000 100000
999961787 999910672 999581741 999531040 999393006 999347537 999084958 998938126 998735440 998686433 998252195 998049674 997851162 997814941 997432587 997423785 997255042 996856965 996615819 995839713 995638707 995512471 995396613 994443473 994431162 994379490 994185833 994071966 9940708...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18353
18353
18129
18129
18353
18353
18069
18069
18353
18161
14793
14985
18353
18354
18206
18205
18353
18349
18347
18347
18353
12513
12513
15275
18353
18353
18349
18349
18353
18151
18144
18346
18353
17249
15221
16325
18353
18...

result:

ok 100003 lines

Test #206:

score: 0
Accepted
time: 190ms
memory: 53996kb

input:

40000 100000
999929453 999868131 999805347 999789290 999666563 999640633 999635419 999569584 999524677 999516293 999465318 999464189 999335726 999333533 999303163 999180154 999040676 998759450 998722572 998549875 998519107 998501276 998411488 998138566 998137043 998002551 997936621 997753385 9975756...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17989
17988
17964
17964
17989
17989
17987
17987
17989
17975
17975
17975
17989
17989
17984
17984
17989
17990
17990
17989
17989
17988
17989
17988
17989
17972
17958
17975
17989
17969
17955
17975
17989
16861
16847
17975
17989
17...

result:

ok 100003 lines

Test #207:

score: 0
Accepted
time: 168ms
memory: 54044kb

input:

40000 100000
999967746 999828888 999826965 999493474 999358408 999332507 999091058 999057594 998988857 998647711 998555958 998555378 998439347 998340062 998291854 998280702 998198155 998197418 998065286 998058307 997985810 997902295 997827169 997776036 997730605 997589363 997583991 997472010 9973711...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
11789
11786
11781
11784
11788
11788
6912
6912
11788
11784
11784
11789
11789
11789
11757
11757
11789
11747
9374
9416
11788
11788
11359
11359
11788
11788
11788
11788
11788
11788
11756
11756
11788
11756
11713
11745
11788
11788
...

result:

ok 100003 lines

Test #208:

score: 0
Accepted
time: 186ms
memory: 54092kb

input:

40000 100000
796015603 192451016 65900154 21618 65900154 49890112 49890112 37521769 18711996 10673065 10658604 6132727 6132727 10658604 4596687 4596687 10673065 18711996 35618030 4958260 4958260 35618030 37521769 192451016 667761505 34302512 14935832 14935832 34302512 667761505 45140757 14598237 145...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19500
19492
19489
19497
19500
19498
19497
19499
19500
19500
19496
19496
19500
19499
19499
19500
19500
19500
19500
19500
19500
19500
19495
19495
19500
19500
19498
19498
19500
19498
19498
19500
19500
19499
19498
19499
19500
19...

result:

ok 100003 lines

Test #209:

score: 0
Accepted
time: 198ms
memory: 54480kb

input:

40000 100000
873522146 708928547 679935531 645260287 533896436 296932398 74079732 540 74079732 296932398 533896436 645260287 679935531 708928547 873522146 934071555 854657451 688651134 406626861 221938928 14315916 8494925 8494925 14315916 221938928 406626861 587157769 518211611 443969571 340916246 3...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19495
19495
19491
19491
19495
19482
19480
19493
19495
19485
19483
19493
19495
19495
19495
19495
19495
19495
19493
19493
19495
19477
19477
19495
19495
19492
19492
19495
19495
19493
19489
19491
19495
19494
19494
19495
19495
19...

result:

ok 100003 lines

Test #210:

score: 0
Accepted
time: 210ms
memory: 54508kb

input:

40000 100000
986546274 972939340 960056197 955898438 947800329 941008745 928136446 923041175 865496927 853820954 844033257 839261071 804163662 802274484 798264442 794363599 765693824 762975106 697441837 661699761 654982976 633239423 617418293 524411385 519132138 498272130 493257275 487868935 4671600...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19479
19479
19474
19474
19479
19428
19396
19447
19479
19479
19479
19479
19479
19474
19474
19479
19479
19436
19409
19452
19479
19479
19479
19479
19479
19443
19407
19443
19479
19472
19460
19467
19479
19479
19479
19479
19479
19...

result:

ok 100003 lines

Test #211:

score: 0
Accepted
time: 277ms
memory: 64544kb

input:

40000 100000
999426369 972257777 928517032 909201594 897308754 862864105 854660260 833633829 826904888 819843890 791048205 778266641 777416598 763682034 760697842 755481858 752704073 744579840 725371425 700199897 690782969 679872347 665252754 643531893 622392249 617341838 591256811 586025101 5851059...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19451
19431
19428
19448
19451
19442
19442
19451
19451
19328
19321
19444
19451
19451
19308
19308
19451
19451
19432
19432
19451
19451
19382
19382
19451
19451
19446
19446
19451
19451
19448
19448
19451
19451
19438
19438
19451
19...

result:

ok 100003 lines

Test #212:

score: 0
Accepted
time: 230ms
memory: 57960kb

input:

40000 100000
998100938 997159063 996187290 994786432 994144375 993324278 990308449 988536076 987165331 981748445 979411115 979137746 977651601 977559896 976850898 972485872 966517991 965952293 965760634 964479649 963672709 963245544 957268781 956468364 953651644 948597353 948479107 945490243 9434553...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19216
18702
18702
19216
19216
19216
19216
19216
19216
19216
18569
18569
19216
19197
19137
19156
19216
19016
19016
19216
19216
19214
19214
19216
19216
19207
19207
19216
19216
18882
18882
19216
19216
19158
19158
19215
19215
19...

result:

ok 100003 lines

Test #213:

score: 0
Accepted
time: 228ms
memory: 58432kb

input:

40000 100000
999880042 999736359 999152387 998575206 994170116 993209045 992039944 988107053 987607590 987240529 985689749 984720429 984385180 982998354 982571143 982356602 981349382 976546767 976351585 974328706 973785102 971088705 970055905 968906325 967410837 964974517 961882266 961490580 9607224...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19042
18905
18905
19041
19041
19041
18974
18974
19041
19041
18997
18997
19041
19041
18831
18832
19042
18208
18156
18990
19042
19042
19041
19041
19041
19041
19025
19025
19041
19041
18538
18538
19041
18928
18262
18375
19041
18...

result:

ok 100003 lines

Test #214:

score: 0
Accepted
time: 230ms
memory: 58128kb

input:

40000 100000
999596463 999432439 999427675 999217105 999204444 998969437 998859706 998621014 998296975 998148169 998052645 998006991 997765750 997550235 997042055 996909594 996636147 996343907 996164731 996159354 995700646 995217577 994708045 994563112 994522443 994000474 993978373 993468577 9932980...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19295
18935
18356
18716
19295
16357
13527
16465
19295
16408
16224
19111
19295
19290
19290
19295
19295
19295
19294
19294
19294
19183
18901
19012
19294
18624
18618
19288
19294
19283
19265
19276
19294
19228
19227
19293
19293
16...

result:

ok 100003 lines

Test #215:

score: 0
Accepted
time: 214ms
memory: 58340kb

input:

40000 100000
999883891 999807399 999707939 999603487 999349625 998963608 998854178 998377977 998044408 998030194 998006975 997916401 997766642 997611227 997557965 997496955 997433348 997139084 997112441 996964274 996847022 996589705 996101588 996085469 995990344 995961319 995696621 995310062 9952072...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16626
16626
16626
16626
16626
16626
16058
16058
16626
16622
15127
15132
16627
16627
16627
16627
16627
16627
16627
16627
16627
16627
16627
16627
16627
16627
16628
16628
16627
16623
16505
16509
16627
15077
15077
16627
16627
70...

result:

ok 100003 lines

Test #216:

score: 0
Accepted
time: 230ms
memory: 58636kb

input:

40000 100000
999804421 999558554 999497822 999488011 999379871 999303981 999247563 999172366 999166413 999137522 999064171 999008309 998976537 998946581 998906370 998838829 998769473 998594433 998397513 998256682 998221027 998111362 998066471 998050391 997896116 997885859 997866674 997860703 9978312...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13665
13665
13583
13583
13665
10990
8813
11488
13664
11700
11700
13664
13664
11337
9239
11566
13664
5931
4856
11743
13664
13381
4227
4510
13664
11566
11416
13514
13664
13665
12343
12342
13664
13658
13658
13664
13664
13582
13...

result:

ok 100003 lines

Test #217:

score: 0
Accepted
time: 219ms
memory: 58676kb

input:

40000 100000
360147077 296771414 131778274 56 131778274 271982356 271982356 296771414 1 215865668 163729976 92561986 87355237 426 87355237 92561986 163729976 215865668 360147077 372 511795299 68016199 68016199 61 267074655 203 364 267074655 511795299 223 955710290 599277566 135453157 98921360 666099...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16015
16015
16013
16013
16015
16013
16013
16015
16015
16015
16013
16013
16015
16011
16011
16015
16015
16015
16015
16015
16015
16014
16013
16014
16015
16015
16014
16014
16015
16012
16012
16015
16015
16015
16015
16015
16015
16...

result:

ok 100003 lines

Test #218:

score: 0
Accepted
time: 245ms
memory: 58604kb

input:

40000 100000
958043184 714178282 451971758 321212853 253147836 240885250 211622301 211622301 240885250 253147836 321212853 323128893 322051846 270826571 145444258 60709733 5 29 28008904 24706845 23093933 74 23093933 24706845 28008904 60709733 145444258 270826571 322051846 33 287631528 272384472 2279...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16037
16031
16031
16037
16037
16026
16026
16037
16037
16037
16037
16037
16037
16037
16037
16037
16037
16037
16037
16037
16037
16035
16035
16037
16037
16033
16033
16037
16037
16033
16033
16037
16037
16032
16032
16037
16037
16...

result:

ok 100003 lines

Test #219:

score: 0
Accepted
time: 243ms
memory: 58752kb

input:

40000 100000
986530801 975935587 911029566 739420770 685623668 623957924 613349042 540937099 533978728 458755655 275290302 275029788 260348401 169967097 168094966 8468391 380 329 128 8468391 168094966 297 148236407 92994039 72511003 11022066 4511012 86451 385 201 367 324 48 316 86451 4511012 1102206...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16071
16071
16071
16071
16071
16068
16068
16071
16071
16071
16067
16067
16071
16071
16071
16071
16071
16071
16071
16071
16071
16041
16041
16071
16071
16066
16063
16068
16071
16068
16068
16071
16071
16062
16062
16071
16071
16...

result:

ok 100003 lines

Test #220:

score: 0
Accepted
time: 298ms
memory: 63828kb

input:

40000 100000
992188667 889743148 887660019 876305590 841024236 729587061 700770802 698105815 695963686 691541986 636944780 617048363 595838156 557666348 530919829 513565049 452514613 393918925 389267183 350896322 271166202 230684197 201990722 193715462 159077984 154736088 151532546 116565698 1123668...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16099
16099
16062
16062
16099
16054
16054
16099
16099
16099
16053
16054
16099
16094
16094
16099
16099
16099
16094
16094
16099
16078
16077
16098
16098
16020
16018
16096
16098
16087
16013
16024
16098
16098
16098
16098
16098
16...

result:

ok 100003 lines

Test #221:

score: 0
Accepted
time: 286ms
memory: 64612kb

input:

40000 100000
981040597 962688093 959887581 947776913 931332073 884724879 860966864 856148819 845568738 842825423 841261606 841017330 820690273 814197326 804151602 798770339 792755603 792102161 790207192 787996726 784684549 771965226 768857291 763053972 756277334 739481177 729304975 720766176 7148358...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16109
16109
16108
16108
16108
16108
16108
16108
16108
15985
15890
16013
16108
16025
16025
16108
16108
16108
16108
16108
16108
16108
16107
16107
16107
16090
16043
16060
16107
16107
16077
16077
16107
16107
16107
16107
16107
16...

result:

ok 100003 lines

Test #222:

score: 0
Accepted
time: 278ms
memory: 64500kb

input:

40000 100000
996673355 995854104 994354374 994194532 989724472 983896853 982406919 977394630 968401924 963277379 963160952 961826016 961544027 961463112 960359176 960268377 958064136 954139943 953699629 952237910 947347529 945473162 942916545 942832668 940619084 939468570 936612685 932231952 9312112...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16064
16034
16001
16031
16064
16064
16064
16064
16064
15799
15606
15871
16064
15994
15994
16064
16064
16064
16064
16064
16064
16064
15252
15252
16064
16064
16019
16019
16063
16043
15641
15661
16063
16062
16050
16052
16064
16...

result:

ok 100003 lines

Test #223:

score: 0
Accepted
time: 272ms
memory: 63424kb

input:

40000 100000
998746068 997391176 993552762 993445838 992964780 992920125 992200109 991170071 990573695 990177936 988681812 987994044 987834484 986918534 986743041 981796025 981025520 980654056 980108565 979380838 979282672 979243088 977968359 972428298 971848410 967709214 966954778 966226246 9656137...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
15824
15824
15820
15820
15824
15575
15556
15805
15824
15056
14994
15762
15824
14931
14846
15739
15824
15775
15635
15684
15824
15823
15796
15797
15824
15824
14699
14699
15824
15824
13732
13732
15824
15787
15786
15823
15824
15...

result:

ok 100003 lines

Test #224:

score: 0
Accepted
time: 262ms
memory: 63768kb

input:

40000 100000
999753715 999753166 999730341 999569456 999187094 998653211 998419466 998297144 997263854 997007143 996120689 996093812 996072981 995840757 995635206 995375999 995185207 995033563 994271340 994073571 994073078 994025559 993746796 993557308 993515779 993496223 993466429 993178860 9930490...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13688
13687
13365
13366
13688
13687
13686
13687
13688
13688
12746
12746
13688
13278
13186
13595
13687
13683
13681
13685
13687
13554
13232
13364
13686
13685
13684
13685
13686
13482
13307
13511
13686
12787
12785
13684
13685
12...

result:

ok 100003 lines

Test #225:

score: 0
Accepted
time: 258ms
memory: 63724kb

input:

40000 100000
999985375 999971424 999809598 999502465 999207895 999202150 999130235 999041941 999015614 998798167 998623390 998525467 998521749 998006077 997758293 997528928 997393324 997367822 997049521 996741354 996583603 996377225 996368678 996059280 995765681 995500189 995181283 995162138 9949203...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14496
14494
11281
11283
14496
14494
14493
14495
14496
14494
7910
7912
14496
14488
12612
12620
14496
14494
14448
14450
14496
11780
7931
7932
14496
14496
14486
14486
14496
14255
14254
14495
14496
14197
13198
13198
14496
12854
...

result:

ok 100003 lines

Test #226:

score: 0
Accepted
time: 242ms
memory: 63488kb

input:

40000 100000
999978619 999272399 999256491 999236217 999079465 999047125 998725061 998230726 998091542 997982542 997924206 997767958 997654145 997578666 997509468 997504967 997496299 997489529 997432055 996898423 996831636 996760979 996735909 996718173 996605688 996454854 996408415 996322707 9960090...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12501
7658
7648
12491
12501
12493
12235
12244
12502
12488
12488
12490
12502
12500
12500
12500
12502
12491
12489
12500
12502
12500
12491
12493
12502
12501
12500
12501
12502
12500
12501
12501
12501
12500
8652
8653
12501
12501
...

result:

ok 100003 lines

Test #227:

score: 0
Accepted
time: 242ms
memory: 63412kb

input:

40000 100000
999937907 999937689 999793765 999711544 999683817 999645017 999607275 999599289 999586916 999565979 999513206 999501726 999397169 999331432 999330846 999272332 999203671 999152711 999089257 999073396 999071904 998987735 998896015 998881118 998767845 998764625 998751171 998717011 9986143...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19926
17865
12023
12023
19926
13500
512
513
19927
17213
2077
2077
19927
6083
6084
7852
19927
13926
12711
12711
19927
9214
9214
12577
19927
3008
3008
15895
19927
19051
6051
6050
19927
16833
8525
8525
19927
11982
11983
18443
1...

result:

ok 100003 lines

Test #228:

score: 0
Accepted
time: 242ms
memory: 64092kb

input:

40000 100000
999990384 999919562 999918913 999845738 999841346 999824635 999824309 999759018 999701352 999669097 999614198 999552959 999491109 999463170 999443125 999435107 999405434 999368765 999268410 999263818 999101796 999060691 999045574 999021656 999007050 998943836 998887143 998800808 9987762...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19859
901
901
9986
19860
17415
6239
6239
19861
18323
15128
15128
19861
15988
15987
18858
19860
9641
2239
2238
19860
15739
15740
16324
19860
5566
5566
18500
19860
14964
14965
17627
19860
14098
6720
6719
19860
1953
1954
8005
1...

result:

ok 100003 lines

Test #229:

score: 0
Accepted
time: 270ms
memory: 64456kb

input:

40000 100000
999966895 999896596 999872878 999823844 999795733 999729081 999727811 999727593 999711954 999687221 999677860 999659916 999653635 999626264 999602344 999573130 999495172 999428083 999319800 999219158 999136473 999088322 998980148 998770465 998675831 998653677 998524878 998387341 9983072...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19730
6541
6114
6113
19728
12846
5723
5723
19728
8289
1717
1716
19728
12220
3514
3515
19728
9358
9358
16528
19728
17823
4441
4440
19728
13182
6219
6219
19728
11282
11282
14082
19728
14395
10441
10440
19728
17257
17258
18232
...

result:

ok 100003 lines

Test #230:

score: 0
Accepted
time: 317ms
memory: 63604kb

input:

40000 100000
999998608 999869249 999868183 999851685 999806003 999724276 999710166 999707457 999657623 999633069 999552975 999503007 999343844 999267835 999236917 999191501 999130303 999108878 999043147 998978279 998974769 998908325 998832450 998824403 998815333 998698040 998667029 998653389 9986182...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19504
17245
5264
5266
19504
845
845
6643
19504
8766
7513
7514
19503
5011
5011
5348
19502
6843
6842
17624
19502
4311
593
592
19502
15834
14494
14495
19502
14098
4973
4974
19502
17713
15891
15890
19502
11659
3092
3093
19502
82...

result:

ok 100003 lines

Test #231:

score: 0
Accepted
time: 299ms
memory: 63404kb

input:

40000 100000
999987307 999930275 999908566 999807599 999769794 999734978 999680970 999642673 999606565 999559282 999512102 999448389 999393634 999378866 999322469 999285149 999241645 999194780 999170488 999085915 998969338 998825721 998804336 998776100 998707042 998488157 998450476 998324209 9982614...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19063
1168
1167
9993
19064
14899
2508
2508
19064
16316
7076
7075
19064
4741
4741
13538
19064
4831
3147
3148
19065
1292
1292
6101
19065
6206
6206
14857
19064
16577
4051
4050
19064
13693
9198
9197
19064
826
825
1224
19065
1018...

result:

ok 100003 lines

Test #232:

score: 0
Accepted
time: 291ms
memory: 64688kb

input:

40000 100000
999977986 999958218 999753971 999741178 999701612 999684846 999681682 999624269 999549016 999477041 999445772 999328173 999223797 999208303 999204640 999131330 999110980 998953701 998896228 998864094 998837351 998830054 998816203 998754718 998635842 998387525 998379095 998332631 9982115...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18602
13648
13648
14368
18602
16900
467
468
18602
7386
788
788
18603
175
173
1117
18603
4955
4954
9073
18603
8204
8202
14897
18604
6884
3194
3196
18603
4702
4701
5322
18603
1370
1368
4994
18603
13143
13142
17353
18604
894
89...

result:

ok 100003 lines

Test #233:

score: 0
Accepted
time: 303ms
memory: 63532kb

input:

40000 100000
999965449 999813434 999724921 999638660 999558353 999542965 999515783 999426030 999388603 999298506 999293877 999290028 999273680 999241434 999216871 999177019 999171332 999012409 998955174 998910616 998753619 998701949 998463064 998445276 998442390 998334565 998288627 998218550 9981765...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17684
5885
3897
3898
17684
6777
6776
7234
17684
14900
1372
1373
17684
17684
6659
6659
17684
5594
5594
8214
17684
7276
7275
12776
17684
14138
7860
7861
17684
4305
4304
13992
17683
5706
5705
8499
17683
15291
15289
15389
17684
...

result:

ok 100003 lines

Test #234:

score: 0
Accepted
time: 303ms
memory: 63928kb

input:

40000 100000
999946269 999942026 999917956 999687879 999555393 999488791 999445746 999440038 999253869 999209656 999201795 999187487 999081182 999009130 998952593 998835525 998825361 998805537 998724884 998683941 998677597 998673584 998636631 998635104 998623088 998449526 998317634 998278786 9982159...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16316
7617
1566
1568
16316
12881
4223
4223
16317
1292
1292
2323
16318
6955
6954
9064
16318
8151
8150
9551
16318
13421
2677
2679
16318
9299
9298
9433
16318
7726
3912
3913
16318
3842
2399
2399
16319
11655
11654
11959
16319
824...

result:

ok 100003 lines

Test #235:

score: 0
Accepted
time: 1116ms
memory: 77292kb

input:

100000 250000
932589818 987127111 932589818 932589818 987127111 932589818 932589818 987127111 932589818 987127111 932589818 932589818 987127111 987127111 932589818 932589818 932589818 987127111 987127111 932589818 932589818 932589818 932589818 987127111 987127111 932589818 987127111 987127111 987127...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
75024
75024
75025
75024
75024
75025
75025
75025
75025
75024
75025
75025
75025
75026
75027
75027
75028
75028
75028
75027
75028
75028
75028
75028
75028
75028
75029
75030
75031
75031
75031
75031
75031
75031
75031
75030
75029
75...

result:

ok 250003 lines

Test #236:

score: 0
Accepted
time: 1173ms
memory: 74904kb

input:

100000 250000
314482846 827844089 827844089 827844089 64800057 314482846 314482846 314482846 827844089 64800057 827844089 827844089 64800057 64800057 64800057 827844089 64800057 314482846 314482846 827844089 314482846 64800057 64800057 314482846 827844089 314482846 64800057 827844089 314482846 82784...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
60942
60942
60942
60942
60943
60945
60946
60947
60947
60948
60949
60949
60948
60948
60947
60948
60949
60950
60950
60950
60949
60950
60950
60950
60950
60950
60951
60950
60950
60950
60949
60948
60948
60948
60949
60949
60948
60...

result:

ok 250003 lines

Test #237:

score: 0
Accepted
time: 1017ms
memory: 76888kb

input:

100000 250000
902118669 323274917 509290983 755865094 902118669 474378675 306473485 306473485 264687469 902118669 968534807 509290983 509290983 306473485 306473485 246072693 902118669 306473485 968534807 306473485 306473485 474378675 323274917 264687469 264687469 884087940 264687469 968534807 884087...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29375
29374
29375
29374
29373
29372
29372
29371
29371
29372
29372
29371
29371
29370
29370
29371
29370
29369
29370
29369
29369
29369
29368
29368
29368
29368
29368
29368
29368
29368
29368
29369
29369
29368
29368
29368
29368
29...

result:

ok 250003 lines

Test #238:

score: 0
Accepted
time: 991ms
memory: 76936kb

input:

100000 250000
524381017 524381017 524381017 669925914 1483595 389283375 958070114 820788614 958070114 958070114 138408388 669925914 958070114 524381017 877431893 669925914 647210116 647210116 524381017 224441764 336633259 936408178 389283375 280999761 336633259 18033110 18033110 958070114 389283375 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
21956
21955
21956
21957
21956
21956
21956
21956
21956
21956
21955
21956
21956
21955
21954
21954
21954
21955
21955
21955
21954
21954
21954
21954
21955
21955
21957
21956
21955
21956
21956
21955
21955
21954
21954
21953
21953
21...

result:

ok 250003 lines

Test #239:

score: 0
Accepted
time: 954ms
memory: 76688kb

input:

100000 250000
544209072 159389037 39975430 816948536 830186050 159389037 73246251 439701489 289273127 467462236 844653456 186672986 186672986 194477121 830186050 208898831 544209072 844653456 328182098 186672986 655749810 544209072 844653456 830186050 741364213 467462236 655749810 467462236 46746223...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18131
18131
18130
18130
18130
18130
18130
18130
18130
18130
18129
18129
18128
18128
18128
18128
18127
18127
18128
18128
18128
18128
18128
18127
18128
18129
18129
18128
18128
18128
18128
18128
18128
18127
18124
18124
18125
18...

result:

ok 250003 lines

Test #240:

score: 0
Accepted
time: 899ms
memory: 78596kb

input:

100000 250000
991627684 929266453 224271758 287741222 898967293 26935795 991627684 592778868 53709008 361385026 902797277 233524707 53709008 191766008 902797277 191766008 194501570 991627684 592778868 793630439 890403792 191766008 902797277 890403792 470175932 484700932 929266453 965033513 194501570...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13384
13384
13384
13385
13385
13385
13385
13386
13386
13386
13386
13387
13388
13388
13388
13388
13388
13389
13389
13388
13388
13388
13388
13388
13388
13388
13390
13389
13389
13389
13390
13389
13389
13390
13390
13390
13390
13...

result:

ok 250003 lines

Test #241:

score: 0
Accepted
time: 861ms
memory: 76492kb

input:

100000 250000
382209667 602494955 623947732 429561966 779173968 109413406 577294809 4043964 946440594 42402446 726944074 410416501 369775602 251488082 408302683 656847917 456523628 78573595 779173968 912044243 78573595 912044243 369775602 102782314 577294809 4043964 946440594 577294809 42402446 4083...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
8881
8882
8882
8882
8882
8882
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8881
8880
8879
8879
8879
8878
8878
8878
8877
8877
8877
8877
8877
8878
8878
8877
8877
8877
8877...

result:

ok 250003 lines

Test #242:

score: 0
Accepted
time: 827ms
memory: 78016kb

input:

100000 250000
130622340 540867805 293832155 912937954 634789063 429938993 67409163 3039413 861003851 605799828 463651279 906677078 410200169 863879373 489124491 730188421 767970084 893007640 391295039 282702459 898116453 899899339 605799828 534962664 159995879 509961318 83201529 688631843 898116453 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5157
5157
5157
5157
5157
5157
5157
5157
5157
5157
5157
5158
5158
5158
5158
5158
5158
5158
5159
5159
5159
5159
5159
5160
5160
5160
5160
5160
5160
5160
5160
5160
5160
5161
5161
5161
5162
5162
5162
5162
5162
5162
5161
5161
5161...

result:

ok 250003 lines

Test #243:

score: 0
Accepted
time: 757ms
memory: 76804kb

input:

100000 250000
486661746 974486131 646844891 620526856 914082689 35351728 315369569 674342174 844715939 377357320 87009555 888364125 912401152 114349376 12672927 729210066 543003920 396949065 992203093 969896003 525351044 317980260 730810064 984988534 473172384 104920833 319127069 115440238 791193806...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
735
735
735
735
735
735
735
735
735
735
735
735
735
734
734
734
733
733
733
733
733
733
733
733
733
733
733
733
734
734
734
734
734
734
734
735
735
734
734
734
734
734
734
734
734
734
734
734
734
734
734
734
734
734
734
734
...

result:

ok 250003 lines

Test #244:

score: 0
Accepted
time: 716ms
memory: 75944kb

input:

100000 250000
399697071 628544625 546932236 150689277 868983435 296722510 539312908 196904315 483556120 711988462 955545857 551736516 261613490 870064444 139504560 620631902 860645547 402228238 997055315 552306560 966875675 201484318 86890211 380021969 650107316 411323161 289658800 69507379 24237586...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98...

result:

ok 250003 lines

Test #245:

score: 0
Accepted
time: 724ms
memory: 76824kb

input:

100000 250000
477542915 335052407 476601681 938833128 647309155 45549350 505695528 801146363 370185759 792203371 906602065 507301923 452783521 642258165 445094379 742760526 56796784 25074490 737565823 256260649 65042578 455017253 675186862 493596767 625150737 927046473 550776982 896768220 126762118 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47
47...

result:

ok 250003 lines

Test #246:

score: 0
Accepted
time: 700ms
memory: 78380kb

input:

100000 250000
835958799 295772437 179535280 927660365 937223916 892413229 578854044 680775088 133874631 618114241 807277275 569644394 971622665 810406395 782207785 722847847 607650821 586523911 815203492 264628938 585150841 440778467 523911329 628012382 223704482 579474555 814961764 485176016 660869...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31
31...

result:

ok 250003 lines

Test #247:

score: 0
Accepted
time: 713ms
memory: 76804kb

input:

100000 250000
647115821 180220100 987160891 717087945 581530575 861194842 66778720 978543099 632662335 654731088 924045789 813328625 662777437 800297651 161195240 487366910 83289146 230851950 562401026 590884755 13298137 178414617 745961965 44013219 663399265 922020742 861648333 651942400 851412934 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14...

result:

ok 250003 lines

Test #248:

score: 0
Accepted
time: 680ms
memory: 76796kb

input:

100000 250000
574581421 634217680 625789181 838126069 427244718 309447904 537729655 772065933 56498777 240289895 204581004 638700269 47618846 549611183 369708466 962981964 69154165 28770714 557953516 27442992 226176167 96176299 774165252 70417828 521008160 476219407 103451079 481020037 274933609 144...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10...

result:

ok 250003 lines

Test #249:

score: 0
Accepted
time: 640ms
memory: 79772kb

input:

100000 250000
859821099 320605516 641692530 245731026 752655818 402734221 934536680 96687851 835806171 868553374 964378034 42456332 726400996 726046651 993359321 436490883 83484574 933860693 157294057 457587965 287512211 740998956 601983897 165774112 153941544 78958575 461065041 56521872 921842405 3...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
...

result:

ok 250003 lines

Test #250:

score: 0
Accepted
time: 667ms
memory: 80948kb

input:

100000 250000
379564780 661482922 883419363 952984837 457299182 768594338 512270397 826060659 459786625 839732976 122570894 14770964 664670985 685160280 519462590 306646557 368091980 786328902 73384780 172987862 908271214 896287509 258400134 777842171 564753710 714564049 255934660 460717801 82022713...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
...

result:

ok 250003 lines

Test #251:

score: 0
Accepted
time: 634ms
memory: 78920kb

input:

100000 250000
497285687 910527886 237312342 612140318 540748878 77674147 888746222 493897592 179082411 484120083 241286078 891464799 183780707 367834939 957433964 227182925 227882481 785714466 28854307 985552691 210719824 791402680 822735743 158331804 794331315 184485090 466373444 335241464 25752446...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
...

result:

ok 250003 lines

Test #252:

score: 0
Accepted
time: 500ms
memory: 78520kb

input:

100000 250000
999995656 999938369 999928522 999882398 999878551 999875996 999798274 999795180 999774748 999764230 999698170 999682340 999662917 999655949 999646724 999613654 999610820 999608042 999543770 999493170 999490119 999471625 999454657 999454447 999436338 999435129 999390814 999359865 999352...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49931
49864
47564
47564
49931
21029
21029
21090
49931
37397
21382
21381
49931
388
388
6622
49931
20493
20493
20539
49931
17090
8196
8195
49931
2994
2994
4346
49931
13577
13578
49382
49931
5798
5798
33994
49931
46496
46496
46...

result:

ok 250003 lines

Test #253:

score: 0
Accepted
time: 517ms
memory: 80424kb

input:

100000 250000
999964351 999923968 999899733 999890454 999888561 999873267 999869332 999857860 999828769 999816197 999814318 999810022 999783596 999756971 999732346 999714260 999691276 999580889 999568253 999531783 999483385 999440864 999437548 999419601 999402366 999397738 999284752 999284012 999232...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49922
3539
3540
48337
49923
6965
6965
35227
49923
17156
17157
46265
49923
32763
1333
1332
49923
34558
34558
44328
49923
48382
33529
33529
49923
46267
26707
26706
49923
15340
6458
6458
49923
38306
38306
44009
49923
6284
6285
...

result:

ok 250003 lines

Test #254:

score: 0
Accepted
time: 536ms
memory: 80756kb

input:

100000 250000
999987866 999981086 999978851 999950943 999916609 999883879 999867273 999861486 999839614 999808790 999781873 999738737 999698537 999675177 999656145 999653229 999642826 999641014 999600782 999591723 999589249 999561508 999555221 999531649 999504759 999499511 999485696 999459054 999444...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49904
14635
14636
26378
49904
45152
2965
2965
49904
45127
27255
27255
49904
885
885
38786
49904
38943
12292
12292
49904
29395
14049
14049
49904
32434
23303
23304
49905
30586
1508
1507
49905
39942
39942
40371
49905
19205
5974...

result:

ok 250003 lines

Test #255:

score: 0
Accepted
time: 589ms
memory: 80736kb

input:

100000 250000
999988737 999957107 999937444 999916654 999909457 999900490 999897965 999863995 999854790 999818062 999761898 999739356 999731634 999694615 999694067 999677177 999667851 999652696 999650834 999647969 999639611 999633239 999614618 999602061 999523162 999425486 999420034 999336295 999331...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49893
19978
18146
18145
49893
6935
6934
22505
49893
42479
42131
42130
49893
9696
9696
46860
49893
8889
8889
37981
49893
12735
12735
39291
49893
33570
17119
17118
49893
28820
7360
7361
49893
15963
15963
46178
49893
9269
9269
...

result:

ok 250003 lines

Test #256:

score: 0
Accepted
time: 621ms
memory: 80896kb

input:

100000 250000
999947788 999911144 999898276 999896276 999891444 999862388 999832929 999828014 999797312 999788758 999721028 999654812 999585349 999558666 999536022 999492726 999407927 999380099 999377213 999358372 999358088 999344615 999343979 999328475 999264134 999263023 999243994 999226820 999192...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49808
12007
12007
13241
49808
17204
745
744
49807
16995
16041
16041
49807
12407
2529
2530
49808
28359
19260
19259
49808
30771
30770
43164
49808
35988
15737
15738
49809
1931
1931
38586
49810
1969
1969
29899
49811
32627
13011
...

result:

ok 250003 lines

Test #257:

score: 0
Accepted
time: 669ms
memory: 81040kb

input:

100000 250000
999989735 999987294 999986810 999975032 999932788 999906589 999897783 999894103 999821711 999812865 999810314 999795823 999773409 999732220 999731160 999716723 999711002 999692998 999667335 999653640 999621184 999619406 999616754 999608208 999551427 999546401 999533839 999526515 999526...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49701
33574
8470
8470
49702
37290
30491
30490
49701
1937
1936
34513
49700
12915
6214
6214
49700
11291
11289
23772
49700
48012
30789
30788
49699
24573
24573
48385
49699
15579
15580
36516
49699
48773
1006
1008
49699
15465
1282...

result:

ok 250003 lines

Test #258:

score: 0
Accepted
time: 697ms
memory: 80400kb

input:

100000 250000
999992765 999965123 999955665 999933047 999875607 999866827 999857277 999839824 999837496 999795023 999699717 999689869 999681457 999676297 999657958 999650778 999586627 999577392 999567002 999562310 999553524 999547050 999514418 999499713 999495513 999481181 999461287 999428955 999365...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49467
3253
3252
15798
49467
43510
26926
26926
49467
45299
39142
39142
49467
48506
36579
36579
49468
6994
6993
23596
49468
6666
550
550
49468
28143
28141
42190
49467
47776
41896
41897
49467
42330
16144
16145
49467
41938
34205...

result:

ok 250003 lines

Test #259:

score: 0
Accepted
time: 737ms
memory: 78568kb

input:

100000 250000
999989651 999977709 999969966 999962104 999961382 999883435 999869847 999857623 999850483 999848997 999847778 999844778 999807121 999800784 999754577 999738070 999701701 999614307 999598222 999591764 999565583 999540435 999516415 999488152 999476311 999465809 999454323 999406054 999382...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49009
18564
18281
18282
49009
47146
26778
26778
49009
4634
4633
39056
49009
17823
17822
32832
49009
7296
7295
31314
49009
745
744
3463
49009
48419
24944
24946
49009
44345
22197
22198
49009
44530
8645
8646
49009
801
800
27291...

result:

ok 250003 lines

Test #260:

score: 0
Accepted
time: 767ms
memory: 78712kb

input:

100000 250000
999988430 999911661 999891753 999875040 999831586 999831001 999799036 999788778 999786577 999770160 999742957 999694894 999691786 999665898 999657368 999628763 999621781 999599814 999593891 999590451 999564395 999563956 999530141 999527038 999525284 999507242 999473552 999468176 999458...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48526
18712
18711
39307
48526
4503
4502
48171
48526
13555
13553
34406
48527
31855
6868
6869
48527
21335
21334
25374
48527
21497
21496
26796
48527
34560
10871
10872
48527
11288
11287
23406
48526
34440
8203
8203
48526
7030
703...

result:

ok 250003 lines

Test #261:

score: 0
Accepted
time: 777ms
memory: 81092kb

input:

100000 250000
999979285 999966212 999958462 999956543 999937062 999932567 999918224 999913180 999910195 999907857 999883479 999879996 999862247 999844636 999767061 999754833 999743221 999708624 999702618 999670775 999661637 999643356 999642322 999638193 999633646 999567248 999546529 999533098 999524...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47573
33280
33279
44222
47573
25231
25230
39362
47573
20125
20124
36822
47573
35583
12835
12838
47573
31902
20305
20306
47573
44821
9819
9821
47573
33956
26103
26104
47573
35013
15148
15149
47573
30736
5629
5629
47573
19849
...

result:

ok 250003 lines

Test #262:

score: 0
Accepted
time: 813ms
memory: 78268kb

input:

100000 250000
999984566 999965805 999948710 999924201 999908953 999897911 999888273 999846591 999834985 999822142 999789526 999786427 999757245 999754231 999723564 999686318 999677789 999667162 999623706 999615214 999613185 999586741 999586217 999579257 999569560 999561060 999555766 999506289 999486...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46170
39765
33739
33739
46170
38370
13331
13332
46170
18003
16714
16715
46170
29332
20410
20411
46170
6328
6328
38801
46170
37906
26901
26904
46171
41383
17174
17175
46171
18920
17529
17531
46171
1191
1191
6128
46171
19667
6...

result:

ok 250003 lines

Test #263:

score: 0
Accepted
time: 248ms
memory: 78456kb

input:

100000 250000
425716446 212156736 212156736 425716446 686449831 686449831 515848269 28952811 16718291 16718291 28952811 515848269 385845103 385845103 982341048 581122832 113270306 93226022 34347867 34347867 93226022 57869043 21539894 11783736 11783736 21539894 57869043 113270306 581122832 982341048 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49994
49994
49994
49994
49994
49994
49994
49994
49994
49992
49992
49994
49994
49994
49991
49991
49994
49990
49990
49994
49994
49993
49993
49994
49994
49994
49994
49994
49994
49994
49990
49990
49994
49991
49991
49994
49994
49...

result:

ok 250003 lines

Test #264:

score: 0
Accepted
time: 276ms
memory: 77876kb

input:

100000 250000
823592337 795585150 704732282 217877860 139180892 77352251 77352251 139180892 217877860 704732282 237083515 26437805 26437805 237083515 795585150 774788346 658624901 128017650 117355188 99685768 27712269 27712269 99685768 117355188 128017650 658624901 774788346 332750785 136993858 2830...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49988
49985
49978
49981
49988
49980
49980
49988
49988
49988
49980
49980
49988
49984
49974
49978
49988
49981
49974
49981
49988
49988
49987
49987
49988
49988
49978
49978
49988
49984
49966
49970
49988
49977
49977
49988
49988
49...

result:

ok 250003 lines

Test #265:

score: 0
Accepted
time: 306ms
memory: 77656kb

input:

100000 250000
949540256 931644859 848553885 800994774 798800995 757139299 737751667 735899367 731434305 711035509 619952322 593654746 590572445 584907414 546847126 541178933 540097416 519757109 455507376 431019150 388150658 344310132 323649800 310732555 303331155 302556837 293022657 287231155 237964...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49969
49931
49931
49969
49969
49963
49963
49969
49969
49962
49948
49955
49969
49957
49922
49934
49969
49961
49961
49969
49969
49965
49965
49969
49969
49936
49936
49969
49969
49945
49945
49969
49969
49965
49965
49969
49969
49...

result:

ok 250003 lines

Test #266:

score: 0
Accepted
time: 315ms
memory: 78380kb

input:

100000 250000
994629270 978366892 971829501 961933837 953613682 927708263 923384298 908691979 895426764 887250147 881668171 871074710 851706881 850973512 838592531 827057493 802271232 798906184 796697320 787916108 778459646 763625305 755859021 744599370 718819961 686906530 686348796 660922440 639542...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49942
49848
49846
49940
49942
49942
49907
49907
49942
49927
49927
49942
49942
49940
49940
49942
49942
49938
49936
49940
49942
49941
49888
49889
49942
49942
49927
49927
49942
49902
49902
49942
49942
49942
49927
49927
49942
49...

result:

ok 250003 lines

Test #267:

score: 0
Accepted
time: 371ms
memory: 76464kb

input:

100000 250000
997541127 995127817 993549115 988736035 986917367 986354535 985468323 983772034 982908962 982307878 976698929 976250176 974752741 971768042 971011788 970048283 966555042 962603004 960716340 956865105 953345440 950222477 948070809 947931929 946475114 945637012 941338858 938183690 936810...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49853
49783
49783
49853
49853
49853
49853
49853
49853
49823
49591
49621
49853
49810
48766
48809
49853
49600
49600
49853
49853
49853
49744
49744
49853
49406
49406
49853
49853
49427
49426
49852
49853
49853
49851
49851
49853
49...

result:

ok 250003 lines

Test #268:

score: 0
Accepted
time: 279ms
memory: 78460kb

input:

100000 250000
998941317 996922237 996306430 994542300 994062520 993508411 993303818 990554538 990218664 989181913 988532384 988230763 984034234 984019717 983844451 983508891 982648177 980670038 976767654 973559063 972324809 970897591 970851102 969999809 968585259 965554053 965498809 964699172 963004...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49598
49598
49598
49598
49598
49598
49175
49175
49598
49598
49598
49598
49598
49598
49590
49590
49598
49583
49483
49498
49598
49598
49598
49598
49598
49598
49598
49598
49598
49583
48960
48975
49598
49598
49598
49598
49598
49...

result:

ok 250003 lines

Test #269:

score: 0
Accepted
time: 401ms
memory: 77508kb

input:

100000 250000
999999235 999979567 999654651 999478034 999464657 999452925 999442911 999239213 998950901 998940528 998778997 998215109 998047074 997788305 997689166 997592727 997575062 997485038 997435013 997323468 997193530 996957622 996940705 996812371 995858290 995804483 995692576 995655901 995641...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48519
48519
46338
46338
48519
48089
48089
48519
48519
48370
48358
48507
48519
48107
48063
48475
48519
48519
44786
44786
48519
46470
43031
43863
48519
48517
45913
45915
48519
48131
48131
48519
48519
44543
43211
47187
48519
48...

result:

ok 250003 lines

Test #270:

score: 0
Accepted
time: 350ms
memory: 78576kb

input:

100000 250000
999964676 999918343 999858035 999692947 999634030 999603066 999451757 998824483 998557661 998527952 998092782 997933984 997608398 997526197 997264610 997170752 997119820 996984333 996878858 996872871 996773686 996579207 996381371 996305254 996144233 995935127 995920768 995464468 995432...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47164
47068
44953
45049
47164
47164
47144
47144
47164
37011
37011
47164
47164
46888
45079
45355
47164
47146
47146
47164
47164
47161
47161
47164
47164
42561
42561
47164
47164
46756
46756
47164
47164
38227
38200
47137
47164
47...

result:

ok 250003 lines

Test #271:

score: 0
Accepted
time: 330ms
memory: 77672kb

input:

100000 250000
999997786 999997069 999936377 999834026 999790779 999777346 999749333 999683052 999668113 999627290 999589578 999552438 999536785 999509894 999492769 999428639 999367921 999282290 999243676 999201354 999156955 999152558 999152518 999134041 999087451 999078124 999072876 999005239 998926...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44552
44552
43777
43777
44552
44552
44552
44552
44552
38912
37845
43485
44552
44552
44544
44544
44552
44552
38586
38586
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44552
44...

result:

ok 250003 lines

Test #272:

score: 0
Accepted
time: 354ms
memory: 77148kb

input:

100000 250000
716708708 648201913 15098381 15098381 648201913 405806439 366146355 236184879 236184879 366146355 405806439 716708708 858444842 553304975 353003628 293275830 33540559 33540559 293275830 49399906 23657797 23657797 30976018 10303121 10303121 30976018 49399906 353003628 553304975 22489532...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49949
49949
49949
49949
49949
49949
49949
49949
49949
49945
49941
49945
49949
49948
49945
49946
49949
49949
49943
49943
49949
49949
49949
49949
49949
49948
49943
49944
49949
49949
49949
49949
49949
49947
49947
49949
49949
49...

result:

ok 250003 lines

Test #273:

score: 0
Accepted
time: 367ms
memory: 78672kb

input:

100000 250000
981030107 889742824 770600642 726616197 203827962 180590893 45260328 24654107 20477128 4885066 4885066 20477128 24654107 45260328 180590893 203827962 690252231 674990967 563176571 449569646 444210693 37516213 29915782 29915782 37516213 444210693 449569646 563176571 674990967 690252231 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49949
49949
49949
49949
49949
49946
49946
49949
49949
49948
49948
49949
49949
49948
49948
49949
49949
49939
49938
49948
49949
49948
49945
49946
49949
49949
49949
49949
49949
49949
49949
49949
49949
49949
49949
49949
49949
49...

result:

ok 250003 lines

Test #274:

score: 0
Accepted
time: 413ms
memory: 77772kb

input:

100000 250000
982983023 960695723 934315890 912983571 884508963 879351230 854291015 852703590 842809653 829624356 824856021 824541374 810236770 766861534 757411886 743850125 738466208 737411650 718482589 690007415 609476131 557987405 549596469 506278153 497125784 493921098 442154439 416424474 409968...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49924
49924
49907
49907
49924
49909
49909
49924
49924
49924
49922
49922
49924
49924
49924
49924
49924
49924
49924
49924
49924
49922
49922
49924
49924
49913
49913
49924
49924
49906
49905
49923
49924
49922
49922
49924
49924
49...

result:

ok 250003 lines

Test #275:

score: 0
Accepted
time: 428ms
memory: 78064kb

input:

100000 250000
961409841 951446026 946265512 931204469 921227271 915586089 882575362 862259742 858869186 853371959 834361245 816924619 812727845 810665352 808452284 738688349 716227911 710822057 709944587 685936024 682064251 666827986 661843372 648835405 635696319 635000348 615751184 610314091 602353...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49888
49888
49845
49845
49888
49888
49888
49888
49888
49885
49885
49888
49888
49888
49888
49888
49888
49823
49823
49888
49888
49828
49763
49823
49888
49881
49881
49888
49888
49888
49879
49879
49888
49888
49782
49782
49888
49...

result:

ok 250003 lines

Test #276:

score: 0
Accepted
time: 478ms
memory: 78324kb

input:

100000 250000
999343585 996930696 988351622 986584039 986206524 983465207 983420286 978560606 978035725 977225299 970102985 964193571 963968240 957482995 956173944 955988203 950581395 949648630 949560316 942376564 938570239 938142085 931811785 929010073 928339852 928063904 927311172 924093499 922522...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49609
49545
49544
49608
49609
49263
49261
49607
49609
49609
49609
49609
49609
49590
49590
49609
49609
49609
49609
49609
49609
49595
49595
49609
49609
49609
49609
49609
49609
49271
49271
49609
49609
49609
49391
49391
49609
49...

result:

ok 250003 lines

Test #277:

score: 0
Accepted
time: 481ms
memory: 77400kb

input:

100000 250000
998418381 995571642 992509808 989853341 988064154 986838090 986729747 986406188 985958787 985040647 984623892 983394582 980748527 979746007 973682015 972159795 969882539 969330012 968632034 964649260 964391878 957893778 957597964 955773085 954672697 954402418 954032392 953993760 953714...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49586
48998
48973
49561
49586
49586
49546
49546
49586
49586
49029
49029
49586
48513
48476
49549
49586
49556
49556
49586
49586
49586
49243
49243
49586
49031
49028
49583
49586
49472
49361
49475
49586
49205
49205
49586
49586
49...

result:

ok 250003 lines

Test #278:

score: 0
Accepted
time: 514ms
memory: 78568kb

input:

100000 250000
999984431 999938880 999857239 999692689 999611599 999120224 998302848 998078927 997942710 997747874 997470374 997237266 997168441 997120889 996759425 996272792 995317158 995068289 994874388 994790700 994778095 994124122 994007599 993949182 992659581 992157106 992061207 991558372 991195...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45323
45293
44237
44267
45323
45323
45323
45323
45323
45091
41931
42163
45323
45318
45318
45323
45323
45323
45264
45264
45323
45323
45116
45116
45323
45318
45318
45323
45323
45323
44311
44311
45323
45323
45323
45323
45323
44...

result:

ok 250003 lines

Test #279:

score: 0
Accepted
time: 462ms
memory: 78800kb

input:

100000 250000
999941267 999923069 999893266 999563595 999429830 999423795 999146498 999111354 998935367 998833506 998634857 998549381 998522609 998480182 998380114 998202830 998193083 998120727 998074742 998063102 997946301 997943512 997871756 997765015 997401624 997395292 996966433 996896428 996562...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
44728
44650
44650
44728
44728
41905
41896
44719
44728
44644
38381
38465
44728
40870
40483
44341
44728
44524
44504
44644
44728
44116
44116
44728
44728
44413
44413
44728
44728
44675
44675
44728
44728
44719
44719
44728
44728
44...

result:

ok 250003 lines

Test #280:

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

input:

100000 250000
999912562 999871238 999769907 999743115 999605737 999591143 999555795 999543388 999541579 999539225 999444356 999424046 999420936 999371996 999179553 999130404 999089563 999047915 999047384 999022370 998935880 998858014 998843505 998731582 998670683 998621249 998584312 998551207 998507...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46327
46326
46293
46294
46328
32933
32917
46312
46328
46328
33613
33613
46328
38270
38270
46328
46328
46323
31366
31371
46328
46294
45941
45975
46328
33907
33907
46328
46328
46323
46323
46328
46328
45972
45967
46323
46328
46...

result:

ok 250003 lines

Test #281:

score: 0
Accepted
time: 443ms
memory: 77848kb

input:

100000 250000
797748656 741571479 268037582 268037582 741571479 140328489 41274824 36968691 36968691 41274824 140328489 699536686 333563690 66319918 66319918 104343086 104343086 333563690 699536686 797748656 870994902 704776700 379317281 12485 195715075 155857054 128963638 93443715 86716663 86716663...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49496
49496
49496
49496
49496
49490
49490
49496
49496
49496
49496
49496
49496
49495
49495
49496
49496
49496
49496
49496
49496
49496
49496
49496
49496
49496
49495
49495
49496
49496
49496
49496
49496
49494
49494
49496
49496
49...

result:

ok 250003 lines

Test #282:

score: 0
Accepted
time: 481ms
memory: 78584kb

input:

100000 250000
993066579 983677334 980972278 772251542 524000216 376162829 305635703 305635703 376162829 401588693 52594897 52594897 401588693 213120142 209802849 95094240 16699542 16699542 95094240 209802849 213120142 524000216 743357712 647435792 579847840 481846269 454938328 281629758 94172743 893...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49495
49495
49495
49495
49495
49495
49487
49487
49495
49493
49493
49495
49495
49495
49487
49487
49495
49490
49490
49495
49495
49495
49495
49495
49495
49472
49472
49495
49495
49495
49495
49495
49495
49495
49495
49495
49495
49...

result:

ok 250003 lines

Test #283:

score: 0
Accepted
time: 530ms
memory: 78744kb

input:

100000 250000
991946481 980265328 946246265 921495055 903233595 894155426 881738499 820368228 765507620 695983575 694764443 560786497 487100121 475688459 456420705 454192542 439023598 403580472 399873224 385886709 367461718 335183608 321061323 288953621 270674070 179659412 146779086 137521372 114854...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49464
49415
49415
49464
49464
49437
49418
49445
49464
49457
49457
49464
49464
49464
49440
49440
49464
49460
49460
49464
49464
49464
49464
49464
49464
49448
49433
49449
49464
49464
49460
49460
49464
49464
49463
49463
49464
49...

result:

ok 250003 lines

Test #284:

score: 0
Accepted
time: 556ms
memory: 78856kb

input:

100000 250000
995983775 955052964 954781112 943156740 939761837 920488577 855767655 854099720 853678860 851024338 849997197 841411263 827127255 824646433 823273863 820963923 803726503 799037168 789773044 770446126 769179580 747433857 721223537 707037734 700124628 684467633 679275576 654820347 628379...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49419
49414
49256
49261
49419
49358
49353
49414
49419
49411
49367
49375
49419
49419
49419
49419
49419
49400
49389
49408
49419
49311
49311
49419
49419
49374
49374
49419
49419
49355
49355
49419
49419
49419
49419
49419
49419
49...

result:

ok 250003 lines

Test #285:

score: 0
Accepted
time: 592ms
memory: 78204kb

input:

100000 250000
991057096 989580702 987555642 987338595 985937036 984849999 984508531 984118500 982190215 977131522 975026126 973570165 972104260 972003502 970855368 968152479 966205527 966039100 965890265 965411876 963503882 963169730 962841878 962623143 958466935 958419925 952718336 951815091 951683...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49038
49036
49030
49032
49038
49038
48685
48685
49038
49038
49038
49038
49038
48954
48953
49037
49038
49038
48755
48755
49038
49038
48996
48996
49038
48279
48159
48918
49038
49038
49013
49013
49038
48868
48866
49036
49038
49...

result:

ok 250003 lines

Test #286:

score: 0
Accepted
time: 594ms
memory: 78320kb

input:

100000 250000
997456496 996896001 996001223 995466086 994631161 993166344 990030834 989480872 989298876 987438318 985822959 984755375 984692374 982675773 981536689 980257439 978714894 977360583 976189265 975774679 974038949 973436521 973255597 972850063 972325915 971447174 970058263 969700355 968886...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49042
49030
49030
49042
49042
48934
48885
48993
49042
48927
47501
47616
49042
48492
48469
49019
49043
48008
47822
48857
49043
49043
48441
48441
49043
48906
48639
48776
49043
48107
46704
47640
49043
48892
48881
49032
49043
49...

result:

ok 250003 lines

Test #287:

score: 0
Accepted
time: 577ms
memory: 77836kb

input:

100000 250000
999926416 999871647 999115643 998895813 998552938 997997805 997875107 997734033 997511320 997366812 997201554 997102901 997050818 997021590 996841135 996821736 996732885 996644736 996492969 996433336 996200208 996001599 995611003 995506112 995448445 995052304 994944635 994803997 994671...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47360
47360
47360
47360
47360
47360
43139
43139
47360
45068
45068
47360
47360
47360
45502
45502
47360
44332
43474
46502
47360
46641
46641
47360
47360
46458
45346
46248
47360
47360
45550
45550
47360
46877
46850
47333
47360
47...

result:

ok 250003 lines

Test #288:

score: 0
Accepted
time: 544ms
memory: 78568kb

input:

100000 250000
999816503 999097664 998901668 998730338 998680276 998587232 998551131 998458816 997883116 997881912 997855559 997540722 997469254 997316617 996809579 996526694 996418097 996405112 996238038 996193368 996176236 996121886 995866938 995791898 995474272 995439335 995426323 995144876 995096...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
36101
36101
33355
33355
36101
33214
32079
34966
36100
35698
35671
36073
36100
36100
35408
35408
36100
36099
35992
35993
36100
36100
35500
35500
36100
36062
36062
36100
36100
36101
36063
36062
36100
36100
36100
36100
36100
36...

result:

ok 250003 lines

Test #289:

score: 0
Accepted
time: 545ms
memory: 78012kb

input:

100000 250000
999946062 999904763 999845841 999666105 999608862 999489874 999445425 999419128 999405887 999402138 999397179 999381809 999374614 999269384 999212043 999127162 999121250 999020511 999007463 999004365 998983996 998970400 998942947 998916320 998893179 998885040 998840160 998807747 998767...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48300
48298
48298
48299
48299
48152
48152
48299
48299
48152
48152
48299
48299
48299
48299
48299
48300
48300
48300
48300
48300
48300
48300
48300
48300
48300
47379
47379
48300
48153
48153
48300
48300
48300
47955
47955
48300
48...

result:

ok 250003 lines

Test #290:

score: 0
Accepted
time: 503ms
memory: 77796kb

input:

100000 250000
581599245 394756651 380338487 380338487 394756651 569260530 165282163 165282163 569260530 76207951 42686165 40457828 3573928 3061694 1297023 1023078 391442 391442 1023078 1297023 3061694 3573928 40457828 42686165 20472146 20472146 76207951 581599245 941343972 847922425 582174145 582174...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47989
47989
47988
47988
47989
47989
47989
47989
47989
47989
47989
47989
47989
47989
47982
47982
47989
47984
47984
47989
47989
47989
47989
47989
47989
47987
47987
47989
47989
47985
47982
47986
47989
47983
47982
47988
47989
47...

result:

ok 250003 lines

Test #291:

score: 0
Accepted
time: 537ms
memory: 77744kb

input:

100000 250000
935677368 914164666 883799600 711491356 571221469 303961977 243502263 58420927 58420927 243502263 303961977 571221469 711491356 883799600 844083126 811718252 795288832 617867577 574414037 546851936 486858635 241101538 241101538 282863795 321 282863795 486858635 546851936 574414037 6178...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47994
47994
47994
47994
47994
47993
47993
47994
47994
47993
47993
47994
47994
47991
47991
47994
47994
47994
47994
47994
47994
47994
47994
47994
47994
47994
47994
47994
47994
47993
47993
47994
47994
47990
47989
47993
47994
47...

result:

ok 250003 lines

Test #292:

score: 0
Accepted
time: 617ms
memory: 78840kb

input:

100000 250000
990049956 984512296 958657984 930254333 854295001 837145366 832284726 791593854 774970344 772471520 752962769 730615163 726101645 699693337 675773210 647772798 640037369 621422334 618431740 610731200 517596750 513838178 465348929 423411802 416441629 411979133 405215030 326366308 300416...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47949
47878
47873
47944
47949
47900
47860
47909
47949
47949
47933
47933
47949
47878
47872
47943
47949
47933
47870
47886
47949
47860
47849
47938
47949
47946
47946
47949
47949
47878
47856
47927
47949
47949
47943
47943
47949
47...

result:

ok 250003 lines

Test #293:

score: 0
Accepted
time: 625ms
memory: 78060kb

input:

100000 250000
977439496 959678401 949530690 927438078 907144304 886287766 874562825 857493031 857318486 851972082 851557632 848538306 836552411 833567248 825590023 753577014 736614027 726334602 708703958 699114773 690872784 682155586 669367162 622228780 589114040 574548339 558839051 537381588 537347...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47953
47953
47951
47951
47953
47953
47953
47953
47953
47953
47855
47855
47953
47933
47840
47860
47953
47953
47932
47932
47953
47953
47953
47953
47953
47945
47935
47943
47953
47850
47850
47953
47953
47873
47873
47953
47953
47...

result:

ok 250003 lines

Test #294:

score: 0
Accepted
time: 652ms
memory: 78188kb

input:

100000 250000
999963066 995427677 993975898 988088563 984965812 984617143 980516629 979284274 978978779 978427570 977129851 975320002 973986650 973730763 971875646 968858006 964409944 963376615 956289543 948251016 946233667 944525403 942420570 939777193 937537226 934384633 932662860 930663328 928001...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47798
47714
47714
47798
47798
47611
47230
47417
47798
47798
47635
47635
47798
47798
47740
47740
47798
47798
47509
47509
47798
47798
47798
47798
47798
47798
47756
47756
47798
47071
47024
47751
47798
47550
47169
47417
47798
47...

result:

ok 250003 lines

Test #295:

score: 0
Accepted
time: 661ms
memory: 78632kb

input:

100000 250000
999566229 998527785 998510736 997911905 995116151 993297420 992511410 990427260 988983135 988416324 987790838 986824105 984486482 984272886 983867996 983113695 982100333 981964660 980555607 978656452 977627361 977471818 976783189 973481128 972740923 972588456 972172527 972104959 969793...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
47295
47295
47295
47295
47295
47286
47286
47295
47295
46773
46773
47295
47295
47295
47295
47295
47295
47091
47091
47295
47296
47296
47296
47296
47296
47290
45835
45841
47297
46546
46546
47297
47297
47297
46419
46419
47297
47...

result:

ok 250003 lines

Test #296:

score: 0
Accepted
time: 632ms
memory: 78588kb

input:

100000 250000
999834852 999777010 999773432 999613405 999496623 999354982 999317532 999199445 999057901 999019591 998876213 998832758 998474983 998004901 997968890 997591346 997132339 996981122 996846921 996605998 996563251 996542904 996538981 996376023 996222004 996082811 995940807 995759562 995342...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45386
45386
45386
45386
45386
45386
45363
45363
45386
45377
45377
45386
45386
45386
45385
45385
45386
44415
41155
42126
45386
45386
42507
42507
45386
45385
45385
45386
45386
41501
40957
44842
45385
44705
44705
45385
45385
45...

result:

ok 250003 lines

Test #297:

score: 0
Accepted
time: 598ms
memory: 78040kb

input:

100000 250000
999958741 999844544 999814388 999751206 999666267 999458289 999397528 999382536 999360798 999360200 999255776 999109893 999066831 998946650 998829861 998665816 998634308 998611230 998603700 998521692 998298780 998275945 998234922 997774950 997501874 997427179 997189047 997009630 996997...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42492
42490
39604
39606
42492
42492
37902
37902
42492
34537
34537
42492
42492
42491
42490
42491
42492
41436
39990
41046
42492
42492
42492
42492
42492
40665
38316
40143
42492
42041
42040
42491
42493
35730
34446
41209
42493
42...

result:

ok 250003 lines

Test #298:

score: 0
Accepted
time: 577ms
memory: 79004kb

input:

100000 250000
999996958 999989167 999986116 999960527 999924519 999856509 999809776 999803076 999779289 999721852 999591350 999482724 999438233 999317605 999292347 999278101 999155239 999032444 998986596 998860989 998779832 998687160 998625452 998577209 998560718 998531205 998466594 998441358 998423...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
28194
28125
28125
28194
28194
28194
27990
27990
28194
28194
28194
28194
28194
28193
27281
27282
28194
25778
17577
19992
28193
24728
24660
28125
28193
25768
25767
28192
28193
28124
19535
19604
28193
26422
26345
28116
28193
21...

result:

ok 250003 lines

Test #299:

score: 0
Accepted
time: 527ms
memory: 78960kb

input:

100000 250000
977255522 782412949 525200746 525200746 782412949 977255522 532457154 500642746 349886501 292054136 41578779 41578779 292054136 349886501 190732364 158879023 48955480 48955480 158879023 190732364 500642746 305756883 102896539 88454131 39405638 7 39405638 65831430 26663773 4190554 41905...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46004
45998
45993
45999
46004
46002
45997
45999
46004
46004
46004
46004
46004
46003
46003
46004
46004
46004
46002
46002
46004
46003
46003
46004
46004
46002
46002
46004
46004
45998
45997
46003
46004
46004
46004
46004
46004
46...

result:

ok 250003 lines

Test #300:

score: 0
Accepted
time: 585ms
memory: 78576kb

input:

100000 250000
968341627 845977808 823090532 687016535 557150530 511623627 400034042 267831567 267831567 400034042 511623627 557150530 687016535 823090532 845977808 831539230 767674181 614754242 137483133 7348160 6286906 4903230 4828593 4729814 2375325 2178874 1914793 870165 870165 1914793 2079197 13...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45993
45988
45988
45993
45993
45993
45984
45984
45993
45990
45990
45993
45993
45993
45991
45991
45993
45988
45985
45990
45993
45985
45985
45993
45993
45974
45969
45988
45993
45993
45993
45993
45993
45993
45993
45993
45993
45...

result:

ok 250003 lines

Test #301:

score: 0
Accepted
time: 638ms
memory: 78568kb

input:

100000 250000
999867626 990897881 948945737 940306886 901278602 851712670 833738838 815847716 772601703 734649729 696065141 679042498 622009709 621819923 599245237 579072931 570477178 545788047 543645910 529803156 494738215 484732539 440442821 346164291 337172427 313292459 309547897 300651701 283921...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45991
45991
45991
45991
45991
45991
45983
45983
45991
45984
45974
45981
45991
45991
45991
45991
45991
45987
45987
45991
45991
45991
45991
45991
45991
45940
45940
45991
45991
45991
45969
45969
45991
45991
45991
45991
45991
45...

result:

ok 250003 lines

Test #302:

score: 0
Accepted
time: 653ms
memory: 78356kb

input:

100000 250000
974716729 956031744 950063219 905965334 884642724 840827743 813255213 805832482 803157959 795567794 775749312 750208224 694275389 685698327 674916651 668799850 666371629 665339993 664586766 662492437 656202218 651640312 638240498 634114203 622468478 577025678 570944181 569599946 555314...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45981
45981
45981
45981
45981
45961
45958
45978
45981
45927
45854
45908
45981
45981
45981
45981
45981
45980
45968
45969
45981
45871
45866
45976
45981
45914
45809
45876
45981
45978
45978
45981
45981
45976
45971
45976
45981
45...

result:

ok 250003 lines

Test #303:

score: 0
Accepted
time: 677ms
memory: 78584kb

input:

100000 250000
995659244 995274746 993738205 992725605 979524451 977214598 973440848 965006630 961926576 960547712 958954104 957551198 957357553 956804829 955734030 946144751 944784582 937496320 930260598 929643051 929496442 927571044 927502576 924166502 922726973 913587476 906630800 905658657 905357...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45419
45004
44783
45198
45419
45419
45419
45419
45419
45419
45217
45217
45419
45082
45075
45412
45419
44822
44822
45419
45419
45418
45417
45418
45419
45374
44830
44875
45419
45404
44843
44858
45419
45228
45225
45416
45419
45...

result:

ok 250003 lines

Test #304:

score: 0
Accepted
time: 692ms
memory: 78648kb

input:

100000 250000
993475117 993131767 991861042 990237926 989223336 989018826 988562190 988030225 987424234 987419320 982554388 981088164 980858327 979948327 976745063 976327837 975408755 975372210 974687684 972641337 971268115 969445636 968837704 968200687 967232347 966925184 966643625 966450023 964809...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45691
45691
45688
45688
45691
45676
45676
45691
45691
45691
45691
45691
45691
45691
45690
45690
45691
45656
45194
45229
45691
45482
45143
45352
45691
45640
45134
45185
45691
45571
45359
45479
45691
45686
45686
45691
45691
45...

result:

ok 250003 lines

Test #305:

score: 0
Accepted
time: 683ms
memory: 78936kb

input:

100000 250000
999850258 999177732 999136182 998456029 998349774 997735343 997515060 997119319 997027012 995296479 994901124 994584357 994353513 993761267 993620799 993480223 993244234 993231898 993198198 993031329 992604366 991767296 991261492 989439295 989226779 989040378 989025511 988585808 988531...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45306
45306
45305
45305
45306
42804
42697
45199
45306
45306
45274
45274
45306
45214
45213
45305
45305
45306
45305
45304
45305
45305
45035
45035
45305
45301
45055
45059
45305
45305
45305
45305
45305
45271
45271
45305
45305
43...

result:

ok 250003 lines

Test #306:

score: 0
Accepted
time: 652ms
memory: 81040kb

input:

100000 250000
999982615 999896804 999525346 999461056 998906345 998801386 998661261 998486204 998286898 997732182 997704695 997544596 997098813 996917729 996845345 996797336 996668589 996610765 996610029 996492634 996452276 996398682 996098761 995916656 995598982 995557975 995460322 995324229 995035...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
41968
41968
41966
41966
41968
41968
41968
41969
41969
40177
39098
40891
41970
40280
38733
40423
41970
40179
40179
41970
41970
41796
41536
41710
41969
41497
41496
41968
41969
41625
39417
39762
41970
38106
38106
41970
41970
41...

result:

ok 250003 lines

Test #307:

score: 0
Accepted
time: 605ms
memory: 78848kb

input:

100000 250000
999896613 999806744 999806278 999790638 999783456 999672112 999546217 999421840 999371693 999360661 999345274 999289390 999266392 999148678 999095841 999024973 999013171 998946637 998901239 998878543 998860867 998820533 998760515 998736381 998694736 998658268 998513053 998399357 998337...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
21634
17841
14340
18133
21634
21326
20087
20395
21634
20287
20286
21633
21634
21634
20548
20548
21634
21516
19621
19739
21634
21634
21633
21633
21634
20112
20111
21633
21634
13651
13649
21632
21634
20110
19802
21326
21634
20...

result:

ok 250003 lines

Subtask #8:

score: 21
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #308:

score: 21
Accepted
time: 515ms
memory: 68140kb

input:

40000 100000
130657396 130657396 130657396 246756520 130657396 246756520 246756520 130657396 130657396 246756520 130657396 130657396 130657396 246756520 130657396 246756520 246756520 246756520 246756520 130657396 246756520 246756520 130657396 246756520 130657396 246756520 130657396 130657396 2467565...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29963
29962
29962
29961
29961
29961
29961
29960
29960
29961
29960
29961
29961
29960
29960
29960
29960
29961
29960
29960
29960
29959
29959
29959
29959
29959
29959
29959
29959
29960
29960
29959
29959
29959
29959
29958
29957
29...

result:

ok 100003 lines

Test #309:

score: 0
Accepted
time: 514ms
memory: 68084kb

input:

40000 100000
312788939 457114612 983002068 983002068 457114612 457114612 457114612 983002068 312788939 457114612 457114612 983002068 983002068 983002068 312788939 312788939 457114612 312788939 983002068 457114612 983002068 983002068 983002068 312788939 312788939 312788939 312788939 312788939 4571146...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
24460
24461
24461
24460
24460
24460
24461
24460
24459
24459
24460
24460
24459
24460
24461
24461
24462
24463
24462
24461
24461
24460
24460
24459
24459
24459
24460
24461
24461
24461
24461
24461
24461
24462
24461
24461
24462
24...

result:

ok 100003 lines

Test #310:

score: 0
Accepted
time: 453ms
memory: 68064kb

input:

40000 100000
568121556 303230869 568121556 70564043 528492125 324801787 528492125 626042666 953885832 324801787 626042666 70564043 223487251 303230869 513303132 568121556 223487251 513303132 568121556 324801787 513303132 114983625 626042666 324801787 513303132 223487251 303230869 626042666 70564043 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
11694
11695
11695
11695
11695
11694
11695
11694
11695
11695
11696
11695
11693
11693
11693
11693
11693
11693
11693
11694
11695
11694
11694
11693
11693
11694
11695
11695
11694
11695
11695
11695
11696
11697
11697
11696
11696
11...

result:

ok 100003 lines

Test #311:

score: 0
Accepted
time: 453ms
memory: 68004kb

input:

40000 100000
322510886 246796865 933730570 316089726 923646181 904874115 337187917 120391006 240902984 933730570 865662786 923646181 933730570 714869945 801614400 240902984 240902984 801614400 865662786 316089726 39952569 337187917 865662786 240902984 316089726 240902984 246796865 10986302 714869945...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
8844
8843
8842
8843
8842
8843
8842
8841
8841
8841
8841
8842
8843
8843
8843
8843
8841
8841
8840
8839
8839
8838
8838
8839
8839
8839
8840
8841
8842
8842
8843
8843
8845
8846
8845
8845
8844
8844
8844
8845
8845
8845
8845
8845
8845...

result:

ok 100003 lines

Test #312:

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

input:

40000 100000
884937400 243677768 737899746 767041638 530793792 338336977 674917722 183827175 183827175 243677768 670185849 183827175 794541356 327913580 335917781 335917781 670185849 335917781 392019231 744200287 449527147 338336977 335917781 338336977 530793792 183827175 252364605 744200287 3383369...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
7237
7237
7237
7237
7237
7237
7238
7238
7238
7238
7238
7237
7237
7238
7239
7240
7241
7241
7241
7242
7243
7243
7242
7242
7243
7243
7243
7242
7241
7240
7240
7239
7238
7237
7237
7238
7237
7237
7237
7236
7236
7237
7236
7235
7235...

result:

ok 100003 lines

Test #313:

score: 0
Accepted
time: 408ms
memory: 68084kb

input:

40000 100000
848108173 465698723 286559761 258029618 121604131 286559761 952752255 848108173 465698723 977102273 121604131 652605756 261884640 688353700 209598194 551804092 286559761 176685256 977102273 688353700 869219810 948548897 209598194 286559761 644310294 952752255 948548897 363815067 1216041...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5266
5266
5266
5266
5266
5265
5265
5264
5263
5263
5263
5263
5263
5264
5264
5264
5264
5264
5265
5264
5263
5262
5261
5262
5261
5260
5260
5259
5259
5259
5260
5259
5259
5259
5258
5258
5258
5258
5259
5259
5259
5260
5259
5259
5258...

result:

ok 100003 lines

Test #314:

score: 0
Accepted
time: 379ms
memory: 68012kb

input:

40000 100000
127949255 267382950 351256242 751301628 293911589 784944271 161448398 655825890 545827301 973725816 266862411 161448398 263561463 257982628 506855869 406416947 267792714 77589695 388063137 73678578 163227719 787344086 60860232 351256242 163227719 73678578 351253802 262016352 146042131 2...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
3604
3603
3603
3603
3602
3602
3602
3602
3602
3602
3602
3603
3602
3602
3602
3602
3601
3601
3601
3601
3601
3602
3602
3601
3602
3602
3602
3601
3601
3600
3600
3601
3601
3601
3601
3601
3602
3602
3602
3602
3603
3603
3604
3604
3604...

result:

ok 100003 lines

Test #315:

score: 0
Accepted
time: 362ms
memory: 68156kb

input:

40000 100000
899824300 225173579 78139022 331303492 165574127 96011149 704364632 836694718 855000909 56599375 199376721 398803799 473398739 140163200 57553091 42583734 874165267 744159074 690442713 331303492 501614721 265026287 11790112 190070629 936968802 343708665 704414595 575723941 540148654 694...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2088
2088
2088
2088
2088
2088
2088
2088
2088
2088
2088
2088
2088
2089
2089
2089
2089
2089
2089
2089
2089
2089
2089
2089
2089
2089
2090
2089
2089
2089
2090
2090
2090
2089
2089
2087
2087
2088
2087
2087
2087
2087
2087
2086
2086...

result:

ok 100003 lines

Test #316:

score: 0
Accepted
time: 347ms
memory: 68696kb

input:

40000 100000
692590661 538879591 778744119 257898934 578364215 205081549 453887251 122182481 669054333 586102814 747306709 183893600 633730759 412658230 572017884 613765301 788457162 532175504 76969896 597833773 20332139 106473329 595545710 623053893 396618253 258000149 340919469 875890051 59174374 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
277
...

result:

ok 100003 lines

Test #317:

score: 0
Accepted
time: 336ms
memory: 67812kb

input:

40000 100000
298581306 774977069 450385748 102434205 64050042 974045811 189858972 59636742 106631313 366605189 163185671 560691158 677920300 711738406 860760752 627259095 588143639 794890072 481307245 371706609 454414455 968420275 589196580 375019687 879299827 925133474 488273875 676371218 675030275...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
84
84
84
84
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85
85...

result:

ok 100003 lines

Test #318:

score: 0
Accepted
time: 335ms
memory: 67876kb

input:

40000 100000
267941290 107441617 793749441 943366347 583160046 116188070 439127400 426279864 82443754 580737829 303056856 636577690 264323900 503512524 783980061 516460595 118718612 911719407 935371936 314536476 679251420 960811537 526274305 922374791 489262453 793286218 642405696 689081937 24457186...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41
41...

result:

ok 100003 lines

Test #319:

score: 0
Accepted
time: 318ms
memory: 68104kb

input:

40000 100000
655486916 984895790 838054755 120145970 303428147 550464644 159256432 790189927 614806208 991596829 690561850 95976782 682118972 852605906 379803946 87499313 380336136 176613697 344524305 189843814 835468832 996334376 501231540 997908578 821629334 927395867 506532842 677516023 97718910 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13...

result:

ok 100003 lines

Test #320:

score: 0
Accepted
time: 309ms
memory: 67864kb

input:

40000 100000
2564740 22724673 117604658 961943175 850918894 598667463 97076203 210605884 868948646 641234933 365957623 271675446 851911517 670768069 283683066 869494942 22856645 786426057 705615648 466522942 245553282 927586910 513989637 885917761 861452864 405013994 555138915 328262142 477064270 71...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12...

result:

ok 100003 lines

Test #321:

score: 0
Accepted
time: 303ms
memory: 67352kb

input:

40000 100000
852071047 261465494 498879114 912419696 904894867 125395247 990273650 971280893 496073191 725468774 757798734 685566065 41035277 659465112 46104198 539382211 993603537 183640909 153946560 146900964 394894228 308967383 90272324 464239220 518441989 732149618 824863365 260336493 777856258 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10...

result:

ok 100003 lines

Test #322:

score: 0
Accepted
time: 284ms
memory: 67860kb

input:

40000 100000
727371851 243260842 299568776 789930297 632194934 735254568 7729990 939705332 584144947 845778473 630848931 513545794 705491952 559665388 336345600 665506425 501963221 580150067 558007213 548195309 353486450 26779227 86390719 218526241 914074990 911681494 807312951 942410047 157352792 2...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
...

result:

ok 100003 lines

Test #323:

score: 0
Accepted
time: 291ms
memory: 67596kb

input:

40000 100000
971899383 324889025 28999118 835467290 631275562 632110234 917780350 389728710 933218971 780784548 97095436 825266263 473093625 566726118 380237106 269061550 967548365 115247712 624979228 82986713 289896537 102370536 172208038 237607060 61506503 451872272 326195607 689304824 188023853 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
...

result:

ok 100003 lines

Test #324:

score: 0
Accepted
time: 282ms
memory: 67596kb

input:

40000 100000
72748441 470551089 581102328 284366964 892727316 385112174 380039084 299427825 497333278 219570695 490823608 800288372 757770882 32890717 324479674 667561159 386746225 890259297 130132240 59244145 640671904 179037825 625810357 961157790 100542833 838145060 96244479 718335008 620762157 3...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 100003 lines

Test #325:

score: 0
Accepted
time: 379ms
memory: 68064kb

input:

40000 100000
530291180 410211739 294946149 294946149 410211739 460056959 365550463 365550463 114225151 30507095 30507095 114225151 460056959 530291180 506738372 170704904 27071131 27071131 170704904 466640643 106437661 79218207 76729670 76729670 79218207 106437661 428205470 419860414 42140020 421400...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19253
19258
19262
19263
19263
19263
19264
19265
19272
19275
19278
19280
19281
19284
19288
19293
19296
19300
19310
19314
19317
19318
19319
19322
19322
19323
19323
19326
19329
19330
19332
19333
19334
19337
19338
19339
19340
19...

result:

ok 100003 lines

Test #326:

score: 0
Accepted
time: 375ms
memory: 67872kb

input:

40000 100000
205943260 195047495 108707005 108707005 195047495 205943260 960617430 421489041 160505261 142876295 125024186 35718740 20106805 20106805 35718740 66112312 16602667 16602667 66112312 125024186 111873080 78464058 51065432 41256064 41256064 51065432 48009981 12425713 12425713 47221998 3156...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19209
19212
19212
19213
19214
19215
19220
19220
19224
19224
19227
19229
19234
19235
19237
19237
19238
19241
19248
19249
19251
19257
19264
19266
19275
19281
19283
19290
19291
19292
19295
19297
19300
19303
19304
19305
19306
19...

result:

ok 100003 lines

Test #327:

score: 0
Accepted
time: 367ms
memory: 67332kb

input:

40000 100000
896672492 826171658 798060626 613208319 586165525 481897739 367901783 341836339 341836339 367901783 481897739 586165525 314380960 129213092 129213092 314380960 549632654 391753770 333539615 263835154 248704893 246941542 175667182 122112362 2834586 2834586 122112362 175667182 210577704 3...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
19133
19155
19160
19175
19176
19186
19187
19198
19208
19223
19225
19226
19233
19233
19236
19244
19257
19263
19264
19270
19283
19291
19306
19321
19324
19342
19362
19363
19364
19378
19385
19391
19392
19393
19394
19395
19408
19...

result:

ok 100003 lines

Test #328:

score: 0
Accepted
time: 366ms
memory: 67552kb

input:

40000 100000
979148717 973418853 952937704 928801036 915627656 752008502 717786667 624858337 558804132 534224552 496373722 450277950 430847469 405261008 297760061 290843323 152707028 95185762 82957700 12718024 12718024 82957700 95185762 152707028 290843323 297760061 405261008 430847469 450277950 496...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16518
16526
16527
16562
16563
16581
16591
16594
16626
16631
16633
16636
16638
16639
16643
16661
16696
16697
16714
16719
16743
16755
16756
16781
16789
16790
16791
16792
16792
16810
16811
16815
16829
16847
16856
16869
16880
16...

result:

ok 100003 lines

Test #329:

score: 0
Accepted
time: 366ms
memory: 68168kb

input:

40000 100000
997699789 960139624 953865147 947310141 918812202 914161180 912571310 890263060 888391676 885941399 832264017 825199426 710159390 690560312 674764514 636932507 627032137 624845661 587317300 491185149 472038603 468837430 464858783 437837672 435775069 419640214 419047392 406042886 3312586...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17128
17144
17145
17219
17229
17230
17241
17265
17266
17274
17298
17331
17375
17376
17390
17419
17420
17420
17426
17500
17507
17508
17510
17527
17551
17577
17600
17625
17640
17640
17646
17662
17663
17695
17730
17778
17846
17...

result:

ok 100003 lines

Test #330:

score: 0
Accepted
time: 350ms
memory: 67944kb

input:

40000 100000
998971033 996288520 965196788 959864443 952484486 949084739 937481015 924324302 919596374 911423796 906578408 878146540 837759688 826221264 812666207 801212770 791076232 782387924 758974844 758380707 753947630 746446361 739704001 726897204 724450210 716078722 710504647 701723760 6848098...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
11811
11811
11812
11779
11779
11879
11879
11901
11901
11902
11912
11912
11920
11958
11959
12016
12017
12026
12045
12086
12091
12098
12121
12127
12141
12141
12154
12214
12214
12214
12240
12240
12240
12240
12245
12245
12260
12...

result:

ok 100003 lines

Test #331:

score: 0
Accepted
time: 340ms
memory: 67828kb

input:

40000 100000
999181069 998559508 997346977 995035114 993821750 974487403 972938858 971417271 964493329 964330916 958186411 953675319 948900047 946671883 946574596 943883039 940802683 922695241 922656756 917798311 917634045 915014217 912363180 909753512 903430827 901794073 877714093 876605989 8758961...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
6777
6792
6792
6795
6836
6918
6918
6931
7052
7113
7234
7282
7282
7282
7283
7300
7300
7310
7310
7352
7365
7392
7392
7392
7393
7421
7470
7470
7508
7508
7508
7508
7508
7508
7508
7684
7684
7684
7684
7684
7714
7714
7714
7748
7762...

result:

ok 100003 lines

Test #332:

score: 0
Accepted
time: 319ms
memory: 67908kb

input:

40000 100000
999421691 998831062 997886413 997146068 995218883 993637827 987059312 987041178 983795929 983396730 983118570 973377068 968660395 968061502 964077981 962672791 960867082 955178434 954448833 952794375 951791112 951263393 945955146 940870563 936320492 935751553 934651815 934405873 9339323...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
8726
8726
8726
8937
8997
8997
8998
8998
8998
8998
9005
9005
9087
9512
9512
9621
9621
9621
9621
9621
9621
9621
9736
9736
9793
9793
9793
9847
9847
9847
9847
9847
9818
9860
9931
10185
10281
10281
10285
10595
10659
10666
10877
1...

result:

ok 100003 lines

Test #333:

score: 0
Accepted
time: 315ms
memory: 67892kb

input:

40000 100000
999313913 997435570 996646086 992421948 989976981 989501525 986407061 983969258 982934088 982406391 981728192 980793448 980698266 980629320 979899968 979207519 978810633 978628227 977445878 976978690 976290124 972123011 970860435 969461929 969453659 966293651 965197395 964524440 9630880...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
10133
10133
10133
10133
10134
10134
10269
10269
10269
10269
10500
10500
10500
10500
10534
10534
10535
10668
11025
11026
12051
12669
12814
12828
12889
12889
12983
12983
13135
13135
13136
13559
13559
13559
13691
13691
13691
13...

result:

ok 100003 lines

Test #334:

score: 0
Accepted
time: 326ms
memory: 67496kb

input:

40000 100000
999291923 999212849 999150534 998757325 998307401 998240157 997720353 997538070 997358711 997121537 996956273 996190001 995631335 995585083 994996152 994810882 994410931 994234601 994059684 993834553 993765681 993612198 993589869 993569333 993425948 993387814 993097459 993084123 9928315...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1363
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1373
1479
1479
1479
1479
1479
1479
1479
2548
2548
2548
2548
2548...

result:

ok 100003 lines

Test #335:

score: 0
Accepted
time: 298ms
memory: 67824kb

input:

40000 100000
999998716 999729983 999543658 999389450 999383998 999359253 999190976 999073616 998817994 998803635 998441433 998362566 998253903 997929479 997775341 997761252 997681533 997617807 997570182 997537821 997475469 997342593 997318918 997208202 997196717 997193853 997151375 996845463 9968043...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
793
793
793
793
793
793
793
793
793
1350
1350
1350
1350
1625
1625
1625
1625
1625
2050
2469
2469
2469
2469
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2470
2479
2479
2479
2479
2479
2479
2495
2495
249...

result:

ok 100003 lines

Test #336:

score: 0
Accepted
time: 296ms
memory: 67584kb

input:

40000 100000
999959797 999785163 999727065 999474265 999400748 999365773 999321742 999272359 999261620 999153879 999148974 999144241 999073285 998991536 998914841 998854637 998854167 998790433 998734278 998723692 998665429 998596767 998590468 998572024 998459829 998348030 998138005 997938924 9978925...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1070
1070
4664
4664
4664
4664
4664
4664
4665
4665
4665
4418
4418
4418
876
876
876
876
876
876
876
876
876
571
571
571
571
571
571
571
572
572
572
572
572
572
572
572
572
572
572
572
572
560
560
560
560
560
560
560
560
560
56...

result:

ok 100003 lines

Test #337:

score: 0
Accepted
time: 226ms
memory: 68028kb

input:

40000 100000
854043554 241973291 2136987 88 48 134 2136987 50 8 194901136 145483454 61400550 50 69 61400550 145483454 194901136 241973291 100 573492363 573492363 700534418 430227374 66502497 66502497 430227374 138 494238738 175450831 80 70 175450831 494238738 700534418 27 718358324 98577323 46 46 98...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12582
12580
12577
12579
12582
12581
12578
12579
12582
12582
12582
12582
12582
12582
12578
12578
12582
12582
12575
12576
12583
12583
12583
12583
12583
12579
12579
12583
12583
12582
12582
12583
12583
12581
12581
12583
12583
12...

result:

ok 100003 lines

Test #338:

score: 0
Accepted
time: 242ms
memory: 67756kb

input:

40000 100000
903042137 723619670 675497083 436643825 399815266 32930787 136 70 32930787 399815266 436643825 675497083 723619670 903042137 81 211 64 274 61 812563610 802987776 655761410 614358038 393449873 385614026 348844404 169952824 300 189 259 169952824 348844404 385614026 393449873 614358038 188...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12634
12624
12624
12634
12634
12634
12625
12625
12634
12631
12627
12630
12634
12630
12630
12634
12634
12634
12623
12623
12634
12631
12626
12629
12634
12634
12634
12634
12634
12634
12622
12623
12635
12635
12635
12635
12635
12...

result:

ok 100003 lines

Test #339:

score: 0
Accepted
time: 252ms
memory: 67660kb

input:

40000 100000
941490075 908710740 880812722 801178165 773679406 704753483 614842528 579410881 573389718 556818157 480135422 444465771 404498692 265681976 248919164 34356197 31329340 419 1 31329340 34356197 248919164 265681976 404498692 444465771 223 349 280 433 280 380 454 259 420077676 410985907 322...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12702
12702
12680
12680
12702
12702
12682
12682
12702
12699
12698
12701
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12702
12701
12701
12702
12702
12700
12700
12702
12...

result:

ok 100003 lines

Test #340:

score: 0
Accepted
time: 268ms
memory: 68628kb

input:

40000 100000
945761026 922359551 921168942 912863190 890068608 858549041 844853178 840337562 813009074 788056231 761112426 729864437 728485598 704530249 670908055 629718153 598570872 597601207 539992954 538280764 478571315 475375561 420594094 356619909 340194685 305849483 304899023 291228260 2745089...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12797
12796
12768
12769
12797
12692
12675
12780
12797
12797
12793
12793
12797
12765
12765
12797
12797
12797
12797
12797
12797
12797
12755
12755
12796
12747
12747
12796
12796
12768
12768
12796
12796
12795
12781
12782
12796
12...

result:

ok 100003 lines

Test #341:

score: 0
Accepted
time: 292ms
memory: 67500kb

input:

40000 100000
997937359 986183047 972863332 954821416 928925445 909988375 881530946 866355020 863601698 860261816 809262393 804007116 798375210 787194319 774107202 769134667 767290573 763009526 762340542 739750004 730738896 715281560 712822844 711108964 709586372 705737031 696778744 690662108 6890716...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12837
12824
12784
12797
12837
12754
12719
12802
12837
12815
12814
12836
12837
12837
12837
12838
12839
12795
12792
12836
12839
12804
12754
12789
12839
12719
12719
12837
12837
12837
12809
12809
12837
12832
12693
12693
12837
12...

result:

ok 100003 lines

Test #342:

score: 0
Accepted
time: 267ms
memory: 67512kb

input:

40000 100000
997296649 996289586 991729631 991573122 991144278 989557730 988507787 984631838 979760561 979645599 976157706 966611368 960426156 951480190 950546727 950398360 948778543 948690524 947304930 946662392 945219349 944130083 943547432 943021197 942830221 938641172 936872686 933178791 9302941...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12686
12686
12686
12686
12686
12674
12673
12685
12685
12639
12639
12685
12685
12580
12490
12595
12685
12685
12650
12650
12684
12672
12662
12675
12685
12653
12330
12362
12686
12657
12657
12686
12686
12686
12685
12685
12686
12...

result:

ok 100003 lines

Test #343:

score: 0
Accepted
time: 297ms
memory: 67840kb

input:

40000 100000
999752454 995332582 994656507 993865524 987755547 984923385 984812932 983960384 983947092 982220507 980509802 980018498 978875377 978811830 978468872 978351712 977806222 976502023 976360328 975251158 971282304 970299617 969998990 969889876 966733045 962484497 961575197 961040184 9606604...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12640
12637
12551
12554
12640
12394
12390
12636
12640
12640
12557
12557
12640
12601
12596
12635
12640
12640
12613
12613
12641
12384
12383
12640
12641
12130
12126
12637
12641
12403
12304
12542
12641
12639
12638
12640
12642
12...

result:

ok 100003 lines

Test #344:

score: 0
Accepted
time: 296ms
memory: 67500kb

input:

40000 100000
999858940 999604995 999520249 998882732 998491165 998243066 997669963 997395184 997330336 997264626 996810407 995625423 995004050 994958527 994702931 994701417 994531704 994424621 994309466 993947777 993946058 993832624 993714685 993638971 992543468 992381706 992117675 991911770 9917870...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
12634
11140
11138
12632
12634
12037
12036
12633
12634
12633
12125
12126
12633
9436
9346
12543
12633
12625
12090
12098
12633
12558
12444
12445
12633
12139
12130
12624
12633
12633
12631
12631
12633
9390
9385
12628
12633
11459
...

result:

ok 100003 lines

Test #345:

score: 0
Accepted
time: 258ms
memory: 67648kb

input:

40000 100000
999938325 999828047 999798630 999716169 999665091 999392237 998964227 998671871 998570897 998566321 998393270 997937952 997862310 997814778 997694262 997508745 997472362 997430368 997403941 997238763 997196082 997082646 997031454 996995791 996429932 996372489 996285142 996267298 9961375...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
9344
9342
9339
9341
9344
9285
5801
5860
9344
9343
9342
9344
9345
4325
4326
9346
9345
9343
5860
5862
9345
9343
9341
9343
9345
9083
8695
8957
9346
9346
9345
9345
9346
9345
9336
9337
9346
9344
9344
9346
9346
8323
8323
9345
9345...

result:

ok 100003 lines

Test #346:

score: 0
Accepted
time: 316ms
memory: 67764kb

input:

40000 100000
999973638 999809725 999711381 999700124 999665964 999523258 999497501 999464334 999454383 999453862 999393490 999326277 999298020 999246819 999173006 999132924 998883739 998837808 998725307 998553294 998525956 998500397 998361068 998198072 998169880 998090971 998044642 997840958 9978365...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
15435
5529
722
724
15435
8145
8143
14930
15436
1576
1575
7718
15436
13663
5674
5675
15436
12516
12040
12041
15435
3788
3788
7116
15435
8433
8432
10932
15435
789
787
11249
15436
12908
3339
3340
15436
13140
7445
7446
15436
115...

result:

ok 100003 lines

Test #347:

score: 0
Accepted
time: 313ms
memory: 67580kb

input:

40000 100000
999877279 999823288 999586253 999576322 999549875 999494732 999331716 999329458 999155670 999107850 998895487 998741022 998641406 998615905 998495426 998434622 998286935 998259098 998201726 998187419 998166860 998054519 998027064 998011961 998002502 997948949 997867799 997741265 9976805...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13175
8755
5700
5701
13175
7123
7120
12216
13176
9361
9359
12551
13177
3152
1256
1257
13177
12050
8739
8739
13176
3460
3458
5169
13176
3787
3785
7638
13176
3234
3234
12446
13176
13176
2390
2391
13178
6246
6243
9935
13178
819...

result:

ok 100003 lines

Test #348:

score: 0
Accepted
time: 312ms
memory: 69880kb

input:

40000 100000
999944449 999939494 999836762 999758955 999598527 999582639 999530237 999399960 999376626 999208787 999191973 999132393 999046861 998685565 998638096 998615370 998533102 998456318 998270902 998019961 997977586 997857624 997644662 997611724 997299747 997180725 997162188 996927770 9969248...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
11045
8736
8733
10155
11043
9269
2666
2666
11043
6369
1440
1443
11043
3260
3256
3557
11042
5598
5596
8681
11042
5311
5311
7335
11042
7591
5907
5910
11043
10061
1486
1487
11043
6239
6236
6277
11043
7211
3728
3729
11043
6777
6...

result:

ok 100003 lines

Subtask #9:

score: 55
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 #349:

score: 55
Accepted
time: 1387ms
memory: 81496kb

input:

100000 250000
600764897 454891835 454891835 454891835 600764897 454891835 600764897 600764897 600764897 454891835 454891835 600764897 454891835 454891835 600764897 600764897 454891835 454891835 454891835 600764897 600764897 454891835 600764897 454891835 600764897 454891835 454891835 454891835 454891...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
74998
74998
74997
74997
74998
74998
74998
74998
74998
74997
74997
74997
74997
74997
74998
74998
74998
74997
74996
74996
74995
74995
74996
74995
74994
74994
74995
74995
74994
74995
74994
74994
74994
74994
74995
74996
74996
74...

result:

ok 250003 lines

Test #350:

score: 0
Accepted
time: 1397ms
memory: 81244kb

input:

100000 250000
147808044 503108527 503108527 503108527 503108527 503108527 503108527 503108527 147808044 503108527 503108527 503108527 503108527 194395422 147808044 503108527 147808044 503108527 194395422 147808044 503108527 194395422 147808044 194395422 147808044 194395422 194395422 194395422 194395...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
61106
61107
61106
61107
61107
61108
61108
61108
61109
61110
61110
61110
61111
61111
61112
61112
61111
61111
61111
61111
61110
61111
61110
61109
61109
61108
61108
61108
61108
61109
61109
61108
61107
61108
61109
61110
61110
61...

result:

ok 250003 lines

Test #351:

score: 0
Accepted
time: 1231ms
memory: 77132kb

input:

100000 250000
427284031 375810567 325438064 427284031 720542347 802722300 802722300 802722300 650813228 528520585 769680496 769680496 720542347 325438064 720542347 427284031 701328306 427284031 427284031 686418910 701328306 686418910 769680496 686418910 802722300 528520585 802722300 427284031 720542...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29326
29326
29326
29325
29324
29325
29325
29326
29326
29327
29327
29327
29328
29328
29328
29329
29328
29327
29328
29328
29329
29328
29329
29328
29329
29329
29330
29330
29330
29329
29328
29328
29326
29325
29325
29326
29325
29...

result:

ok 250003 lines

Test #352:

score: 0
Accepted
time: 1204ms
memory: 71796kb

input:

100000 250000
659709012 40306862 485600436 659709012 805502055 223922176 848707654 290616158 805502055 659709012 674058175 485600436 40306862 659709012 987185255 250516859 420929107 297064657 659709012 250516859 40306862 659709012 848707654 837335704 987185255 805502055 40306862 837335704 987185255 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
22207
22208
22209
22208
22208
22208
22207
22207
22208
22207
22206
22205
22205
22205
22205
22206
22206
22206
22205
22205
22205
22205
22205
22204
22204
22205
22205
22206
22206
22205
22205
22204
22204
22204
22204
22204
22204
22...

result:

ok 250003 lines

Test #353:

score: 0
Accepted
time: 1155ms
memory: 67904kb

input:

100000 250000
973125913 617926137 507388270 382969264 507388270 973125913 201571769 972130140 669195651 617926137 201571769 132028818 507388270 169196004 215660237 87121583 215660237 769326363 382969264 169196004 885448472 169196004 79161393 130885239 130885239 507388270 382969264 550016664 34267482...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
18073
18074
18074
18074
18074
18073
18073
18072
18072
18073
18072
18072
18071
18072
18072
18072
18071
18071
18070
18071
18071
18070
18069
18068
18068
18069
18069
18069
18070
18071
18072
18072
18072
18072
18072
18072
18072
18...

result:

ok 250003 lines

Test #354:

score: 0
Accepted
time: 1140ms
memory: 60148kb

input:

100000 250000
938801708 757343172 539877217 589975925 758044337 539877217 660908516 901979366 500755894 539877217 904363450 814465222 589975925 757343172 790609373 892235138 790609373 901979366 790609373 814465222 911565433 968174644 279167774 836195442 911565433 757343172 553032916 143772425 757343...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
13391
13391
13391
13391
13392
13391
13391
13391
13389
13389
13389
13389
13389
13389
13390
13390
13391
13391
13390
13390
13390
13390
13390
13390
13390
13390
13390
13389
13389
13389
13388
13388
13388
13388
13389
13389
13389
13...

result:

ok 250003 lines

Test #355:

score: 0
Accepted
time: 1075ms
memory: 58176kb

input:

100000 250000
572252959 982113370 341263299 980212314 675866243 820131818 397381186 341263299 572252959 918397131 157017642 143853775 574186907 200313782 675866243 794411850 397381186 172044144 157017642 19310246 379147930 341263299 19310246 330021798 143853775 397381186 143853775 236280761 98211337...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
9016
9016
9017
9016
9016
9016
9016
9016
9015
9015
9015
9015
9015
9016
9016
9016
9017
9017
9017
9017
9017
9016
9016
9016
9016
9016
9016
9015
9015
9016
9017
9017
9017
9017
9017
9017
9017
9017
9018
9018
9019
9019
9020
9020
9020...

result:

ok 250003 lines

Test #356:

score: 0
Accepted
time: 1021ms
memory: 55720kb

input:

100000 250000
874569333 13532380 975006601 822090787 395892327 954252972 223402090 904928819 563281401 491688501 332593691 981402716 640970764 240006064 568662608 640970764 999364115 491688501 240006064 449612924 449612924 721943444 190881415 625355930 563281401 851482289 960715066 229108305 4307725...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
5179
5178
5178
5178
5178
5178
5179
5179
5180
5180
5181
5181
5181
5181
5181
5180
5181
5181
5181
5181
5181
5181
5181
5181
5181
5181
5181
5182
5182
5182
5182
5182
5182
5183
5183
5183
5182
5181
5181
5182
5182
5181
5181
5181
5181...

result:

ok 250003 lines

Test #357:

score: 0
Accepted
time: 961ms
memory: 56568kb

input:

100000 250000
821920412 875629686 888103619 443003445 9216349 412388682 101761362 499495547 791244105 738174006 343698917 229183689 416278321 132304274 158073850 190902535 511111994 354888072 717429840 351498741 201133548 415898472 819257168 579786170 673262992 639455925 814747194 807582755 97016978...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
689
690
690
690
690
690
690
689
689
689
689
689
689
689
...

result:

ok 250003 lines

Test #358:

score: 0
Accepted
time: 899ms
memory: 56928kb

input:

100000 250000
633162068 835862905 266867717 904795707 634985619 600025939 692574049 351046872 654279904 501435475 771260245 951900488 717675367 480342232 666424910 749424248 66017204 677836114 728149038 124898457 337008329 753788475 691821321 939429582 607562687 345041846 736237985 719767767 6064618...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
84
85...

result:

ok 250003 lines

Test #359:

score: 0
Accepted
time: 872ms
memory: 54524kb

input:

100000 250000
237402389 99116872 79741212 486646082 549339442 247903938 595687201 440262119 322456295 641179323 723202910 588265526 536945004 426690133 417398527 610366756 864372917 987351619 446603729 198113848 286651817 686763568 655086919 978341548 926196327 534782924 297525265 746028556 29336497...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
39
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40
40...

result:

ok 250003 lines

Test #360:

score: 0
Accepted
time: 855ms
memory: 57228kb

input:

100000 250000
359742266 446901885 435804771 206455679 118840716 434988033 620656408 71968743 642519480 167227200 407611688 565072157 646722935 972255881 397248599 542364517 858216188 907243045 169985733 84800463 204747373 568555349 335984873 335848930 882161638 591079984 465900421 150424355 91154455...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25
25...

result:

ok 250003 lines

Test #361:

score: 0
Accepted
time: 818ms
memory: 54664kb

input:

100000 250000
703772526 668909265 175476977 245534591 178494855 163709285 135907601 588514745 384597373 546720851 511873943 863782845 911754758 785276040 950688347 66910306 311471278 218907684 598295055 909736164 489979351 176012664 329319792 257226235 114287898 374268717 292974247 342657642 3396571...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16...

result:

ok 250003 lines

Test #362:

score: 0
Accepted
time: 841ms
memory: 55856kb

input:

100000 250000
817364968 900845039 55537647 769826251 668887849 123725222 422585748 452774932 680525591 17473034 436090162 838733787 781322371 889659900 129399731 726965134 986777617 908665767 925394156 616735138 754740262 613650944 464290093 925286574 445414830 950641312 671363336 91266975 179711693...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10...

result:

ok 250003 lines

Test #363:

score: 0
Accepted
time: 829ms
memory: 54084kb

input:

100000 250000
713685231 892255661 577170106 531000232 717619046 115369481 637911506 855499210 165850153 271611495 862967935 389415155 632389641 518728351 241154943 214999565 447918036 699620730 249640982 93248505 617702272 137684146 387645486 636945698 30187629 744085809 880801580 418124944 48003837...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
...

result:

ok 250003 lines

Test #364:

score: 0
Accepted
time: 834ms
memory: 57488kb

input:

100000 250000
64541516 873176108 495613147 33852406 687827128 691088597 241801967 661574691 505027467 856172188 270512444 174559838 571419441 106694871 661749688 111676485 672288205 695385198 466727329 535851840 100487297 352797692 296857730 84829322 601170655 492690057 677032856 407025124 428049551...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
...

result:

ok 250003 lines

Test #365:

score: 0
Accepted
time: 799ms
memory: 55976kb

input:

100000 250000
767018884 836395827 219450114 32940086 392225395 87371875 118394660 649888597 808225857 416818987 723124836 762372506 115560286 860008331 476088821 188694789 886823684 453918520 784805097 80542087 320909905 781323486 518894346 440187292 436786237 552651953 348685314 837268069 862523222...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 250003 lines

Test #366:

score: 0
Accepted
time: 1028ms
memory: 59540kb

input:

100000 250000
904573768 66069140 66069140 904573768 58015467 58015467 772693022 409075754 287794395 287794395 409075754 772693022 926055124 565572462 565572462 396779863 169238200 134409513 134409513 169238200 5172672 5172672 181312381 41902633 41902633 181312381 190314516 176987535 176987535 106657...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49475
49476
49485
49487
49489
49490
49500
49501
49506
49507
49510
49511
49513
49517
49518
49525
49527
49531
49533
49534
49535
49544
49548
49551
49552
49554
49556
49561
49562
49564
49565
49566
49573
49577
49581
49588
49588
49...

result:

ok 250003 lines

Test #367:

score: 0
Accepted
time: 1020ms
memory: 57976kb

input:

100000 250000
817272200 698146005 309310742 262552288 262552288 309310742 263104489 174873179 4483571 3255934 3255934 1324521 1324521 4483571 174873179 263104489 676868095 264077159 244745792 241141899 178387418 103782170 18488430 18488430 103782170 23788746 23788746 178387418 241141899 129210522 12...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48822
48831
48834
48836
48842
48847
48848
48849
48858
48859
48861
48862
48863
48864
48871
48873
48875
48876
48877
48880
48886
48889
48894
48902
48911
48912
48914
48917
48923
48928
48936
48937
48939
48940
48941
48945
48946
48...

result:

ok 250003 lines

Test #368:

score: 0
Accepted
time: 1033ms
memory: 57976kb

input:

100000 250000
901540334 666302654 406258039 197357707 169087691 60838792 60838792 169087691 197357707 406258039 666302654 901540334 945719095 868524865 860722689 657243414 285016032 98209204 65191411 60924567 60924567 65191411 98209204 285016032 657243414 860722689 868524865 945719095 892495829 3233...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
49681
49685
49686
49687
49702
49719
49723
49731
49739
49747
49747
49758
49772
49782
49806
49807
49818
49819
49826
49827
49828
49838
49854
49855
49860
49861
49862
49863
49875
49878
49889
49890
49894
49895
49898
49899
49907
49...

result:

ok 250003 lines

Test #369:

score: 0
Accepted
time: 998ms
memory: 58028kb

input:

100000 250000
977481117 919481800 806120969 775773531 733560139 686124955 566404000 556790169 522817118 496956864 484867047 460421709 430289655 427400258 411679369 405562850 350775305 263307324 237177782 183640215 182059888 153499233 60230803 10261386 10261386 60230803 153499233 182059888 183640215 ...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
46063
46118
46118
46147
46172
46199
46226
46230
46238
46255
46279
46297
46306
46314
46349
46371
46393
46393
46405
46418
46419
46439
46439
46455
46470
46471
46498
46510
46547
46577
46609
46610
46610
46628
46664
46685
46693
46...

result:

ok 250003 lines

Test #370:

score: 0
Accepted
time: 985ms
memory: 58624kb

input:

100000 250000
996499994 962782281 961618197 917336437 903712604 850528129 832633681 825151206 817502625 780915647 775392865 751982858 702093002 690933520 637008131 601554176 590322758 588654020 577777012 567286161 519343557 517793133 516873766 496455573 492964066 472065782 415869683 405458127 383774...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45902
45948
45992
46003
46028
46052
46059
46074
46075
46140
46141
46142
46168
46169
46170
46171
46201
46260
46261
46287
46348
46387
46423
46439
46479
46530
46583
46593
46594
46602
46603
46628
46628
46629
46682
46684
46687
46...

result:

ok 250003 lines

Test #371:

score: 0
Accepted
time: 987ms
memory: 61320kb

input:

100000 250000
990042397 969060644 948895758 913308499 909413215 905310709 896616544 891179012 882881257 882574610 825280780 814979071 797987794 797380085 757629061 751346460 751038697 749037865 740209326 735495920 716177039 684038453 672766342 653637767 645980530 634925180 632720937 621394790 605139...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
38196
38197
38198
38199
38314
38314
38314
38341
38348
38348
38349
38350
38414
38415
38472
38487
38536
38635
38642
38647
38649
38714
38715
38715
38715
38761
38847
38855
38897
38939
38939
39084
39089
39090
39103
39109
39110
39...

result:

ok 250003 lines

Test #372:

score: 0
Accepted
time: 935ms
memory: 57860kb

input:

100000 250000
995070116 984906136 967070334 956022969 951437239 951241164 943958085 938349991 934982590 927403825 918260796 913692873 912297054 909074502 901553289 900024950 896816479 890309422 888198973 881181525 858772159 858489841 850335488 839848471 837885674 833808960 831923663 829904295 824865...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
48217
48356
48357
48511
48633
48740
48884
49023
49072
49344
49345
49455
49636
49853
49852
49821
49820
49819
49718
49683
49682
49528
49527
49526
49521
49519
49443
49442
49284
49283
49282
49281
49280
49279
49051
49004
49003
49...

result:

ok 250003 lines

Test #373:

score: 0
Accepted
time: 904ms
memory: 57572kb

input:

100000 250000
999208608 998873526 997415291 995803785 993506404 992917110 982363696 978759067 977575007 967707406 964874823 963648433 963181094 963070418 959505964 958134121 955554027 954980613 953460917 951184262 948083021 938977315 937986352 937853367 937202547 934850921 933840985 933472458 932670...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
24241
24242
24242
24348
24350
24350
24351
24448
24526
24526
24526
24526
24584
24675
24756
24763
24763
24763
24763
24763
24763
24763
24772
24778
24778
24778
24851
24882
24882
24882
24882
25107
25236
25237
25247
25247
25247
25...

result:

ok 250003 lines

Test #374:

score: 0
Accepted
time: 887ms
memory: 59016kb

input:

100000 250000
997429633 993959029 993801023 992289164 990406247 989579059 989152742 989127243 988130149 984155754 982963229 981671415 981652941 980959806 980741155 980376480 979243761 978471975 977008215 976258930 976103467 973834747 973070478 972513656 969256039 967404967 966840259 966428780 966227...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17300
17300
17300
17300
17300
17369
17369
17369
17369
17369
17369
17369
17494
17702
17705
17954
17990
17990
17992
18047
18331
18520
18520
18520
18520
18520
18531
18578
18578
18592
18592
18592
18593
18594
18594
18594
18594
18...

result:

ok 250003 lines

Test #375:

score: 0
Accepted
time: 893ms
memory: 58780kb

input:

100000 250000
999072830 998909010 998436255 998379629 998214681 997963914 997924565 997293990 996926665 996325021 995247422 994645788 994382289 994122058 992443414 992333777 991562506 991153136 991095296 990969207 990787583 990776011 990491592 989761011 989510336 989382633 989105771 988262162 987869...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
17582
17673
18152
18152
18152
18152
18394
18394
18430
18430
18451
18451
18553
18553
18553
19826
20118
20118
20118
20118
20387
21161
21161
21675
21985
22050
22050
22346
22690
22690
23271
23271
24151
24486
24486
24486
24556
24...

result:

ok 250003 lines

Test #376:

score: 0
Accepted
time: 894ms
memory: 57808kb

input:

100000 250000
999896806 999717668 999518490 998451491 998074879 997768756 997725851 997668303 997499374 997412960 997317770 997236926 997114613 997081558 996681458 996660605 996647488 996498254 996263838 995729436 995515547 995431259 995298363 995148105 995065561 994336212 994335083 994044224 993974...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42846
42856
42857
43863
44120
44121
44250
44251
44252
47027
47036
47036
47035
44248
44248
44247
43660
42024
42023
42022
42021
42020
42019
42018
42018
42017
42016
41698
39707
39707
38568
38567
38476
38264
38263
38262
36700
33...

result:

ok 250003 lines

Test #377:

score: 0
Accepted
time: 880ms
memory: 60708kb

input:

100000 250000
999940682 999865919 999797615 999682751 999604911 999561162 999433202 999400039 999289409 999287641 998935114 998785741 998671953 998428151 998307722 998216742 998111946 998062719 998042927 997980963 997962140 997869733 997710896 997689006 997680400 997658099 997649967 997503095 996993...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000...

result:

ok 250003 lines

Test #378:

score: 0
Accepted
time: 885ms
memory: 61084kb

input:

100000 250000
999897767 999878057 999735808 999730433 999729358 999638045 999592880 999591360 999563363 999496590 999493824 999455746 999454156 999368980 999338474 999323619 999288635 999267926 999197675 999173950 999158544 999126022 999069434 998991944 998963123 998775848 998743452 998620079 998585...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2376
2553
2553
2553
2553
2553
2553
2553
2553
2553
2553
2553
2553
2553...

result:

ok 250003 lines

Test #379:

score: 0
Accepted
time: 872ms
memory: 57028kb

input:

100000 250000
999999037 999900426 999872826 999865376 999837177 999811611 999804960 999781091 999776902 999769617 999737133 999731441 999723857 999704482 999701191 999666808 999657813 999640451 999624213 999605607 999576182 999563938 999548493 999546312 999539480 999518209 999499297 999495624 999464...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
369
...

result:

ok 250003 lines

Test #380:

score: 0
Accepted
time: 804ms
memory: 53136kb

input:

100000 250000
999988351 999961579 999945856 999935106 999919771 999893743 999863542 999859384 999851551 999850150 999839210 999832662 999816285 999728697 999719314 999683570 999674310 999666497 999662032 999639880 999629757 999611349 999520893 999497706 999474221 999443954 999442520 999442340 999438...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45955
18213
18211
35371
45955
37136
19057
19058
45955
2300
2299
7542
45955
17730
17728
37717
45955
34964
12109
12110
45955
29266
29267
38175
45955
33860
23876
23875
45954
23232
23231
36341
45954
26532
22709
22709
45954
27985...

result:

ok 250003 lines

Test #381:

score: 0
Accepted
time: 801ms
memory: 53748kb

input:

100000 250000
999873615 999797673 999778486 999773482 999707828 999683484 999673132 999635753 999627380 999619269 999549645 999535264 999520374 999499348 999481426 999464604 999445285 999426871 999381725 999369227 999331612 999312913 999306347 999300213 999281143 999265728 999256498 999255780 999250...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
45222
5227
5225
34320
45223
6461
6460
11210
45224
25025
7504
7504
45225
4802
4800
15243
45225
42932
2875
2876
45225
5583
5584
13323
45225
34929
34929
43072
45225
1150
1147
43220
45225
30223
10535
10535
45225
18112
9189
9191
...

result:

ok 250003 lines

Test #382:

score: 0
Accepted
time: 821ms
memory: 53220kb

input:

100000 250000
999976491 999947597 999919847 999856402 999784372 999759199 999756844 999753220 999752054 999751733 999661913 999653895 999647582 999635384 999632876 999587798 999566899 999563912 999544174 999535065 999481960 999470861 999422228 999406846 999393730 999392823 999292445 999268365 999264...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42862
22503
22501
42445
42862
25468
25468
28750
42862
25105
25104
25312
42862
28338
19693
19695
42862
14147
14144
36585
42862
23498
559
559
42863
6125
6124
14584
42863
37853
25696
25697
42862
5864
5862
38383
42861
17948
1794...

result:

ok 250003 lines

Test #383:

score: 0
Accepted
time: 819ms
memory: 53820kb

input:

100000 250000
999989751 999939050 999937358 999922254 999871538 999822352 999819522 999793050 999789343 999755568 999739766 999728299 999728140 999695141 999676373 999671138 999617699 999614667 999557175 999511538 999510023 999507522 999477648 999470862 999450074 999440866 999440211 999418830 999370...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
40535
23455
23454
33553
40536
27573
12153
12154
40536
31182
16014
16015
40536
14421
2303
2305
40536
38543
37528
37531
40536
11653
11653
35541
40536
26155
26152
29689
40536
11627
11625
37585
40537
34434
5145
5147
40537
29353
...

result:

ok 250003 lines

Test #384:

score: 0
Accepted
time: 872ms
memory: 54744kb

input:

100000 250000
999911429 999806653 999696446 999687290 999664280 999540691 999534292 999521105 999473374 999460718 999426401 999412686 999402935 999380676 999354469 999324400 999314052 999254171 999240856 999222153 999216377 999177149 999136857 999123914 999116416 999080749 999062456 999057107 999008...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
35862
14162
14162
15972
35862
18733
18732
22138
35862
26390
20276
20278
35862
33888
9492
9492
35862
34045
34045
35862
35862
17316
17315
33120
35863
8705
2059
2060
35863
6137
4056
4057
35862
25249
22458
22461
35863
12036
1203...

result:

ok 250003 lines

Test #385:

score: 0
Accepted
time: 900ms
memory: 54924kb

input:

100000 250000
999870185 999840889 999751484 999661446 999653253 999635991 999570351 999469787 999352256 999346408 999275105 999228026 999202123 999151073 999141560 999047540 999044648 999025300 999024964 999024194 998990975 998800588 998750263 998672393 998660461 998637271 998597499 998524994 998374...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
26795
15864
15862
22037
26795
22159
14829
14830
26795
20530
20527
24705
26795
8242
8241
13339
26795
2290
2289
18520
26796
15339
15336
23962
26795
20055
17923
17924
26795
8992
8991
26219
26795
18214
8171
8171
26796
11842
1184...

result:

ok 250003 lines

Test #386:

score: 0
Accepted
time: 565ms
memory: 52432kb

input:

100000 250000
407224205 256820564 252534123 252534123 233112685 225239407 214 341 317 225239407 233112685 256820564 407224205 549299568 549299568 307251634 209608721 68526432 68526432 209608721 242966867 202421959 86357626 86357626 127089437 72 127089437 15 187852367 155067847 141596272 141596272 15...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42511
42506
42505
42510
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42511
42509
42508
42510
42511
42508
42508
42511
42511
42511
42511
42511
42511
42504
42502
42509
42511
42...

result:

ok 250003 lines

Test #387:

score: 0
Accepted
time: 608ms
memory: 55124kb

input:

100000 250000
984708996 793575707 519536850 496221363 443409779 430806391 398288408 290132244 100849877 2357 100849877 290132244 398288408 430806391 443409779 496221363 9 501066619 469897372 353446950 229095458 174481106 172103325 130759394 122358719 26450127 9262 26450127 122358719 130759394 172103...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42523
42523
42523
42523
42523
42523
42522
42522
42523
42523
42520
42520
42523
42518
42517
42522
42523
42521
42519
42521
42523
42520
42520
42523
42523
42521
42521
42523
42523
42521
42521
42523
42523
42523
42523
42523
42523
42...

result:

ok 250003 lines

Test #388:

score: 0
Accepted
time: 686ms
memory: 52624kb

input:

100000 250000
986740874 930666200 918610525 904216367 885959090 876439752 859146133 734363800 718202160 715865651 679517703 656280064 639391858 582147233 460209810 428139333 387404615 384369765 348088118 343954966 320897775 315981064 314842514 298736716 273065971 263853762 197930825 168348233 131277...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42548
42515
42451
42484
42548
42548
42547
42547
42548
42472
42470
42546
42547
42547
42539
42539
42547
42547
42535
42535
42547
42490
42457
42514
42547
42547
42511
42511
42546
42511
42511
42546
42546
42529
42526
42543
42546
42...

result:

ok 250003 lines

Test #389:

score: 0
Accepted
time: 692ms
memory: 54280kb

input:

100000 250000
991304430 980492037 971153417 960191347 955965001 923531707 921211417 920288042 911745548 891200557 886721119 884966119 875490479 857924790 807334879 806702669 804667462 801651492 796101837 784606671 760912325 741008736 721417342 718689151 717445225 710547927 698616323 685479775 679027...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42617
42617
42617
42617
42617
42617
42617
42617
42617
42590
42590
42617
42617
42523
42523
42617
42617
42574
42573
42616
42617
42604
42583
42596
42617
42613
42604
42608
42617
42617
42415
42415
42617
42612
42585
42590
42617
42...

result:

ok 250003 lines

Test #390:

score: 0
Accepted
time: 736ms
memory: 53424kb

input:

100000 250000
997376940 996108262 995979477 995381438 992137880 989096553 988501002 988183452 986773877 986566390 983497959 981932327 980806420 980198969 979358490 978027116 976868778 976563096 976546194 976253985 974789885 973657521 972626050 971232815 969520332 966634148 966380696 965712024 964342...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42567
42233
42121
42454
42566
42511
41971
42027
42567
42450
42370
42487
42567
42483
41576
41660
42567
42567
42487
42487
42567
42267
42266
42566
42567
42566
42524
42525
42567
42567
42558
42558
42567
42562
42561
42566
42567
42...

result:

ok 250003 lines

Test #391:

score: 0
Accepted
time: 748ms
memory: 52540kb

input:

100000 250000
996914336 995458175 995056162 994826807 993034424 991272099 990667945 989971389 989840522 987014325 986024401 983986788 982790869 981831604 981202362 980453563 975345934 975161587 973865751 973361548 971278009 970650486 969072577 966789856 965233253 964672395 964591135 964439283 960796...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
42379
41784
41781
42376
42378
41607
39962
40733
42378
42377
42354
42355
42379
41486
41486
42379
42379
42022
41682
42039
42379
42155
41849
42073
42379
41505
41415
41991
42379
42379
42378
42378
42379
41421
41243
42201
42379
42...

result:

ok 250003 lines

Test #392:

score: 0
Accepted
time: 752ms
memory: 52332kb

input:

100000 250000
999964288 999653478 999621478 999536906 999383903 999177678 998823731 998676381 998569029 998041052 997389062 996923118 996891233 996795629 996758174 996475273 996284840 996062509 995921376 995854060 995592269 994886146 994748912 994667965 994594615 994419733 994038881 993859989 993627...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
41029
41027
39672
39673
41029
41028
37050
37051
41029
41027
40909
40912
41030
41028
38506
38508
41030
41030
40953
40953
41030
41030
41029
41029
41030
39250
39246
41026
41030
39400
39398
41029
41031
41031
41030
41030
41031
41...

result:

ok 250003 lines

Test #393:

score: 0
Accepted
time: 697ms
memory: 52372kb

input:

100000 250000
999937411 999811896 999482448 999345034 998959946 998715538 998542885 998481979 998332541 998236767 998202874 998065466 998030521 997961385 997900459 997764461 997680042 997631724 997507012 997463103 997426925 997242478 997235396 997230378 997211174 997029491 996978604 996953320 996709...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
38577
38575
37182
37184
38577
37229
35216
35217
38577
35536
35533
38574
38576
38531
33670
33714
38575
35813
35813
38575
38575
38538
36175
36212
38575
35571
35570
38574
38575
38573
33566
33568
38575
38548
38545
38572
38575
34...

result:

ok 250003 lines

Test #394:

score: 0
Accepted
time: 646ms
memory: 54152kb

input:

100000 250000
999971272 999901818 999880982 999864528 999814486 999782402 999754619 999701629 999674217 999670130 999657500 999598752 999531353 999524586 999469799 999467936 999462245 999417887 999392192 999383653 999369416 999356644 999329890 999328248 999308656 999184892 999178645 999162411 999145...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
29156
28911
28910
28912
29156
29113
29113
29156
29156
29058
29058
29059
29156
29153
28909
28912
29156
29155
29154
29155
29156
21357
21356
29155
29156
18189
18092
29059
29156
28911
28904
29149
29156
29153
28908
28911
29156
15...

result:

ok 250003 lines

Test #395:

score: 0
Accepted
time: 632ms
memory: 55200kb

input:

100000 250000
581811277 419938147 307869621 447 2445 14323 250 307869621 419938147 2405 547530245 341188754 1634 233488328 160794656 12757 10973 160794656 1908 228421010 179874848 16332696 7687 16332696 179874848 228421010 233488328 341188754 547530245 581811277 12507 1720 601525701 248 1700 19108 9...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30093
30089
30089
30093
30093
30093
30093
30093
30093
30093
30093
30093
30093
30093
30090
30090
30093
30090
30090
30093
30093
30088
30085
30090
30093
30089
30085
30089
30093
30093
30093
30093
30093
30093
30091
30091
30093
30...

result:

ok 250003 lines

Test #396:

score: 0
Accepted
time: 672ms
memory: 55832kb

input:

100000 250000
912964146 870675276 865807772 769590571 592797965 547270420 505033124 457536268 355 646 230 688 404 244 53 457536268 505033124 547270420 470 141 75 688 610 427256328 417158683 373914447 358008554 517 355 76 162 639 358008554 373914447 417158683 313 451 587 157 276 419787285 217552009 1...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30264
30253
30253
30264
30264
30264
30264
30264
30264
30264
30263
30263
30264
30263
30249
30250
30264
30264
30264
30264
30264
30261
30255
30258
30264
30263
30261
30262
30264
30264
30264
30264
30264
30264
30261
30261
30264
30...

result:

ok 250003 lines

Test #397:

score: 0
Accepted
time: 726ms
memory: 54180kb

input:

100000 250000
989816347 984477837 974100449 942018398 862364310 821854344 815712026 754479692 740686091 733465309 678560144 665099466 633906049 622707423 570714141 551773789 531438678 530748850 520041777 518627251 485293058 481663015 449283940 412169700 408931273 404757728 397627635 385271830 382275...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30541
30527
30489
30503
30541
30537
30525
30529
30541
30533
30533
30541
30541
30541
30534
30534
30541
30537
30534
30538
30541
30533
30531
30539
30541
30541
30541
30541
30542
30533
30528
30537
30542
30541
30541
30541
30541
30...

result:

ok 250003 lines

Test #398:

score: 0
Accepted
time: 807ms
memory: 54016kb

input:

100000 250000
974738903 964929325 954942181 940684869 928176051 902477106 901371020 886155868 883274718 851227796 848787254 846343059 827919476 801416950 789242270 775375387 773737395 770588589 754680719 743112767 670903446 666802743 662799283 585234720 585132620 564957446 561584893 556556511 545258...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30621
30620
30617
30618
30621
30614
30609
30616
30621
30618
30614
30617
30621
30621
30621
30621
30621
30621
30621
30621
30621
30621
30602
30602
30621
30514
30506
30613
30621
30616
30614
30619
30620
30620
30618
30618
30620
30...

result:

ok 250003 lines

Test #399:

score: 0
Accepted
time: 770ms
memory: 54224kb

input:

100000 250000
997986484 990109221 987204275 984387398 983674012 983585844 983048319 981029125 980657456 980112186 977320606 972065089 971626003 970904661 970793272 969054692 966966457 962976590 960836228 960813079 957071964 955920919 955386932 952398930 952168144 946869773 941268412 934364894 933549...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30849
30808
30786
30827
30849
30849
30666
30666
30849
30700
30696
30845
30849
30811
30811
30849
30849
30849
30848
30848
30849
30821
30821
30849
30849
30636
30385
30598
30850
30849
30819
30820
30850
30849
30793
30794
30850
30...

result:

ok 250003 lines

Test #400:

score: 0
Accepted
time: 773ms
memory: 53928kb

input:

100000 250000
999731132 998240057 997921945 997191795 994733445 993618033 991676322 991133268 990569609 989588983 988785807 986774726 985438000 985352337 985056582 982926791 981405406 979541590 979534666 978342724 975534676 975305308 974999169 974930709 974665548 974113713 974011830 970474691 970431...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
30343
29923
29883
30303
30343
30102
30101
30342
30342
30277
30275
30340
30342
30335
30334
30341
30342
30340
30289
30290
30341
30331
30331
30341
30341
30339
30336
30338
30341
30334
30084
30091
30341
30341
30340
30340
30341
30...

result:

ok 250003 lines

Test #401:

score: 0
Accepted
time: 723ms
memory: 54180kb

input:

100000 250000
999811641 999489284 999157084 999112717 999037221 998814003 998686791 998642816 998368374 998264600 998155404 998086200 997744443 997517127 997434431 997423392 997186050 996974932 996927304 996857793 995006429 994766813 994606799 994537768 994334477 994160131 994126683 994042360 993717...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
28669
28667
28665
28667
28669
27084
26932
28517
28669
27922
27919
28666
28670
28670
27290
27290
28670
28669
28668
28669
28671
28669
25286
25288
28671
27936
27935
28336
28672
28672
28672
28672
28672
27332
27330
28670
28672
26...

result:

ok 250003 lines

Test #402:

score: 0
Accepted
time: 804ms
memory: 55248kb

input:

100000 250000
999957153 999832120 999746619 999569613 999431724 999393482 999274247 999244644 999223702 999113379 999049650 998805683 998734554 998732161 998221065 998017565 997742237 997477665 997460265 997250679 997193143 996990452 996906403 996181147 996061507 995991392 995883958 995871096 995860...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
31192
29918
29917
31191
31192
31191
27940
27941
31194
31026
31025
31193
31194
31193
31191
31192
31193
31191
31153
31155
31192
31190
31187
31189
31192
24282
24281
31191
31192
30723
30722
31191
31192
30869
28602
28923
31190
23...

result:

ok 250003 lines

Test #403:

score: 0
Accepted
time: 668ms
memory: 55124kb

input:

100000 250000
999986455 999938214 999918905 999883232 999870409 999774886 999774391 999712710 999669651 999636532 999592000 999518092 999474553 999464552 999420098 999393906 999353089 999293554 999245086 999181696 999169206 999163665 999148283 999122535 999069161 999041687 998989358 998960594 998956...

output:

===N9QYGK6IIFB0576PT8J5=== Gyojun is so handsome ===F38MWDJZH1VARYC4PR0X===
23418
23417
23416
23417
23418
22737
22731
23411
23417
23417
23416
23416
23417
23415
23376
23378
23416
23376
14904
14944
23416
23414
23412
23414
23416
23415
23377
23378
23416
10939
10928
23405
23416
22350
22348
23414
23416
23...

result:

ok 250003 lines