QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#49335#1834. Eulerian?CrysflyAC ✓45ms3772kbC++171.1kb2022-09-20 10:16:532022-09-20 10:16:54

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-09-20 10:16:54]
  • 评测
  • 测评结果:AC
  • 用时:45ms
  • 内存:3772kb
  • [2022-09-20 10:16:53]
  • 提交

answer

// what is matter? never mind. 
#include<bits/stdc++.h>
#define For(i,a,b) for(int i=(a);i<=(b);++i)
#define Rep(i,a,b) for(int i=(a);i>=(b);--i)
//#define int long long 
using namespace std;
inline int read()
{
	char c=getchar();int x=0;bool f=0;
	for(;!isdigit(c);c=getchar())f^=!(c^45);
	for(;isdigit(c);c=getchar())x=(x<<1)+(x<<3)+(c^48);
	if(f)x=-x;return x;
}

#define fi first
#define se second
#define pb push_back
#define mkp make_pair
typedef pair<int,int>pii;
typedef vector<int>vi;

#define maxn 500005
#define inf 0x3f3f3f3f

int n,a[maxn];
mt19937 rnd(19890535);

signed main()
{
	cin>>n;
	cout<<"? "<<n;
	For(i,1,n)cout<<" "<<i;cout<<endl;
	int alls;cin>>alls;
	For(_,1,29){
		int cnt=0,s1=0,s2=0;
		for(int i=0;i<n;i+=32){
			unsigned x=rnd();
			for(int j=0;j<32&&i+j<n;++j)cnt+=a[i+j]=x>>j&1;
		}
		cout<<"? "<<cnt;
		For(i,0,n-1)if(a[i])cout<<" "<<i+1;
		cout<<endl;
		cin>>s1;
		cout<<"? "<<n-cnt;
		For(i,0,n-1)if(!a[i])cout<<" "<<i+1;
		cout<<endl;
		cin>>s2;
		if((alls-s1-s2)%2){
			cout<<"! NO";
			cout<<endl;
			exit(0);
		}
	}
	cout<<"! YES"<<endl;
	return 0;
}

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 3432kb

input:

3
2
0
0
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
0
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
1
5
1
1
3
1
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
3
3

output:

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

result:

ok correct

Test #8:

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

input:

100
100
28
17

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

input:

100
256
60
58
77
63
60
69

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

input:

1000
1488
356
401

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

input:

1000
11488
2708
3059

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

input:

10000
100000
24340
25630
25070
24813

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

input:

10000
99999
24394
25564

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

input:

10
10
2
2
4
0
1
3
1
5
4
2
0
2
4
2
4
0
5
3
4
4
3
1
2
2
0
2
2
4
2
4
1
5
5
1
2
4
5
1
1
1
4
2
1
5
2
2
1
3
1
3
4
0
0
2
2
4
4
2

output:

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

result:

ok correct

Test #15:

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

input:

100
100
24
24
26
22
23
25
19
37
25
23
27
23
27
25
12
32
29
25
33
21
22
28
20
34
27
19
14
30
19
33
25
25
24
32
26
22
30
18
19
23
24
26
19
25
25
27
27
25
27
31
19
29
26
36
31
23
12
30

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: 9ms
memory: 3500kb

input:

1000
1000
241
275
244
240
244
252
222
262
259
257
234
256
234
246
272
232
270
236
222
296
247
239
253
267
250
258
258
240
275
247
280
252
244
236
244
262
244
230
263
251
262
240
252
228
258
218
247
259
253
249
249
245
228
282
228
266
242
218

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: 35ms
memory: 3600kb

input:

10000
10000
2422
2540
2486
2440
2536
2490
2432
2544
2566
2490
2434
2494
2630
2406
2464
2588
2502
2394
2501
2573
2509
2497
2538
2464
2526
2490
2474
2564
2549
2527
2531
2481
2474
2544
2522
2514
2456
2480
2460
2510
2549
2463
2450
2526
2472
2504
2602
2420
2520
2450
2508
2596
2532
2462
2542
2510
2575
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: 43ms
memory: 3564kb

input:

10000
10000
2469
2587
2516
2470
2517
2471
2403
2515
2529
2453
2479
2539
2616
2392
2467
2591
2565
2457
2461
2533
2527
2515
2578
2504
2508
2472
2363
2453
2512
2490
2572
2522
2449
2519
2485
2477
2493
2517
2456
2506
2510
2424
2441
2517
2476
2508
2610
2428
2482
2412
2471
2559
2500
2430
2516
2484
2542
2402

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: 26ms
memory: 3476kb

input:

10000
10000
2427
2545
2531
2485
2538
2492
2425
2537
2508
2432
2439
2499
2664
2440
2448
2572
2547
2439
2442
2514
2508
2496
2535
2461
2537
2501
2418
2508
2490
2468
2541
2491
2441
2511
2493
2485
2484
2508
2490
2540
2557
2471
2471
2547
2479
2511
2598
2416
2540
2470
2446
2534
2535
2465
2495
2463
2564
2424

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

input:

100
200
42
54
48
42
47
47
38
68
51
43
62
46
50
42
32
80
57
45
66
40
41
53
41
71
49
37
38
66
37
57
58
48
32
50
54
40
66
36
33
55
42
52
44
76
42
52
49
55
36
46
46
62
41
53
56
54
37
67

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

input:

1000
2000
466
532
495
487
516
492
465
537
521
471
512
518
493
507
528
482
532
464
424
600
513
501
475
519
489
497
501
471
554
476
564
456
506
488
482
504
512
510
525
495
506
492
522
470
570
466
460
494
505
491
495
513
475
517
472
532
573
467

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: 8ms
memory: 3552kb

input:

1000
11000
2583
2939
2788
2798
2727
2761
2494
2884
2839
2723
2553
2893
2711
2733
3017
2571
2917
2589
2334
3162
2810
2706
2620
2846
2732
2732
2856
2610
2836
2726
2957
2573
2802
2708
2615
2851
2850
2622
2807
2733
2989
2563
2917
2595
3024
2524
2641
2761
2748
2758
2832
2718
2527
2999
2439
3057
2916
2554

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: 35ms
memory: 3576kb

input:

10000
90000
21805
23089
22593
22213
22715
22133
21983
22797
23020
22192
22257
22695
23720
21360
22008
22980
22949
22141
21643
23095
22356
22640
22706
22270
22926
22120
21858
23008
22419
22507
22952
22384
22170
22928
22522
22350
22348
22942
22104
22698
23069
22077
21903
23069
22730
22458
23516
21412
...

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: 28ms
memory: 3616kb

input:

10000
90000
21878
22946
22802
22254
22810
22164
21843
23139
22929
22203
22332
22884
23657
21535
21805
23267
22919
22103
22073
22941
22582
22350
22816
22096
22452
22462
22271
22797
22827
22341
22784
22206
22261
22743
22478
22676
22279
22821
22347
22719
23047
22077
22199
22683
22400
22822
23477
21669
...

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: 36ms
memory: 3560kb

input:

10000
90000
21915
23027
22786
22118
22673
22203
22030
22760
22700
22482
22382
22638
23583
21267
21982
23108
23372
21680
22327
23009
22442
22566
22952
22182
22993
22047
22194
22854
22407
22271
22942
22312
22140
22990
22350
22524
22299
22815
22531
22607
22731
22173
22092
22692
22576
22546
23582
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 #26:

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

input:

10000
90000
21977
23025
22784
22460
22711
22323
21843
23209
22625
22299
22018
22740
23752
21232
21957
23031
22863
22177
21901
22881
22126
22532
22824
22006
22819
22517
22324
22622
22622
22556
22748
22222
22354
22902
22800
22072
22366
22552
22191
22783
23007
22323
21810
22964
22637
22653
23334
21708
...

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: 23ms
memory: 3612kb

input:

10000
90000
22075
23057
22641
22483
22702
22420
22287
22945
22746
22246
21898
22866
23537
21443
22081
22953
22906
22006
22183
23129
22475
22451
22859
22129
22776
22158
21984
23162
22754
22628
22383
22685
22382
22864
22751
22321
22251
22799
22265
22551
23008
21994
22102
22750
22380
22740
23375
21703
...

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

input:

10000
90000
21949
23351
22805
22163
22732
22178
22020
23164
22990
22046
22270
22728
23432
21508
22111
23007
23035
21899
22193
22731
22551
22245
22585
22525
22762
22300
22040
22766
22285
22565
22686
22140
22213
22781
22543
22325
22336
22704
22555
22437
23182
21934
21993
22697
22369
22599
23844
21320
...

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: 18ms
memory: 3564kb

input:

10000
90000
21963
23151
22583
22445
22771
21993
21991
22803
22713
21959
22264
22750
23566
21454
21969
23199
23000
21978
22168
22710
22391
22663
22706
22194
22787
22055
22171
22975
22780
22372
22658
22444
21999
22659
22659
22291
22567
22517
22219
22757
23047
21981
22425
22463
22466
22452
23421
21931
...

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: 34ms
memory: 3600kb

input:

10000
90000
21664
23272
22659
22493
22626
22194
21824
23260
22857
22199
22000
22878
23469
21717
22035
22981
22840
22044
22085
22667
22669
22051
22918
21960
22811
22227
22065
22931
22660
22694
23017
22167
22151
22703
22323
22765
22457
22449
22162
22800
23174
21882
22228
22924
22397
22567
23297
21881
...

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: 40ms
memory: 3708kb

input:

10000
90000
21993
23135
22676
22378
22733
22271
22159
22923
22968
22332
22306
22604
23383
21537
21904
22918
22777
22155
22299
22561
22599
22489
22776
22084
22587
22283
22317
22781
22491
22495
22665
22277
22576
22532
22735
22357
22314
22748
22271
22827
22946
22164
22290
22688
22498
22594
23160
21760
...

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: 41ms
memory: 3476kb

input:

10000
90000
22093
22851
22440
22238
22704
22400
22181
22969
22735
22169
22345
22797
23644
21344
21970
23228
22937
22049
22162
22720
22550
22444
22801
22321
22989
22295
22220
22830
22194
22572
22569
22493
22000
22774
22442
22704
22522
22456
22154
22914
22727
22089
22470
22626
22374
22816
23600
21578
...

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: 37ms
memory: 3564kb

input:

10000
90000
21931
23281
22661
22329
22703
22319
21741
22903
22913
22041
22423
22649
23534
21536
21741
23157
22923
22057
22239
22757
22424
22764
22920
22100
22323
22395
22081
22861
22436
22316
22886
22316
22013
22817
22464
22240
22055
22865
22071
22795
22857
22227
22046
22616
22250
22700
23056
21762
...

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: 34ms
memory: 3616kb

input:

10000
90000
22058
23192
22865
22045
22664
22096
21868
23080
23003
22179
22395
22553
23482
21606
21832
23116
22989
22015
22201
22831
22654
22296
23022
21930
22613
22287
22023
23093
22542
22488
22642
22232
22281
22643
22753
22339
22353
22473
22280
22828
22860
22134
22269
22789
22285
22635
23089
21881
...

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: 27ms
memory: 3596kb

input:

10000
90000
21854
22932
22857
22219
22757
22265
22181
23071
22720
22318
22057
22883
23456
21518
21928
23152
23023
21967
22071
22921
22357
22493
22999
22099
22558
22198
21908
23066
22638
22360
22579
22335
22438
22766
22496
22444
22225
22799
22439
22559
22929
22289
22452
22618
22750
22590
23575
21541
...

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: 28ms
memory: 3476kb

input:

10000
90000
22178
22782
22583
22317
22854
22292
22213
22973
22461
22277
22383
22701
23545
21581
22264
22826
23039
22273
21930
23064
22385
22263
22804
22212
22494
22392
22312
22714
22419
22455
22711
22551
22197
22659
22424
22584
22387
22647
22239
22841
22981
22111
22210
22742
22479
22479
23278
21736
...

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: 23ms
memory: 3616kb

input:

10000
90000
22003
22911
22780
22340
22792
22154
22033
23027
22725
22287
22425
22617
23648
21434
22054
22866
22974
22074
22086
22678
22626
22346
22818
22346
22642
22404
22394
22640
22775
22285
23050
22078
22370
22674
22013
22621
22196
22812
22063
22455
23047
22035
22309
22609
22404
22646
23329
21745
...

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: 39ms
memory: 3680kb

input:

10000
90000
22033
23041
22948
22008
22584
22086
21942
22964
22706
22202
22275
22921
23411
21567
21797
23027
22843
21733
22093
22859
22711
22489
23022
21832
23024
21780
21910
22786
22580
22382
23068
21980
22223
22861
22709
22495
22358
22730
22339
22589
23037
22201
22096
23100
22353
22649
23526
21604
...

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: 28ms
memory: 3668kb

input:

10000
90000
22411
22743
22806
22326
22820
22136
22068
23128
22797
22147
22310
22842
23474
21732
22068
22932
22981
21903
22204
22636
22728
22334
22748
22294
22779
22219
22129
22801
22601
22497
22699
22003
22022
23076
22534
22446
22516
22744
22490
22428
22934
22172
21966
22954
22171
22459
23108
21682
...

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: 33ms
memory: 3536kb

input:

10000
90000
22001
23009
22733
22317
22790
22244
22044
22976
22888
22286
22287
22567
23353
21573
21913
22899
23135
22079
22139
23033
22557
22493
22869
22039
22875
22347
21925
23139
23090
22042
22701
22255
22163
22775
22529
22267
22318
22494
22327
22517
22941
22215
22185
22783
22651
22483
23526
21450
...

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: 30ms
memory: 3600kb

input:

10000
90000
22102
22848
22553
22215
22842
22390
21793
23141
23052
22208
22180
22710
23693
21297
22059
23097
22885
22153
22220
22772
22426
22628
22947
22109
22815
22233
22153
22917
22340
22632
22754
22270
22101
22923
22420
22542
22661
22231
22293
22807
23043
21887
22220
22776
22349
22645
23284
21604
...

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: 43ms
memory: 3588kb

input:

10000
90000
21666
23254
22545
22057
22542
22492
22420
22692
22874
22156
22392
22558
23534
21576
21871
22927
22828
22088
22408
22678
22464
22688
22791
22257
22572
22496
22113
22453
22689
22319
22539
22227
22197
22869
22527
22535
22159
22761
22114
22836
23012
22070
22361
22957
22256
22806
23415
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 #43:

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

input:

10000
90000
21821
23047
22743
22477
22569
22275
21935
22895
22635
22059
22122
22964
23940
21542
21944
23008
23090
22150
22348
22664
22576
22384
22953
22033
22492
22358
22249
22561
22712
22348
22702
22304
21883
22973
22483
22473
22447
22763
22355
22561
22889
22139
21885
22817
22467
22617
23472
21778
...

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: 26ms
memory: 3712kb

input:

10000
90000
22198
22942
22519
22379
22396
22488
21781
23203
23088
22234
22158
22844
23833
21091
21977
23013
23092
21876
22063
22689
22514
22576
22853
22329
22541
22463
21945
22991
22749
22335
23017
22337
22156
23070
22377
22411
22762
22498
22356
22676
22882
21998
22149
22973
22398
22594
23362
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 #45:

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

input:

10000
90000
22259
22965
22526
22476
22434
22488
21752
22958
22889
22229
22156
22796
23453
21471
22025
22865
23009
22013
22149
22715
22335
22549
22986
22262
22669
22599
22160
23050
22598
22324
22530
22440
22352
22892
22621
22239
22373
22591
21779
23123
22650
22364
21980
23020
22489
22565
23410
21636
...

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: 37ms
memory: 3672kb

input:

10000
90000
22145
23099
22750
22314
22757
22485
21855
23065
22663
22209
22292
22816
23579
21527
21926
23054
22931
22265
22022
23040
22251
22807
22837
22147
22483
22281
22048
23036
22715
22425
22760
22386
22415
22869
22284
22800
22523
22167
22389
22603
22866
22152
22364
22752
22689
22529
23231
21721
...

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: 25ms
memory: 3600kb

input:

10000
90000
22190
22870
22772
22494
22950
22094
21834
22708
22897
22153
22279
23047
23031
21851
21892
23144
22899
22303
22248
22816
22684
22404
22703
22079
22963
22025
22387
22843
22658
22470
22905
22261
22338
23032
22628
22310
22369
22639
22284
22830
23008
22032
22363
22583
22076
22836
23574
21628
...

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: 31ms
memory: 3668kb

input:

10000
90000
22067
22995
22793
22267
22641
22295
21820
23010
22730
22198
22363
22989
23667
21311
22090
22814
22755
22239
22128
22962
22608
22540
22569
22279
22374
22698
22176
22716
22682
22276
22886
22102
22095
22825
22651
22465
22394
22404
22190
22706
22985
22047
22025
23001
22648
22502
23501
21569
...

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: 28ms
memory: 3712kb

input:

10000
90000
21871
22745
22450
22582
22717
22375
22019
22947
22609
22251
22366
22692
23400
21544
21973
22859
22947
21917
22126
22710
22736
22412
22741
22345
22477
22319
22231
22701
22632
22202
22459
22439
22138
22744
22565
22485
22419
22561
22514
22516
22922
22034
22213
22941
22342
22830
23119
21921
...

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: 35ms
memory: 3700kb

input:

10000
90000
22170
22910
22828
22336
22576
22468
21977
22795
22707
22301
22553
22213
23454
21626
21781
23143
22995
21911
22089
22905
22445
22565
22888
22104
22790
22292
21844
23044
22528
22464
22894
22090
22023
23003
22568
22510
22501
22467
22054
22804
22985
22071
22136
22922
22121
22553
23080
21636
...

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: 36ms
memory: 3616kb

input:

10000
90000
21711
23289
22502
22362
22820
22036
21890
23026
22947
22069
22194
22882
23460
21590
21883
23109
23074
22118
22257
22561
22770
22082
22458
22328
22981
22221
22038
22992
22615
22607
22454
22426
22102
22700
22520
22568
22375
22673
22323
22317
22785
22565
21928
22878
22534
22532
22997
22199
...

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: 39ms
memory: 3684kb

input:

10000
90000
21776
23032
22739
22159
22641
22273
22021
22915
22918
22086
22217
22741
23532
21510
21653
23321
22867
22067
22196
22658
22348
22430
22854
22246
22423
22631
22150
22754
22361
22635
22845
22307
22516
22720
22695
22451
22496
22446
22381
22655
22975
22181
22242
22842
22147
22887
23437
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 #53:

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

input:

10000
90000
21657
23149
22623
22227
22988
22346
22109
23129
23009
22047
22374
22666
23908
20910
21810
23114
23138
21850
22256
22662
22427
22439
22297
22417
22591
22457
22174
23082
22522
22502
22673
22387
22206
22866
22379
22399
22219
22481
22161
23025
22886
21934
22148
22516
22225
22611
23485
21465
...

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: 45ms
memory: 3540kb

input:

10000
90000
21882
22914
22924
22202
22895
22117
22083
23205
22864
22558
22242
22648
23572
21314
21845
23171
23122
21874
22141
23015
22625
22387
22952
21982
22711
22147
22029
22817
22676
22214
22701
22363
22206
22822
22462
22548
22554
22600
22296
22700
22917
22019
22300
22812
22265
22685
23618
21604
...

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: 35ms
memory: 3616kb

input:

10000
90000
22065
23075
22615
22329
22286
22408
21979
23003
22884
22138
22310
22658
23507
21635
22039
23137
23052
22106
22232
22772
22548
22314
22577
22323
22720
22294
21885
23111
22537
22301
22515
22499
22231
22917
22412
22558
22482
22714
22609
22663
23099
21955
21990
23164
22365
22563
23547
21679
...

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: 36ms
memory: 3708kb

input:

10000
90000
22010
23016
22547
22155
22896
22128
21907
23189
22923
22053
22416
22488
23561
21505
21864
22936
23068
22040
22357
22811
22633
22545
23180
21980
22904
22202
22076
23044
22593
22495
22648
22368
22299
22849
22713
22417
22345
22949
22273
22713
22848
21936
22307
22749
22724
22526
23244
21708
...

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: 43ms
memory: 3600kb

input:

10000
90000
22122
22766
22754
22450
22452
22480
22245
22687
22763
22265
22135
22667
23485
21511
22146
22702
22960
21942
21964
22936
22471
22453
22885
22107
22492
22274
22341
22713
22282
22490
22962
22414
22500
22500
22573
22465
22196
23018
22394
22658
23009
22005
22285
22565
22496
22514
23417
21667
...

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: 40ms
memory: 3592kb

input:

10000
90000
21934
22950
22528
22698
22677
22329
21911
23131
22604
22452
22152
22730
23255
21917
22037
22923
22892
21842
22151
23043
22381
22689
23014
22152
22557
22371
22150
22896
22589
22767
22585
22237
22274
22738
22772
22396
22258
22592
22262
22800
22818
22176
22177
22917
22655
22507
23322
21654
...

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: 39ms
memory: 3532kb

input:

10000
90000
21860
23216
22704
22296
22676
22122
22036
23062
23359
21825
22358
22532
23708
21116
22041
22999
23232
21796
22409
22615
22793
22387
22904
22352
22705
22261
22028
22788
22448
22452
22880
22226
22241
22651
22755
22357
22268
22778
22247
22887
22685
22233
22107
22999
22441
22607
23185
21873
...

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: 33ms
memory: 3596kb

input:

10000
90000
22252
22630
22545
22639
22622
22286
22305
22817
22939
22069
22289
22879
23486
21404
22114
23192
23029
21955
22344
22558
22338
22748
22728
22134
22642
22286
21948
22952
22781
22309
22655
22157
22154
22750
22370
22552
22244
22686
22108
22758
23088
22168
21925
23193
22316
22702
23138
21880
...

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: 22ms
memory: 3600kb

input:

10000
90000
22168
22808
22578
22132
22585
22263
21938
23138
23047
22221
22102
22772
23326
21352
21953
23097
22831
22103
21869
23033
22675
22437
22819
22025
22741
22423
22170
22728
22771
22273
22741
22301
22145
22529
22589
22391
22515
22353
22141
22937
22656
22146
22155
22837
22243
22707
23389
21785
...

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: 39ms
memory: 3672kb

input:

10000
90000
21911
23213
22430
22524
22712
22556
22259
22759
22817
21917
22207
22859
23377
21441
21834
23076
22988
22130
22344
22726
22463
22507
22986
22138
22780
22374
21721
23223
22825
22181
22724
22172
22266
22678
22516
22538
22232
22690
22085
22853
22973
22107
22141
22767
22395
22643
23709
21505
...

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: 27ms
memory: 3604kb

input:

10000
90000
21974
22844
22519
22539
22683
22349
22072
23118
22607
22415
22404
22700
23279
21467
21972
22964
23090
21976
22158
23026
22553
22415
22569
22363
22769
22043
21770
23222
22667
22485
22762
22170
22298
22648
22626
22414
22266
22516
22204
22660
22915
21993
22249
22897
22113
22703
23144
21720
...

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: 38ms
memory: 3592kb

input:

10000
90000
22044
23114
22624
22374
22438
22460
22097
22973
22873
21989
22330
22718
23662
21268
21754
23174
22816
22262
22469
22797
22475
22551
22868
22312
22806
22180
22056
22828
22695
22533
22819
22201
21956
23050
22385
22637
22258
22610
22349
22791
23178
21970
22293
22865
22125
22883
23130
21924
...

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: 37ms
memory: 3612kb

input:

10000
90000
21958
22948
22855
22207
22705
22191
21716
23344
22900
22026
22265
22793
23486
21390
21851
23129
22813
21995
22186
22672
22565
22335
22803
22189
22435
22567
22178
22696
22737
22331
22656
22172
21957
22651
22605
22267
22319
22633
22155
22747
22764
22226
22176
22772
22349
22705
23486
21298
...

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: 28ms
memory: 3612kb

input:

10000
90000
22123
22679
22686
22314
22810
22224
21905
23041
22633
22437
21859
22987
23780
21434
22077
22959
23283
21661
22078
23026
22704
22294
22789
22441
22363
22631
22152
22928
22669
22409
22828
22242
22294
22890
22149
22515
22399
22789
22103
23011
22830
22164
22297
22921
22420
22418
23627
21447
...

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: 41ms
memory: 3600kb

input:

10000
90000
22076
22748
22668
22372
23038
22202
22201
23235
22915
21889
22170
22872
23538
21506
21864
23050
22942
22268
22138
22792
22583
22461
22801
22085
22555
22439
22077
22973
22692
22404
22775
22133
22338
22588
22545
22751
22351
22373
22357
22797
22840
22392
22342
22556
22567
22507
23400
21444
...

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: 32ms
memory: 3476kb

input:

10000
90000
22065
22993
22679
22085
22853
22159
22026
22796
22809
22025
22106
22618
23478
21606
22088
22750
23278
21928
22088
22670
22494
22506
22745
22231
22591
22407
22197
22933
22614
22288
22874
22244
22128
22928
22459
22403
22266
22552
22270
22788
23100
21912
21923
23109
22357
22915
23542
21412
...

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: 44ms
memory: 3600kb

input:

10000
90000
21899
23179
22776
22046
22584
22302
22104
22914
22688
22196
22442
22648
23398
21460
22032
22934
22963
22105
22103
22911
22560
22644
22705
22045
22824
22490
22171
22815
22499
22491
22603
22465
22145
22871
22561
22545
22366
22714
22196
22826
23335
21959
22322
22760
22386
22596
23293
21971
...

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: 22ms
memory: 3600kb

input:

10000
90000
21469
23485
22655
22127
23026
22340
21947
23069
22977
21919
22183
23041
23785
21305
21934
23008
22886
21914
21880
22886
22364
22800
22766
22312
22738
22262
21797
23005
22579
22409
22719
22027
22040
23058
22630
22456
22199
22863
22194
23012
22764
22220
22306
22584
22500
22556
23481
21673
...

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: 36ms
memory: 3536kb

input:

10000
90000
21863
23325
22496
22464
22793
22369
21892
22698
22955
22271
22358
22404
23334
21558
22105
23109
22878
22156
22132
22684
22823
22289
22447
22571
22788
22434
22224
22934
22670
22386
22850
22138
22186
23060
22731
22365
22435
22619
22156
22722
22700
22308
22313
22495
22620
22470
23508
21746
...

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: 39ms
memory: 3596kb

input:

10000
90000
22170
23048
22749
22021
22922
22022
21902
23262
22728
21968
22425
22567
23427
21593
21947
23065
22894
22212
22158
22816
22474
22360
22549
22275
22528
22372
22284
22454
22926
22108
22775
22293
22048
22942
22665
22447
22576
22362
22339
22665
22983
22303
22354
22846
22391
22653
23096
21808
...

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

input:

10000
89999
21805
23089

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: 11ms
memory: 3536kb

input:

10000
89999
21877
22946
22801
22254
22809
22164
21843
23139

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

input:

10000
89999
21915
23027

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

input:

10000
89999
21977
23025

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

input:

10000
89999
22075
23057

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

input:

10000
89999
21949
23350
22805
22163

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

input:

10000
89999
21963
23151

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: 9ms
memory: 3612kb

input:

10000
89999
21664
23271
22659
22492
22626
22194

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

input:

10000
89999
21992
23135
22675
22378
22732
22271
22159
22923

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

input:

10000
89999
22093
22851

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

input:

10000
89999
21931
23280
22661
22329

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

input:

10000
89999
22058
23192

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

input:

10000
89999
21854
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 #86:

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

input:

10000
89999
22178
22782

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

input:

10000
89999
22003
22911

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

input:

10000
89999
22032
23041
22948
22008

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

input:

10000
89999
22410
22743
22806
22326

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

input:

10000
89999
22001
23008
22732
22317
22790
22244

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

input:

10000
89999
22102
22847
22553
22215

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

input:

10000
89999
21665
23254
22545
22057

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

input:

10000
89999
21821
23047

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

input:

10000
89999
22198
22941
22519
22379

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

input:

10000
89999
22259
22965

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

input:

10000
89999
22145
23098
22749
22314
22757
22485

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

input:

10000
89999
22189
22870
22772
22494

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

input:

10000
89999
22066
22995
22793
22266
22641
22294
21820
23010

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

input:

10000
89999
21871
22745

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

input:

10000
89999
22170
22909
22828
22336

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: 9ms
memory: 3700kb

input:

10000
89999
21710
23289
22502
22361
22820
22036

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: 8ms
memory: 3476kb

input:

10000
89999
21775
23032
22739
22159

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

input:

10000
89999
21657
23149

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: 9ms
memory: 3708kb

input:

10000
89999
21881
22914
22923
22202
22895
22116
22083
23205

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

input:

10000
89999
22065
23075

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

input:

10000
89999
22010
23016

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

input:

10000
89999
22121
22766
22754
22450

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

input:

10000
89999
21933
22950
22528
22698

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

input:

10000
89999
21859
23216
22704
22296

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

input:

10000
89999
22252
22630

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: 8ms
memory: 3668kb

input:

10000
89999
22168
22807
22578
22132

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

input:

10000
89999
21910
23213
22430
22523
22712
22555
22258
22759
22816
21917
22207
22858
23377
21441

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

input:

10000
89999
21974
22844

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: 8ms
memory: 3600kb

input:

10000
89999
22044
23113
22624
22373
22438
22460

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

input:

10000
89999
21958
22947
22855
22206
22705
22190
21716
23344

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

input:

10000
89999
22123
22679

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: 8ms
memory: 3592kb

input:

10000
89999
22076
22747
22668
22371
23038
22202

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

input:

10000
89999
22064
22993
22679
22085

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

input:

10000
89999
21898
23179
22776
22045
22583
22302
22103
22914
22688
22196

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

input:

10000
89999
21469
23485

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

input:

10000
89999
21862
23325
22496
22463
22793
22369

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

input:

10000
89999
22170
23047
22749
22020
22922
22022

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