QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#368597#1834. Eulerian?crsfaa#AC ✓27ms3944kbC++14945b2024-03-27 13:51:002024-03-27 13:51:00

Judging History

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

  • [2024-03-27 13:51:00]
  • 评测
  • 测评结果:AC
  • 用时:27ms
  • 内存:3944kb
  • [2024-03-27 13:51:00]
  • 提交

answer

#include<bits/stdc++.h>
#define Yukinoshita namespace
#define Yukino std
using Yukinoshita Yukino;
int read()
{
	int s=0,w=1;
	char ch=getchar();
	while(ch<'0'||ch>'9') w=ch=='-'?-1:1,ch=getchar();
	while(ch>='0'&&ch<='9') s=s*10+ch-'0',ch=getchar();
	return s*w;
}
int main()
{
	int n,i,j,s;
	cin>>n;
	cout<<"? "<<n<<' ';
	for(i=1;i<=n;i++)
		cout<<i<<' ';
	cout<<endl;
	fflush(stdout);
	int c;
	cin>>c;
	c%=2;
	for(i=0;i<56/2;i++)
	{
		vector<int> rd,rc;
		for(j=1;j<=n;j++)
			if(rand()%2)
				rd.push_back(j);
			else rc.push_back(j);
		cout<<"? "<<rc.size()<<' ';
		for(auto x:rc)
			cout<<x<<' ';
		cout<<endl;
		fflush(stdout);
		int u;
		cin>>u;
		u=c^u%2;
		cout<<"? "<<rd.size()<<' ';
		for(auto x:rd)
			cout<<x<<' ';
		cout<<endl;
		int tp;
		cin>>tp;
		u=u^tp%2;
		if(u)
		{
			cout<<"! NO"<<endl;
			fflush(stdout);
			return 0;
		}
	}
	cout<<"! YES"<<endl;
	fflush(stdout);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3476kb

input:

3
2
0
0
0
2
1
0

output:

? 3 1 2 3 
? 1 2 
? 2 1 3 
? 0 
? 3 1 2 3 
? 2 1 2 
? 1 3 
! NO

result:

ok correct

Test #2:

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

input:

3
3
0
1
0
3
1
0
0
1
0
1
3
0
1
0
0
1
3
0
0
3
1
0
0
1
0
1
0
1
0
1
1
0
0
1
1
0
1
0
1
0
0
1
0
1
0
1
0
1
1
0
1
0
0
1
3
0

output:

? 3 1 2 3 
? 1 2 
? 2 1 3 
? 0 
? 3 1 2 3 
? 2 1 2 
? 1 3 
? 1 2 
? 2 1 3 
? 1 1 
? 2 2 3 
? 3 1 2 3 
? 0 
? 2 1 2 
? 1 3 
? 1 1 
? 2 2 3 
? 3 1 2 3 
? 0 
? 0 
? 3 1 2 3 
? 2 2 3 
? 1 1 
? 1 1 
? 2 2 3 
? 1 2 
? 2 1 3 
? 1 1 
? 2 2 3 
? 1 3 
? 2 1 2 
? 2 2 3 
? 1 1 
? 1 2 
? 2 1 3 
? 2 1 3 
? 1 2 
?...

result:

ok correct

Test #3:

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

input:

4
3
0
1
1
1

output:

? 4 1 2 3 4 
? 1 2 
? 3 1 3 4 
? 2 3 4 
? 2 1 2 
! NO

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

? 4 1 2 3 4 
? 1 2 
? 3 1 3 4 
! NO

result:

ok correct

Test #5:

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

input:

4
5
0
2

output:

? 4 1 2 3 4 
? 1 2 
? 3 1 3 4 
! NO

result:

ok correct

Test #6:

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

input:

10
10
1
5
5
0

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 3 2 7 8 
? 7 1 3 4 5 6 9 10 
? 7 1 3 6 7 8 9 10 
? 3 2 4 5 
! NO

result:

ok correct

Test #7:

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

input:

10
11
1
4
3
1

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 3 2 7 8 
? 7 1 3 4 5 6 9 10 
? 7 1 3 6 7 8 9 10 
? 3 2 4 5 
! NO

result:

ok correct

Test #8:

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

input:

100
100
21
28

output:

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

result:

ok correct

Test #9:

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

input:

100
256
72
53

output:

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

result:

ok correct

Test #10:

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

input:

1000
1488
368
333

output:

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

result:

ok correct

Test #11:

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

input:

1000
11488
2918
2813

output:

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

result:

ok correct

Test #12:

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

input:

10000
100000
25972
24061

output:

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

result:

ok correct

Test #13:

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

input:

10000
99999
25896
24290

output:

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

result:

ok correct

Test #14:

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

input:

10
10
1
5
4
0
2
4
4
4
1
3
3
1
1
5
3
1
2
0
6
0
4
4
1
1
0
8
1
3
2
2
2
4
6
2
1
3
1
3
0
4
5
1
3
3
3
1
3
3
5
1
4
2
7
1
2
2

output:

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

result:

ok correct

Test #15:

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

input:

100
100
30
26
18
34
37
19
33
17
23
21
24
22
23
31
23
19
22
34
28
24
21
31
26
24
18
40
18
20
23
25
23
17
20
28
15
23
24
12
37
15
28
22
25
25
23
19
30
18
25
27
34
16
43
13
24
24

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
249
235
240
250
306
226
238
254
225
275
240
234
279
223
299
217
220
250
268
226
232
264
277
239
222
284
262
252
253
267
222
268
280
216
277
203
258
252
259
245
253
247
263
243
242
258
259
239
245
241
240
254
257
241
257
261

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2598
2424
2514
2462
2511
2473
2551
2491
2492
2462
2511
2509
2520
2556
2492
2550
2595
2413
2493
2449
2470
2522
2539
2483
2451
2425
2549
2369
2498
2492
2463
2505
2645
2455
2478
2540
2437
2561
2515
2563
2460
2574
2471
2481
2467
2459
2507
2529
2571
2477
2526
2570
2550
2532
2529
2435

output:

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

result:

ok correct

Test #18:

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

input:

10000
10000
2602
2428
2552
2500
2502
2464
2552
2492
2485
2455
2504
2502
2481
2517
2447
2505
2558
2376
2529
2485
2511
2563
2512
2456
2534
2508
2629
2449
2453
2447
2459
2501
2619
2429
2434
2496
2451
2575
2505
2553
2447
2561
2510
2520
2483
2475
2489
2511
2559
2465
2477
2521
2523
2505
2550
2456

output:

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

result:

ok correct

Test #19:

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

input:

10000
10000
2600
2426
2571
2519
2523
2485
2525
2465
2538
2508
2507
2505
2476
2512
2510
2568
2578
2396
2528
2484
2431
2483
2576
2520
2528
2502
2601
2421
2546
2540
2444
2486
2610
2420
2425
2487
2458
2582
2483
2531
2418
2532
2494
2504
2470
2462
2470
2492
2494
2400
2453
2497
2549
2531
2569
2475

output:

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

result:

ok correct

Test #20:

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

input:

100
200
52
42
33
73
70
34
58
36
58
52
56
50
36
60
44
46
41
61
48
34
33
53
50
48
26
68
60
52
44
50
51
43
46
62
33
59
75
29
85
31
43
39
49
51
57
45
57
37
44
46
75
39
84
26
57
51

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
528
480
473
507
640
432
495
513
455
581
487
493
538
462
607
413
464
496
541
461
446
578
577
461
436
586
513
491
480
504
475
551
559
437
557
447
534
486
495
511
498
448
500
474
471
527
540
456
488
508
468
524
511
505
508
484

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2751
2689
2654
2842
3266
2316
2820
2796
2472
3062
2757
2861
3047
2395
3265
2221
2554
2946
2938
2540
2673
2867
2974
2614
2462
3098
2818
2650
2673
2759
2474
2912
3139
2325
3222
2310
2766
2764
2734
2754
2813
2659
2851
2661
2742
2796
2872
2520
2674
2764
2669
2861
2848
2672
2758
2778

output:

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

result:

ok correct

Test #23:

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

input:

10000
90000
23140
21656
22858
22082
22761
22195
22941
22073
22658
22304
22529
22449
22162
22686
22145
22845
23390
21748
22882
22294
22358
22964
22992
22314
22615
22249
23498
21748
22461
22549
22369
22703
23113
21533
22343
22765
22155
22755
22149
22637
21812
23094
22496
22418
22558
22582
22301
22539
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
23397
21507
22790
22168
22536
22454
22967
22209
22787
22333
22344
22858
22331
22661
22154
22766
23247
21487
22589
22283
22213
22823
23115
21873
22824
22340
23214
21716
22576
22330
22229
22321
23211
21551
22617
22607
21708
23300
22317
22947
22172
22806
22768
22412
22504
22434
22605
22555
...

output:

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

result:

ok correct

Test #25:

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

input:

10000
90000
22920
21782
23114
22146
22658
22232
22710
22226
22402
22802
22546
22326
22416
22548
22474
22370
23381
21875
22789
22281
22399
22525
22791
22505
22694
22410
23714
21324
22613
22459
22089
22681
23021
21843
22276
22784
21862
22998
22238
22786
21901
22969
22495
22399
22494
22608
22421
22577
...

output:

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

result:

ok correct

Test #26:

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

input:

10000
90000
23458
21604
22973
22191
22512
22282
22780
22146
23014
22234
22504
22596
22316
22590
22295
22629
23370
21818
22601
22497
22526
22722
22790
22184
22493
22609
23473
21449
22564
22510
22369
22727
23421
21909
22474
22408
22058
22866
22131
22739
22126
23070
22247
22693
22489
22325
22608
22546
...

output:

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

result:

ok correct

Test #27:

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

input:

10000
90000
23371
21529
22519
22511
22650
22340
22752
22266
22967
22285
22589
22527
22461
22503
22245
22957
23241
21503
22789
22303
21962
22818
22870
22282
22716
22374
23462
21858
22530
22444
22206
22822
23254
21574
22546
22690
22067
22967
22288
22576
22442
22404
22546
22598
22714
22450
22289
22825
...

output:

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

result:

ok correct

Test #28:

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

input:

10000
90000
23077
21725
23171
21967
22652
22142
22840
22416
22635
22331
22649
22357
22371
22649
22523
22637
23363
21553
22680
22236
22308
22700
22842
22238
22434
22508
23502
21402
22420
22378
22085
22777
23650
21518
22340
22670
21759
23353
22242
22638
21704
23220
22378
22534
22449
22423
22639
22713
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
23038
22072
22674
22164
22478
22526
22288
22686
22732
22384
22847
22123
22299
22959
22175
23023
23392
21754
22713
22273
22293
22709
22728
22104
22447
22557
23289
21651
22693
22369
22605
22565
23362
21720
22360
22778
22000
22964
22345
22643
21951
23031
22791
22325
22396
22504
22425
22799
...

output:

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

result:

ok correct

Test #30:

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

input:

10000
90000
23302
21484
22638
22308
22573
22577
22761
22187
22625
22243
22552
22498
22402
22542
22343
22493
23204
21700
22520
22212
22275
22831
22625
22337
22591
22195
23315
21941
22578
22480
22093
22611
23299
21725
22503
22605
22094
22878
22408
22684
22036
22868
22366
22594
22409
22583
22558
22454
...

output:

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

result:

ok correct

Test #31:

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

input:

10000
90000
23375
21661
22595
22461
22666
22182
22679
22115
22553
22419
22597
22649
22385
22341
22225
22607
23425
21841
22834
22192
22233
22609
22665
22339
22344
22352
23064
21774
22516
22586
22468
22444
23782
21502
22167
22793
21866
23204
22200
22966
22058
22986
22360
22614
22433
22505
22481
22555
...

output:

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

result:

ok correct

Test #32:

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

input:

10000
90000
23409
21851
22865
22163
22967
22121
22600
22478
22486
22318
22790
22334
22487
22617
22193
22989
23334
21876
22427
22525
22452
22946
22972
22118
22880
22456
23303
21717
22793
22363
22261
22605
23147
21797
22271
22547
21896
23146
22421
22889
21798
23116
22383
22471
22461
22535
22215
22663
...

output:

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

result:

ok correct

Test #33:

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

input:

10000
90000
23333
21665
22690
22268
22534
22440
22845
22181
22716
22446
22565
22447
22303
22919
21939
22999
23267
21561
22638
22456
22423
22581
22754
22336
22714
22620
23337
21661
22610
22558
22388
22622
23397
21613
22133
22831
22252
22814
22450
22638
21921
23109
22598
22464
22512
22422
22229
22749
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
23164
21856
22620
22270
22703
22331
22741
22269
22612
22480
22696
22146
22564
22774
22183
22621
23231
21641
22779
22385
22398
22506
22856
22260
22778
22318
23689
21587
22523
22589
21991
22899
23598
21446
22647
22567
21946
23052
22381
22743
22268
22782
22364
22514
22431
22569
22492
22542
...

output:

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

result:

ok correct

Test #35:

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

input:

10000
90000
23399
21701
22699
22251
22525
22337
22598
22290
22577
22211
22678
22434
22622
22690
22552
22430
23349
21759
22966
22418
22382
22598
22859
22125
22843
22151
23498
21540
22654
22524
22357
22599
23294
21812
22304
22582
21783
22973
22366
22588
21994
22952
22554
22530
22485
22433
22506
22646
...

output:

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

result:

ok correct

Test #36:

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

input:

10000
90000
23300
21814
22659
22367
22855
22123
22860
21958
22702
22190
22376
22542
22387
22547
22227
22817
23708
21652
22972
22054
22306
22848
22812
22168
22840
22202
23638
21412
22409
22539
22511
22593
23721
21225
22123
22871
22323
22773
21879
23197
21798
23086
22579
22415
22568
22460
22446
22408
...

output:

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

result:

ok correct

Test #37:

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

input:

10000
90000
23287
21943
22817
22143
22705
22299
22777
22397
22322
22534
22715
22377
22327
22717
21936
23024
23515
21659
22858
22344
22218
22486
23035
21977
22670
22394
23578
21390
22588
22538
22277
22813
23354
21582
22145
22755
21999
23061
22291
22581
22013
22995
22421
22653
22552
22422
22497
22583
...

output:

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

result:

ok correct

Test #38:

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

input:

10000
90000
23090
21652
22717
22287
22522
22532
22482
22494
22369
22805
22094
22702
22680
22234
22338
22834
23202
21878
22601
22261
22133
22723
22930
22192
22742
22274
23473
21669
22418
22606
22089
22663
23044
21826
22290
22804
21813
23115
22186
22800
22055
23097
22499
22281
22413
22633
22506
22588
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
23072
21808
22893
22295
22706
22028
22702
22312
22608
22486
22319
22759
22542
22536
22132
22882
23464
21576
22783
22431
22383
22481
22819
22219
22128
22710
23547
21555
22631
22645
22441
22619
23738
21502
22292
22666
21982
23104
22078
22706
22059
22937
22636
22706
22562
22570
22246
22794
...

output:

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

result:

ok correct

Test #40:

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

input:

10000
90000
23267
21777
22339
22577
22416
22650
22823
21967
22248
22344
22602
22304
22307
22669
22191
22713
23752
21492
22461
22369
22379
22569
22629
22543
22518
22476
23115
21703
22683
22355
22329
22667
23347
21691
22358
22506
21938
22916
22240
22734
21909
23133
22528
22574
22391
22801
22360
22532
...

output:

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

result:

ok correct

Test #41:

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

input:

10000
90000
23153
21841
22963
22129
22501
22599
22787
22361
22671
22143
22592
22708
22358
22692
22557
22733
23273
21889
22739
22123
22194
22846
22949
22143
22630
22490
23372
21670
22417
22649
22096
22768
23499
21805
22382
22772
21954
23062
22358
22656
21930
23062
22475
22473
22752
22314
22228
22732
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
23114
21968
22542
22482
22878
22330
22722
22360
22550
22660
22514
22674
22018
22940
22201
22973
23560
21828
22659
22417
21982
22934
22607
22141
22487
22651
23412
21632
22613
22241
22265
22691
23398
21590
21939
22795
22058
22832
22088
22914
21953
23257
22484
22452
22563
22541
22266
22932
...

output:

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

result:

ok correct

Test #43:

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

input:

10000
90000
23153
21843
22575
22437
22361
22559
22850
22314
22512
22604
22440
22536
22402
22332
22135
22987
23476
21666
22599
22343
22415
22781
22654
22108
22540
22410
23419
21563
22421
22459
22146
22704
23382
21442
22134
23040
21754
23148
22259
22665
22282
23012
22655
22229
22241
22953
22125
22781
...

output:

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

result:

ok correct

Test #44:

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

input:

10000
90000
23440
21728
22750
22426
22618
22246
22639
22637
22681
22179
22676
22304
22340
22618
22543
22569
23413
21855
22815
22107
22279
22643
22568
22364
22963
21949
23086
21616
22549
22459
22545
22427
23428
21474
22336
22856
22055
22753
22223
22669
21961
23053
22364
22808
22610
22182
22393
22375
...

output:

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

result:

ok correct

Test #45:

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

input:

10000
90000
23193
21491
23070
22072
22651
22007
22596
22134
22676
22188
22358
22636
22399
22469
22290
22672
23499
21725
22582
22198
22216
22870
22766
22094
22481
22477
23013
21607
22407
22701
22060
22808
23542
21590
22006
22944
21918
23086
22047
22953
22111
22945
22265
22813
22302
22580
22648
22626
...

output:

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

result:

ok correct

Test #46:

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

input:

10000
90000
23436
21580
22693
22221
22664
22378
23191
21969
22744
22220
22748
22150
22464
22722
22424
22558
23248
21690
22787
22329
22302
22928
22943
22065
22744
22216
23289
21631
22604
22466
22457
22549
23528
21696
22292
22604
21913
23251
22138
23018
21913
23035
22649
22269
22546
22446
22351
22573
...

output:

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

result:

ok correct

Test #47:

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

input:

10000
90000
23151
21781
23105
21839
22940
22124
22698
22204
22529
22357
22575
22371
22185
22483
22021
22839
23243
21737
22672
22498
22100
22732
22792
22130
22602
22436
23201
21795
22387
22681
22317
22679
23295
21831
22164
22894
22064
23068
22054
22694
21929
22973
22297
22729
22421
22617
22152
23008
...

output:

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

result:

ok correct

Test #48:

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

input:

10000
90000
23232
21742
22626
22200
22747
22191
22800
22060
22667
22167
22560
22484
22512
22614
22260
22846
22862
21722
22903
22361
22212
22518
22675
22343
22648
22410
23096
21648
22732
22364
22395
22415
23300
21598
22114
22932
21964
23066
22523
22607
21850
23050
22273
22723
22415
22355
22120
22848
...

output:

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

result:

ok correct

Test #49:

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

input:

10000
90000
23288
21594
22614
22312
22658
22464
22984
22146
22742
22158
22475
22535
22345
22795
22331
22685
23289
21787
22483
22453
22405
22479
22832
22176
22593
22171
23378
21672
22599
22435
22243
22783
23132
21928
22051
22793
21882
23100
22297
22747
21991
23083
22519
22703
22610
22212
22344
22642
...

output:

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

result:

ok correct

Test #50:

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

input:

10000
90000
23266
21646
22576
22294
22848
22094
22749
22299
22849
22423
22484
22384
22653
22179
22279
22989
23357
21799
22843
22143
22370
22534
22871
22167
22585
22561
23324
21810
22570
22612
22421
22611
23475
21659
21968
22944
22003
23035
21991
22763
21923
23155
22784
22416
22582
22368
22486
22508
...

output:

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

result:

ok correct

Test #51:

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

input:

10000
90000
23190
21812
22807
22221
22744
22248
22804
22282
22777
22403
22488
22558
22565
22611
22368
22634
23488
21768
22793
22575
22317
22671
22741
22233
22423
22457
23236
21658
22633
22423
22351
22429
23100
21814
22135
22787
21859
22933
22194
22950
22069
23007
22562
22624
22513
22529
22552
22442
...

output:

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

result:

ok correct

Test #52:

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

input:

10000
90000
23395
21849
22883
22151
22622
22388
22715
22173
22793
22481
22460
22494
22213
22593
22294
22680
23361
21657
22550
22330
22463
22769
22595
22261
22726
22210
23080
21978
22574
22426
22388
22726
23454
21634
22543
22611
22137
22977
22250
22832
22188
22874
22113
22601
22674
22444
22590
22464
...

output:

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

result:

ok correct

Test #53:

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

input:

10000
90000
23308
21848
22804
22288
22544
22580
22675
22497
22560
22252
22564
22506
22386
22608
22144
22766
23176
21834
22881
22423
22343
22859
23103
21677
22862
22198
23176
21924
22467
22363
22263
22757
23599
21535
22189
22853
22038
23084
22169
22785
22021
22821
22264
22702
22722
22310
22328
22760
...

output:

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

result:

ok correct

Test #54:

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

input:

10000
90000
23141
21683
22694
22198
22301
22511
22926
22002
22318
22552
22389
22819
22476
22796
22455
22577
23527
21553
22967
21911
22544
22634
22484
22258
22917
22181
23492
21636
22247
22385
22172
22766
23328
21596
22517
22531
22157
22949
22335
22409
22183
22931
22398
22566
22707
22339
22239
22455
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
23377
21787
22660
22218
22657
22589
22655
22225
22685
22487
22163
22677
22409
22673
22292
22674
23491
21831
22805
22311
21862
22866
22796
22360
22535
22305
23377
21923
22535
22165
22113
22801
23452
21644
22286
22722
21940
23298
22349
22881
22027
22865
22523
22569
22787
22369
22290
22912
...

output:

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

result:

ok correct

Test #56:

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

input:

10000
90000
23643
21455
22560
22460
22468
22310
22565
22223
22754
22236
22577
22479
22406
22720
22303
22707
22818
21898
22756
22172
22436
22554
22370
22668
22811
22579
23569
21609
22125
22765
22217
22761
23160
21818
22308
22830
22068
23118
22278
22596
22429
22617
22457
22651
22617
22449
22453
22587
...

output:

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

result:

ok correct

Test #57:

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

input:

10000
90000
23187
21971
22780
22104
22678
22312
22493
22281
22544
22356
22392
22482
22239
22765
22156
22786
23420
21550
22598
22548
22127
22821
22878
22334
22648
22166
23485
21613
22658
22474
22225
22617
23366
21726
22292
22848
21975
22967
22092
22682
21931
23003
22233
22217
22559
22553
22458
22294
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
23290
21776
22901
22265
22722
22210
22902
22288
22488
22264
22537
22265
22268
22584
21700
23110
23206
21720
22597
22261
22122
22886
22361
22575
22471
22403
23008
21986
22731
22321
22341
22895
23536
21494
22135
22701
21949
23023
22269
22641
22300
23106
22552
22442
22553
22431
22242
22700
...

output:

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

result:

ok correct

Test #59:

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

input:

10000
90000
23285
21551
22535
22713
22836
22250
22796
22332
22537
22267
22547
22321
22642
22512
22223
22851
23221
22067
22675
22337
22435
22703
22839
22291
22609
22185
23243
21681
22444
22550
22356
22522
23516
21620
22269
22821
22036
22986
22334
22524
21685
23361
22711
22127
22454
22488
22574
22550
...

output:

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

result:

ok correct

Test #60:

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

input:

10000
90000
23316
21598
23134
22026
22732
22440
22831
22431
22652
22124
22400
22744
22475
22609
22044
22872
23197
21547
22880
22188
22134
22814
22566
22364
22600
22416
23425
21579
22749
22319
22202
22750
23031
21827
22259
22973
21782
23252
22174
22778
22183
22979
22469
22729
22578
22426
22253
22735
...

output:

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

result:

ok correct

Test #61:

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

input:

10000
90000
22942
21712
22672
22570
22653
22267
22498
22348
22557
22375
22489
22615
22697
22379
22417
22951
23286
21886
22802
22166
22270
22594
22774
22070
22957
22089
23112
21942
22376
22596
22437
22635
23421
21791
22147
22891
21950
23206
22640
22454
22083
22961
22747
22251
22572
22198
22327
22507
...

output:

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

result:

ok correct

Test #62:

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

input:

10000
90000
23379
21401
22805
22165
22587
22365
22544
22380
22638
22274
22550
22520
22410
22626
22168
22832
23200
21734
22454
22238
22122
22748
22644
22552
22596
22432
23110
22014
22805
22381
22377
22467
23414
21504
22311
22735
21983
23039
22398
22712
22130
22952
22401
22501
22745
22543
22258
22684
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
23171
21885
22836
22628
22806
22300
22966
22232
22659
22291
22396
22548
22348
22702
22299
22821
23211
21567
22939
22063
22175
22923
23003
22359
22800
22104
23222
21714
22571
22385
21946
22960
23332
21642
21978
22744
21944
23194
22370
22600
21976
22926
22281
22561
22516
22726
22106
22810
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
23144
21702
22521
22357
22338
22686
23119
21991
22762
22436
22493
22555
22173
22877
22281
22823
23247
21813
22586
22510
22503
22535
22712
22216
22734
22114
23295
21723
22373
22249
22340
22606
23563
21601
22082
22790
21870
23020
22456
22682
22127
22783
22278
22710
22381
22631
22384
22506
...

output:

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

result:

ok correct

Test #65:

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

input:

10000
90000
23279
21773
23028
22080
22511
22783
22746
22408
22703
22225
22106
22832
22259
22391
22194
22992
23353
21557
22757
22183
22160
22782
22710
22246
22827
22329
23317
21523
22687
22039
22254
22800
23538
21426
22129
22825
22303
23031
22442
22680
21950
22996
22245
22645
22466
22452
22452
22612
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
23170
21784
23033
22111
22623
22467
22660
22306
22761
22301
22387
22427
22375
22683
22124
22928
23363
21903
22830
22282
22532
22704
22748
22292
22551
22447
23265
21717
22555
22461
22173
22681
23338
21380
22230
22502
21856
23220
22064
23010
22052
22900
22308
22686
22292
22592
22525
22365
...

output:

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

result:

ok correct

Test #67:

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

input:

10000
90000
23320
21710
22609
22509
22552
22534
23000
22374
23133
22041
22416
22532
22331
22807
22127
22771
23118
21666
22658
22278
21989
22931
22787
22107
22573
22431
23305
21833
22541
22137
22305
22685
23276
21720
22335
22879
21974
23082
22171
22989
21993
22833
22594
22556
22603
22251
22542
22638
...

output:

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

result:

ok correct

Test #68:

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

input:

10000
90000
23305
21767
22875
22269
22769
22415
22741
22183
22746
22386
22907
22211
22421
22335
22374
22628
23245
21651
22670
22230
22160
22686
22831
22273
22713
22371
23404
21542
22625
22351
22346
22478
23413
21777
22166
22586
21783
23005
22058
23002
22199
22751
22518
22512
22377
22765
22611
22451
...

output:

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

result:

ok correct

Test #69:

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

input:

10000
90000
23285
21809
22589
22241
22257
22735
22905
21977
22501
22317
22488
22442
22412
22452
22401
22571
23395
21841
22796
22448
22304
22782
22681
22357
22417
22433
23161
21667
22332
22534
22248
22744
22949
21969
22249
22477
21881
23065
22574
22660
22120
22798
22239
22895
22466
22400
22385
22709
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
23307
21791
22729
22305
22665
22269
22751
22197
22482
22254
22542
22546
22384
22474
22199
22775
23124
21536
22715
22261
22395
22581
22751
22003
22393
22545
23110
21852
22313
22595
22548
22560
23316
21686
22076
22542
22054
23050
22317
22973
22295
22933
22357
22865
22345
22351
22338
22890
...

output:

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

result:

ok correct

Test #71:

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

input:

10000
90000
23258
21774
22593
22127
23046
22084
22632
22312
22757
22431
22537
22361
22506
22506
22176
23002
23204
21814
22631
22239
22255
22967
22496
22272
22431
22541
23375
21871
22322
22626
22351
22885
23477
21615
21992
23076
21729
23321
22285
22575
22222
22810
22453
22599
22435
22449
22437
22467
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
23353
21903
22544
22438
22680
22376
22548
22236
22861
22345
22400
22450
22316
22842
22304
22808
23241
21877
22666
22458
22412
22870
22913
22049
22557
22523
23025
21883
22730
22580
22525
22603
23113
21691
22109
22737
22058
23096
22082
22876
22162
22850
22740
22572
22948
22434
22461
22441
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
23140
21656

output:

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

result:

ok correct

Test #74:

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

input:

10000
89999
23396
21507
22789
22168
22536
22454

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22919
21782
23114
22146

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
23458
21603
22973
22190
22511
22282
22780
22146

output:

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

result:

ok correct

Test #77:

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

input:

10000
89999
23371
21529

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
23077
21725

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
23038
22072

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
23301
21484
22637
22308
22573
22577

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
23375
21660
22595
22461

output:

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

result:

ok correct

Test #82:

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

input:

10000
89999
23408
21851
22864
22163
22966
22121
22600
22478

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
23332
21665
22689
22268
22534
22439
22845
22181

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
23164
21856

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
23399
21701

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
23299
21814
22659
22366
22855
22122
22860
21958

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
23286
21943
22817
22143

output:

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

result:

ok correct

Test #88:

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

input:

10000
89999
23090
21652

output:

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

result:

ok correct

Test #89:

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

input:

10000
89999
23072
21807
22893
22294
22706
22027
22702
22311
22608
22486

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
23267
21777

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
23153
21840
22963
22128
22501
22599

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
23114
21968

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
23152
21843
22574
22437
22360
22559
22850
22314

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
23440
21728

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
23193
21491

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
23435
21580
22693
22221

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
23151
21780
23105
21839

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
23232
21742

output:

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

result:

ok correct

Test #99:

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

input:

10000
89999
23288
21594

output:

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

result:

ok correct

Test #100:

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

input:

10000
89999
23266
21645
22576
22293
22848
22094

output:

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

result:

ok correct

Test #101:

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

input:

10000
89999
23190
21811
22807
22220
22744
22248

output:

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

result:

ok correct

Test #102:

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

input:

10000
89999
23394
21849
22883
22151

output:

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

result:

ok correct

Test #103:

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

input:

10000
89999
23308
21848

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
23140
21683
22694
22198

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
23377
21786
22659
22218
22657
22589

output:

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

result:

ok correct

Test #106:

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

input:

10000
89999
23643
21455

output:

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

result:

ok correct

Test #107:

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

input:

10000
89999
23186
21971
22780
22104

output:

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

result:

ok correct

Test #108:

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

input:

10000
89999
23290
21775
22900
22265
22722
22210

output:

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

result:

ok correct

Test #109:

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

input:

10000
89999
23285
21551

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
23316
21597
23133
22026
22732
22440

output:

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

result:

ok correct

Test #111:

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

input:

10000
89999
22942
21711
22672
22569
22653
22266
22497
22348
22556
22375
22489
22615

output:

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

result:

ok correct

Test #112:

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

input:

10000
89999
23378
21401
22804
22165
22587
22364
22543
22380
22638
22274

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
23171
21885

output:

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

result:

ok correct

Test #114:

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

input:

10000
89999
23143
21702
22520
22357
22337
22686
23119
21991

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
23278
21773
23028
22080

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
23169
21784
23033
22111

output:

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

result:

ok correct

Test #117:

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

input:

10000
89999
23320
21710

output:

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

result:

ok correct

Test #118:

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

input:

10000
89999
23305
21767

output:

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

result:

ok correct

Test #119:

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

input:

10000
89999
23285
21809

output:

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

result:

ok correct

Test #120:

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

input:

10000
89999
23307
21790
22729
22304
22665
22269

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
23258
21773
22593
22127

output:

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

result:

ok correct

Test #122:

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

input:

10000
89999
23353
21903

output:

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

result:

ok correct