QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#279494#1834. Eulerian?zhaohaikunAC ✓34ms3736kbC++141.5kb2023-12-08 20:03:002023-12-08 20:03:00

Judging History

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

  • [2023-12-08 20:03:00]
  • 评测
  • 测评结果:AC
  • 用时:34ms
  • 内存:3736kb
  • [2023-12-08 20:03:00]
  • 提交

answer

// MagicDark
#include <bits/stdc++.h>
#define debug cerr << "[" << __LINE__ << "] "
#define SZ(x) (int) x.size() - 1
#define all(x) x.begin(), x.end()
#define ms(x, y) memset(x, y, sizeof x)
#define F(i, x, y) for (int i = (x); i <= (y); i++)
#define DF(i, x, y) for (int i = (x); i >= (y); i--)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
template <typename T> inline void chkmax(T& x, T y) {x = max(x, y);}
template <typename T> inline void chkmin(T& x, T y) {x = min(x, y);}
template <typename T> inline void read(T &x) {
	x = 0; int f = 1; char c = getchar();
	for (; !isdigit(c); c = getchar()) if (c == '-') f = -f;
	for (; isdigit(c); c = getchar()) x = (x << 1) + (x << 3) + (c ^ 48);
	x *= f;
}
mt19937 mrand(1211);//chrono::steady_clock::now().time_since_epoch().count());
inline int rnd(int l, int r) {return mrand() % (r - l + 1) + l;}
const int N = 1e4 + 10;
bool vis[N];
signed main() {
	int n; read(n);
	cout << "? " << n << ' ';
	F(i, 1, n) cout << i << ' '; cout << endl;
	int tot;
	cin >> tot;
	F(i, 1, 29) {
		vector <int> t;
		int s1 = 0;
		F(i, 1, n) s1 += vis[i] = rnd(0, 1);
		cout << "? " << n - s1 << ' ';
		F(i, 1, n)
			if (!vis[i]) cout << i << ' ';
		cout << endl;
		int ans1; cin >> ans1;
		cout << "? " << s1 << ' ';
		F(i, 1, n)
			if (vis[i]) cout << i << ' ';
		cout << endl;
		int ans2; cin >> ans2;
		if ((tot - ans1 - ans2) & 1) {
			cout << "! NO" << endl;
			return 0;
		}
	}
	cout << "! YES" << endl;
	return 0;
}
/* why?
*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
1
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
4
0
5

output:

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

result:

ok correct

Test #7:

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

input:

10
11
3
2
0
3
1
2
5
1

output:

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

result:

ok correct

Test #8:

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

input:

100
100
27
23
14
33

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

input:

100
256
59
63
48
80
80
54
80
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: 3584kb

input:

1000
1488
399
370

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

input:

1000
11488
3079
2692

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

input:

10000
100000
25773
24333
24498
25192
25008
24815

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

input:

10000
99999
25491
24336
24601
25254
25124
24897
24345
25780
25225
24720
25757
24242
24566
25613
25298
24612

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
28
26
17
31
29
21
28
20
25
27
22
30
24
24
25
17
27
19
27
19
32
16
34
24
27
23
23
31
24
20
24
26
21
31
26
26
16
28
32
20
24
24
34
18
27
17
26
18
12
42
25
31
25
25
26
24
28
26

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

input:

1000
1000
255
237
248
234
262
248
229
259
249
259
258
240
274
244
266
226
243
243
274
246
245
239
245
283
222
258
248
240
228
264
249
257
241
269
254
256
273
237
253
239
272
222
256
264
256
258
232
266
263
233
265
231
208
264
253
223
224
258

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

input:

10000
10000
2571
2449
2479
2563
2544
2520
2457
2575
2490
2476
2593
2445
2498
2574
2517
2505
2525
2509
2546
2474
2512
2490
2582
2408
2493
2465
2494
2520
2470
2506
2558
2394
2490
2534
2543
2455
2449
2549
2438
2484
2560
2402
2548
2460
2529
2481
2474
2582
2456
2540
2417
2621
2513
2491
2426
2530
2467
2595

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

input:

10000
10000
2602
2480
2427
2511
2520
2496
2453
2571
2499
2485
2559
2411
2476
2552
2508
2496
2495
2479
2545
2473
2521
2499
2550
2376
2495
2467
2481
2507
2502
2538
2568
2404
2532
2576
2567
2479
2430
2530
2486
2532
2558
2400
2565
2477
2525
2477
2450
2558
2483
2567
2408
2612
2541
2519
2464
2568
2435
2563

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

input:

10000
10000
2533
2411
2481
2565
2513
2489
2485
2603
2499
2485
2582
2434
2484
2560
2540
2528
2469
2453
2532
2460
2549
2527
2601
2427
2520
2492
2490
2516
2466
2502
2572
2408
2494
2538
2605
2517
2467
2567
2442
2488
2519
2361
2573
2485
2498
2450
2451
2559
2473
2557
2395
2599
2498
2476
2416
2520
2431
2559

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

input:

100
200
56
36
36
68
52
48
66
50
37
47
40
62
61
45
58
42
51
49
52
48
71
33
54
38
57
55
42
66
50
50
55
53
38
62
61
41
37
59
59
35
47
35
64
34
64
42
55
41
25
85
48
48
47
49
47
55
56
36

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

input:

1000
2000
502
466
542
462
490
492
468
538
510
516
548
464
500
464
524
488
466
530
542
450
483
545
454
502
488
532
532
498
472
558
476
520
479
531
476
506
536
486
515
497
587
403
508
512
520
504
488
536
523
487
513
495
459
539
540
450
463
523

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

input:

1000
11000
2893
2699
2805
2641
2844
2648
2627
2887
2736
2736
2843
2687
2950
2638
2939
2507
2824
2710
2908
2616
2766
2686
2514
3066
2612
2892
2757
2767
2561
2969
2657
2893
2611
2987
2763
2625
2953
2567
2901
2597
2966
2480
2725
2845
2819
2699
2569
2919
2956
2584
2907
2607
2541
3063
2993
2591
2637
2927

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

input:

10000
90000
22947
22121
22032
22894
22457
22391
22188
23002
22784
22230
23110
22082
22566
22552
22566
22570
22541
22659
22903
22197
22365
22485
23216
21706
22600
22362
22430
22692
22740
22488
23237
21777
22317
22663
22968
21944
22325
22967
22316
22722
23323
21717
22920
22194
23006
22130
22154
23074
...

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

input:

10000
90000
23340
21910
22199
22645
22605
22303
22059
23061
22807
22005
23064
21984
21953
22765
22490
22432
22640
22336
22915
22241
22395
22269
23299
21785
22577
22435
22344
22626
22216
22692
23288
21690
22106
22704
22665
22399
21962
22946
22447
22689
23148
21774
22924
22322
22837
22147
22476
22830
...

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

input:

10000
90000
23269
21755
22231
22821
22587
22443
22147
22937
22653
22173
23371
21813
22208
22718
22797
22301
22329
22481
22797
22121
22846
22186
23475
21511
22737
22197
22388
22582
22217
22745
23441
21759
22544
22524
22926
22188
22201
22851
22324
22694
23228
21842
22643
22401
22647
22101
21869
23019
...

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

input:

10000
90000
23007
21883
21958
22930
22587
22481
21746
23394
22529
22581
23106
21722
22101
22713
22642
22472
22575
22381
22563
22223
22608
22566
23013
22127
22512
22518
22200
22696
22142
22552
23018
21856
22654
22658
22776
21914
22180
23076
22479
22739
23129
21709
22855
22135
22709
22201
21878
22930
...

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

input:

10000
90000
23135
21695
22373
22701
22750
22272
22014
22630
22855
22007
23415
21793
22123
22823
22526
22590
22227
22687
23088
22080
22404
22726
23632
21512
22639
22507
22410
22736
22160
22804
23368
21736
22352
22884
22659
22479
21863
23017
22599
22525
22994
21852
22578
22422
22790
22060
21833
23291
...

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

input:

10000
90000
22925
21941
22261
22881
22644
22402
21920
23282
22551
22399
23178
22108
22238
22836
22691
22471
22716
22312
22729
22407
22569
22503
23246
21772
22708
22314
22519
22635
22358
22694
23506
21582
22381
22875
22931
22061
21874
23068
22280
22750
23143
21901
22716
22342
22576
22500
22039
22835
...

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

input:

10000
90000
22965
22115
22115
22809
22604
22320
22056
22920
22557
22525
23196
21706
22111
22673
22660
22322
22583
22499
22545
22379
22528
22520
23031
21837
22780
21914
22608
22424
22192
22832
23344
21912
22553
22559
23162
21784
21857
23177
22597
22507
23138
21972
23027
22039
22697
22315
22196
22940
...

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

input:

10000
90000
23232
21744
22097
22699
22539
22431
21840
22964
22326
22558
23264
21778
22281
22715
22437
22339
22558
22392
23010
21804
22518
22278
23266
21846
22565
22139
22539
22739
22689
22507
23286
21508
22039
22913
22690
22192
22090
22710
22190
22764
23138
21478
22870
22120
22649
22309
22161
22821
...

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

input:

10000
90000
22989
21837
22221
23121
22850
22056
21896
23148
22791
22173
23049
21929
22294
22626
22284
22534
22536
22256
23030
22028
22621
22559
23506
21614
22751
22323
22343
22853
22454
22718
23219
21761
22441
22593
23229
22131
21825
23005
22569
22595
23109
21775
23118
21802
22812
22032
21944
23106
...

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

input:

10000
90000
22883
22271
22161
22851
22606
22466
21934
22968
22400
22558
23132
21682
22198
22962
22723
22463
22697
22431
22717
22417
22329
22497
23011
21867
22481
22639
22169
22609
22322
22954
23351
21965
22267
22615
22758
21882
22138
23014
22218
22918
23154
22020
23063
22063
22879
22447
22140
22988
...

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

input:

10000
90000
23033
21903
21983
23009
22551
22521
21944
23024
22918
22198
23094
22014
22287
22639
22745
22367
22759
22271
22874
22332
22545
22263
23651
21395
22834
22286
22320
22626
22410
22556
23272
21870
22098
22826
22847
22069
21925
22855
22251
22559
23432
21722
22753
22429
22688
22232
21888
23006
...

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

input:

10000
90000
23106
22006
22107
22817
22588
22370
22308
23066
22484
22462
23097
21737
22153
22787
22756
22288
22526
22510
22968
21928
22682
22332
23362
21620
22409
22663
22403
22601
22283
22903
23038
21650
22160
22552
22983
21753
21779
23179
22565
22245
23150
21838
22949
22057
22568
22324
22277
23171
...

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

input:

10000
90000
23056
21638
22101
22789
22651
22383
21923
23251
22615
22215
23286
21850
22211
22621
22588
22564
22531
22391
22593
22083
22314
22590
23075
21729
22332
22886
22551
22543
22317
22539
23346
21714
22241
22753
23120
22122
21953
23245
22011
22907
23198
21842
22800
22150
22666
22320
21975
23117
...

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

input:

10000
90000
22717
22201
22432
22552
22497
22645
22194
23024
22255
22657
23230
21970
22120
22822
22418
22428
22586
22240
22531
22175
22728
22250
23333
21633
22474
22628
22216
22734
22404
22628
23389
21807
22315
22911
23007
21925
21893
23071
21887
22957
23087
21791
22867
22225
22986
22186
22070
23166
...

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

input:

10000
90000
22927
22133
21798
23012
22485
22719
22163
23075
22641
22475
23161
21881
22083
22869
22528
22206
22782
22314
23043
22033
22450
22522
23279
21571
22534
22448
22483
22687
22463
22673
23173
21909
22368
22512
23021
21987
22159
22943
22349
22821
23239
21795
22994
22032
22558
22126
21773
23067
...

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

input:

10000
90000
23012
21944
22060
22930
22582
22386
21981
23271
22275
22773
23160
21876
21999
22811
22747
22289
22300
22584
22539
22395
22596
22490
23265
21575
22813
22441
22303
22609
22504
22532
23138
21850
22196
22950
23181
21803
22037
23115
22180
22698
23124
21808
23018
21942
22662
22410
21735
23261
...

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

input:

10000
90000
22982
21888
21874
22878
22678
22522
21876
23228
22441
22423
23178
21952
22289
22975
22710
22470
22646
22426
22827
21987
22690
22234
23085
21957
22762
22172
22244
22838
22103
22757
23273
21699
22181
22581
23006
22094
22154
22924
22354
22730
22852
22034
23097
21681
22568
22328
22061
23039
...

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

input:

10000
90000
22727
21947
22118
22960
22564
22336
22205
22887
22437
22179
22995
22129
21971
22979
22621
22313
22885
22063
22742
22190
22473
22441
23459
21601
22611
21941
22467
22555
22189
22727
23090
21992
22170
22958
23195
22017
21943
23009
22129
23173
23074
21908
22968
22204
22711
22027
21846
23048
...

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

input:

10000
90000
23349
21911
21694
23210
22551
22435
21623
23305
22590
22460
23184
21614
22175
22721
22675
22417
22609
22393
23092
21812
22351
22581
23514
21602
22841
22251
22559
22731
22343
22603
23053
21841
22140
22620
22866
22282
22084
22896
22245
22777
23016
22076
23020
21988
22427
22479
21966
23028
...

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

input:

10000
90000
23130
21714
22124
22818
22443
22633
21967
23255
22472
22512
22819
22087
22157
22783
22548
22404
22627
22391
22865
21923
22466
22444
23161
22015
22666
22490
22610
22658
22392
22654
23140
21958
22228
22754
23026
21878
22035
22999
22233
22641
23216
21762
22705
22357
22760
22106
22071
22695
...

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

input:

10000
90000
23022
22074
22388
22422
22933
22275
22141
22885
22686
22142
23301
22253
21801
22891
22543
22499
22444
22678
22950
22204
22944
22146
23357
21713
22732
22076
22478
22640
22237
22687
23077
21777
22313
22851
22894
22130
21847
23217
22346
22824
23146
21860
23000
22052
22942
22298
21829
23137
...

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

input:

10000
90000
23166
21982
21956
23058
22420
22450
21986
23112
22493
22437
23010
21868
22078
23032
22816
22340
22598
22358
22551
22345
22435
22473
23342
21816
22558
22326
22041
22615
22436
22360
23097
21751
22341
22605
22964
22144
21937
23185
22677
22567
23158
21684
22840
22058
22768
22146
22214
22792
...

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

input:

10000
90000
23121
21863
21950
23132
22755
22429
21668
23414
22690
22278
22985
21977
22050
22906
22580
22524
22468
22410
22744
21998
22571
22549
23562
21682
22822
22266
22450
22684
22258
22870
23086
21668
22153
22875
22879
22253
22003
22871
22521
22755
23280
21998
22871
22147
22812
22154
21906
23036
...

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

input:

10000
90000
22996
21884
21776
23150
22646
22540
21971
22865
22503
22521
23510
21590
22417
22831
22330
22552
22452
22510
23064
22098
22642
22534
23290
21882
22640
22378
22386
22586
22172
22852
23161
21959
22172
22738
22857
21951
22008
22982
22531
22679
23099
22015
23189
22085
22841
22027
22075
22841
...

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

input:

10000
90000
23278
21852
21847
23019
22608
22466
22096
22888
22591
22173
22993
21767
22198
22872
23021
22025
22542
22544
22769
22343
22396
22378
23073
21659
22666
22526
22429
22613
22429
22771
23070
22052
22378
22620
23064
22066
21943
23147
22099
23183
23253
22003
22785
22221
22668
22080
21943
22747
...

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

input:

10000
90000
23270
21978
21828
22714
22732
22216
22004
23154
22659
22267
23057
21867
21946
22918
22330
22588
22544
22374
22991
22271
22623
22227
23118
21830
22605
22363
22238
22868
22162
22696
23557
21695
22247
22739
22976
21734
21943
23089
22314
22666
23307
21703
23119
22003
22582
22496
21950
22980
...

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

input:

10000
90000
23129
21811
21922
23108
22410
22360
21850
22996
22495
22545
23467
21587
22345
22919
22451
22317
22231
22815
22767
21983
22546
22362
23337
21741
22505
22381
22378
22364
22516
22496
23151
21561
22163
22905
23099
21975
22130
23146
22235
22713
23429
21621
23080
21866
22798
22102
21912
23066
...

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

input:

10000
90000
23191
22015
22082
22920
22544
22622
21984
23128
22588
22358
23443
21651
21827
22963
22515
22597
22855
22267
22795
22251
22257
22353
23114
21842
22459
22189
22578
22488
22283
22493
23350
21804
22393
22749
22802
22188
21608
23146
22397
22627
23013
21811
22904
22098
22622
22454
21950
22866
...

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

input:

10000
90000
22882
22072
22277
22549
22756
22290
21806
22964
22604
22342
23001
21957
21917
22909
22361
22657
22295
22649
22874
22078
22352
22594
23341
21563
22609
22451
22322
22544
22534
22428
23444
21578
22577
22491
22783
22087
22100
22992
22133
22877
22954
22072
23307
21977
22733
22407
21996
23046
...

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

input:

10000
90000
23234
21846
22003
22897
22450
22736
22298
22890
22586
22374
23081
21963
22275
22865
22684
22290
22632
22336
22983
22249
22719
22195
23266
21866
22689
22309
22459
22585
22726
22434
22977
21845
22180
22620
22702
22180
22328
22598
22210
22558
23713
21553
23025
22225
22313
22423
22079
22903
...

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

input:

10000
90000
22897
21959
22368
22956
23021
22063
22049
23161
22582
22596
23158
21872
22038
22828
22560
22314
22814
22182
22889
22225
22571
22393
23212
21790
22861
22049
22265
22759
22438
22664
23335
22033
22020
22826
22808
22146
22160
22892
22327
22753
23150
21982
23143
22009
22769
22107
21825
23041
...

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

input:

10000
90000
22981
21917
22032
22880
22764
22324
21982
23016
22552
22230
23361
21781
22169
22877
22511
22203
22435
22497
22672
22230
22428
22660
23055
21825
22731
22385
22272
22396
22360
22610
23138
21810
22521
22637
23005
21941
21985
23065
22327
22891
23123
21653
22732
22350
22800
22086
22045
22979
...

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

input:

10000
90000
23086
21688
22091
23071
22590
22372
21870
23190
22628
22440
23131
21735
21980
23052
22444
22480
22690
22228
23047
22287
22669
22435
23031
21857
22728
22166
22370
22486
22295
22591
22893
21855
22373
22865
23052
21956
21738
23040
22305
22503
23223
21971
22880
22056
22970
22150
21970
23078
...

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

input:

10000
90000
23128
21952
22233
22977
22462
22160
21925
22981
22521
22417
23029
21997
22251
22707
22710
22210
22372
22532
22822
22204
22505
22345
23070
21720
22535
22533
22309
22699
22731
22551
22878
21928
22136
22836
22834
22132
22218
22880
22205
22911
22964
21734
22941
22089
22935
22271
21933
23079
...

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

input:

10000
90000
23046
22022
22072
22724
22589
22277
21923
23225
22531
22567
23202
21762
22377
22807
22558
22192
22790
22362
23027
21903
22689
22271
23150
21876
22639
22283
22140
22794
22472
22706
23337
21259
22346
22642
22906
22032
22234
23106
22285
22683
23065
22173
23317
21745
22598
22394
22184
22800
...

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

input:

10000
90000
23231
21845
21958
22922
22338
22314
21942
22922
22490
22642
23091
21913
22223
22897
22492
22492
22547
22589
22449
22337
22562
22702
23386
21698
22713
22273
22464
22444
22344
22636
23301
21883
22258
22828
22720
22158
22168
23064
22481
22377
23159
21731
22622
22100
22680
22084
21976
23018
...

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

input:

10000
90000
22874
22192
22260
22672
22594
22438
21885
23031
22776
22284
23078
21710
22346
22562
22726
22360
22697
22269
22678
22122
22287
22533
23509
21627
22855
22293
22218
22550
22396
22794
23550
21392
22221
22961
23111
22227
22288
22806
22495
22389
23131
21935
22880
22066
22784
22138
22052
23058
...

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

input:

10000
90000
23051
22089
21845
23065
22424
22458
22029
22885
22621
22309
23448
21718
22300
22770
22844
22112
22513
22283
22847
22153
22698
22290
23384
21656
22534
22620
22204
22726
22194
22640
23120
21898
22456
22518
23040
21970
22198
22878
22388
22788
23328
21892
23155
22219
22675
22361
22015
22971
...

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

input:

10000
90000
23191
21683
22160
23002
22745
22279
21832
22970
22525
22391
23314
21872
22129
22829
22362
22592
22299
22367
22628
22296
22771
22453
23181
21647
22996
22258
22410
22580
22657
22683
23344
21698
22155
22631
22747
22251
21951
23077
22318
22768
23096
21792
23061
21833
23037
22065
21909
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 #62:

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

input:

10000
90000
23159
21779
22151
22881
22428
22590
22106
22902
22445
22425
23113
21821
22246
22772
22556
22582
22532
22340
22760
22112
22865
22223
23231
21739
22897
22091
22552
22534
22559
22373
23298
21614
22007
22833
22932
22336
21996
23026
22333
22605
22809
22135
22975
22027
22641
22345
22048
22864
...

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

input:

10000
90000
23299
21811
22174
22654
22704
22552
21953
23301
22875
22539
23249
21793
22334
22890
22651
22227
22677
22209
22757
22235
22747
22265
23119
22095
22565
22495
22484
22634
22065
22599
23575
21435
22365
22695
22592
22134
21977
23129
22099
22987
23359
21527
23329
21929
22667
22281
22029
23223
...

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

input:

10000
90000
22805
22089
22033
23089
22530
22668
22052
23082
22449
22385
23221
21779
21927
23021
22656
22120
22582
22662
22943
22031
22791
22447
23323
21689
22383
22543
22162
22898
22434
22576
23272
21620
22618
22466
22962
22128
21985
22981
22122
22828
23156
21764
23324
21936
22756
22360
21738
23208
...

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

input:

10000
90000
22958
21948
22063
22967
22464
22384
22144
22890
22195
22723
23303
21899
22152
22878
22519
22479
22745
22339
22672
22178
22381
22573
23239
21913
22743
22301
22589
22451
22175
22703
23558
21516
22239
22689
23217
22037
21979
23217
22243
22707
23118
21842
23146
21826
22678
22388
22223
22809
...

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

input:

10000
90000
23084
21702
22220
22958
22596
22520
21922
23108
22610
22382
23041
21937
22452
22736
22518
22616
22860
22306
22626
22232
22715
22553
23131
21633
22821
22431
22311
22745
22429
22549
23083
21705
22355
22627
23140
22046
21880
22904
22433
22521
23437
21529
22815
22353
22585
22487
21899
23217
...

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

input:

10000
90000
23269
21793
22290
22918
22531
22513
22035
22973
22453
22495
23049
21923
21822
23030
22659
22653
22618
22576
22967
22165
22795
22293
23265
21435
22877
22163
22305
22747
22354
22948
23194
21694
22335
22751
22850
22470
21777
23243
22470
22638
23412
21600
23040
22084
22779
22031
21916
22880
...

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

input:

10000
90000
22806
21954
22034
22982
22731
22209
22212
22818
22378
22366
23215
21897
22386
22560
22563
22207
22598
22450
22978
22010
22620
22338
23524
21494
22563
22393
22553
22675
22549
22645
23357
21609
22045
22869
22920
22054
22260
22792
22157
22701
23209
21861
22922
21860
22695
21991
21859
22845
...

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

input:

10000
90000
23101
22233
22202
22970
22792
22498
22047
22733
22410
22314
23032
21496
22232
22878
22383
22517
22678
22430
23122
21784
22870
22192
23154
21928
22611
22647
22201
22819
22385
22433
22951
21725
21915
22893
22945
21965
22226
23188
21919
23019
23133
21549
22510
22154
22738
22166
22171
22665
...

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

input:

10000
90000
22985
21893
22033
22935
22574
22302
21997
22851
22385
22477
23190
21902
22205
23031
22713
22167
22392
22406
22860
21934
22501
22307
23121
21587
22407
22719
22080
22634
22690
22448
23101
21743
22269
22951
23273
21771
21998
22946
22096
23006
22825
21981
22819
21999
22517
22475
22061
23035
...

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

input:

10000
90000
22903
22045
22034
22848
22718
22170
21968
23000
22702
22478
23165
21639
22425
22905
22731
22311
22791
22377
22775
22421
22651
22301
23200
21734
22781
22285
22380
22526
22213
22625
23430
21640
21930
23026
22936
22072
22113
22793
22046
22898
23135
22035
22735
22183
22770
22274
22120
22804
...

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

input:

10000
90000
23229
21937
22189
22861
22422
22400
22159
22945
22228
22700
22965
21967
22016
22886
22662
22268
22620
22174
22711
22285
22678
22462
23541
21755
22672
22364
22548
22488
22551
22625
23056
21974
22527
22603
22942
22046
21910
23152
22386
23018
23346
21828
23067
22071
22914
21936
21924
23032
...

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

input:

10000
89999
22946
22121
22031
22894
22457
22390
22188
23002

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

input:

10000
89999
23340
21909
22199
22645

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

input:

10000
89999
23269
21754
22230
22821
22587
22442
22147
22936
22652
22173
23370
21813
22208
22718

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

input:

10000
89999
23007
21883

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

input:

10000
89999
23134
21695
22373
22700
22750
22272

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

input:

10000
89999
22925
21941

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

input:

10000
89999
22965
22115

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

input:

10000
89999
23231
21744
22097
22699

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

input:

10000
89999
22989
21837

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

input:

10000
89999
22883
22271

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

input:

10000
89999
23033
21902
21983
23009

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

input:

10000
89999
23105
22006
22107
22817

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

input:

10000
89999
23056
21637
22101
22788
22651
22382
21923
23251

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

input:

10000
89999
22716
22201
22432
22552

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

input:

10000
89999
22927
22133

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

input:

10000
89999
23011
21944
22060
22930

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

input:

10000
89999
22982
21887
21874
22878

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

input:

10000
89999
22726
21947
22118
22960

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

input:

10000
89999
23349
21911

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

input:

10000
89999
23130
21714

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

input:

10000
89999
23021
22074
22388
22422

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

input:

10000
89999
23165
21982
21955
23058
22420
22449
21986
23112

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

input:

10000
89999
23121
21863

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

input:

10000
89999
22995
21884
21776
23150

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

input:

10000
89999
23278
21852

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

input:

10000
89999
23270
21977
21828
22714

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

input:

10000
89999
23129
21810
21922
23108

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

input:

10000
89999
23190
22015
22082
22919
22544
22621
21984
23128

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

input:

10000
89999
22881
22072
22276
22549
22756
22290

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

input:

10000
89999
23234
21845
22002
22897
22449
22736
22298
22889
22585
22374
23080
21963
22274
22865
22683
22290
22632
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 #103:

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

input:

10000
89999
22897
21959

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

input:

10000
89999
22980
21917
22032
22879
22764
22324

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

input:

10000
89999
23086
21687
22091
23070
22590
22371
21870
23189
22628
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 #106:

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

input:

10000
89999
23127
21952
22233
22977

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

input:

10000
89999
23046
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

Test #108:

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

input:

10000
89999
23231
21845

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

input:

10000
89999
22873
22192
22260
22672

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

input:

10000
89999
23051
22089

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

input:

10000
89999
23191
21683

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

input:

10000
89999
23158
21779
22150
22881
22427
22590
22106
22902

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

input:

10000
89999
23299
21811

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

input:

10000
89999
22805
22089

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

input:

10000
89999
22958
21948

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

input:

10000
89999
23083
21702
22220
22957
22595
22520
21922
23108

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

input:

10000
89999
23268
21793
22289
22918
22531
22513

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

input:

10000
89999
22806
21954

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

input:

10000
89999
23101
22232
22202
22969
22791
22498
22047
22732
22410
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 #120:

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

input:

10000
89999
22985
21892
22033
22934
22574
22301
21997
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 #121:

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

input:

10000
89999
22902
22045
22034
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 #122:

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

input:

10000
89999
23229
21936
22189
22861

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