QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#261759#1834. Eulerian?wsyearAC ✓32ms3840kbC++141.3kb2023-11-23 10:15:082023-11-23 10:15:08

Judging History

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

  • [2023-11-23 10:15:08]
  • 评测
  • 测评结果:AC
  • 用时:32ms
  • 内存:3840kb
  • [2023-11-23 10:15:08]
  • 提交

answer

#include <bits/stdc++.h>
#ifdef dbg
#define D(...) fprintf(stderr, __VA_ARGS__)
#define DD(...) D(#__VA_ARGS__ " = "), debug_helper::debug(__VA_ARGS__), D("\n")
#include "C:\Users\wsyear\Desktop\OI\templates\debug.hpp"
#else
#define D(...) ((void)0)
#define DD(...) ((void)0)
#endif
#define rep(i, j, k) for (int i = (j); i <= (k); ++i)
#define per(i, j, k) for (int i = (j); i >= (k); --i)
#define SZ(v) int((v).size())
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
using ll = long long;
using pii = std::pair<int, int>;
using pll = std::pair<ll, ll>;

using namespace std;

const int maxn = 10010;
mt19937 rnd(random_device{}());

int n, m, p[maxn];

int main() {
  // cin.tie(nullptr) -> ios::sync_with_stdio(false);
  cin >> n;
  rep (i, 1, n) p[i] = i;
  cout << "? " << n << " ";
  rep (i, 1, n) cout << i << " ";
  cout << endl, cin >> m;
  rep (_, 1, 29) {
    int x = 0, y = 0;
    shuffle(p + 1, p + n + 1, rnd);
    cout << "? " << n / 2 << " ";
    rep (i, 1, n / 2) cout << p[i] << " ";
    cout << endl, cin >> x;
    reverse(p + 1, p + n + 1);
    cout << "? " << (n + 1) / 2 << " ";
    rep (i, 1, (n + 1) / 2) cout << p[i] << " ";
    cout << endl, cin >> y;
    if ((m - x - y) & 1) return cout << "! NO" << endl, 0;
  }
  cout << "! YES" << endl;
}

詳細信息

Test #1:

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

input:

3
2
0
0
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
1
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
4
3

output:

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

result:

ok correct

Test #7:

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

input:

10
11
4
1
1
2
2
3
2
4

output:

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

result:

ok correct

Test #8:

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

input:

100
100
23
20

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

input:

100
256
78
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: 1ms
memory: 3608kb

input:

1000
1488
390
356
357
354

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

input:

1000
11488
2859
2825
2880
2841

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

input:

10000
100000
24778
25148
24835
25041
24749
24997
25146
24798
25108
24708
25103
24845
24946
24743

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3628kb

input:

10000
99999
24925
24889

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3612kb

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
25
25
25
25
25
25
28
28
26
26
26
26
27
27
28
28
26
26
28
28
24
24
19
19
29
29
25
25
21
21
26
26
24
24
27
27
22
22
24
24
24
24
23
23
22
22
25
25
25
25
27
27
25
25
24
24
25
25

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

input:

1000
1000
243
243
254
254
262
262
250
250
239
239
235
235
251
251
246
246
237
237
266
266
255
255
250
250
247
247
262
262
252
252
240
240
257
257
245
245
255
255
244
244
244
244
244
244
250
250
245
245
254
254
248
248
252
252
246
246
251
251

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

input:

10000
10000
2527
2527
2517
2517
2499
2499
2548
2548
2501
2501
2525
2525
2492
2492
2493
2493
2525
2525
2515
2515
2483
2483
2478
2478
2495
2495
2508
2508
2477
2477
2488
2488
2473
2473
2532
2532
2472
2472
2509
2509
2497
2497
2484
2484
2451
2451
2481
2481
2481
2481
2486
2486
2499
2499
2483
2483
2510
2510

output:

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

result:

ok correct

Test #18:

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

input:

10000
10000
2503
2503
2481
2481
2492
2492
2503
2503
2469
2469
2493
2493
2457
2457
2520
2520
2489
2489
2477
2477
2491
2491
2478
2478
2463
2463
2502
2502
2555
2555
2496
2496
2485
2485
2490
2490
2498
2498
2464
2464
2482
2482
2457
2457
2485
2485
2512
2512
2488
2488
2512
2512
2529
2529
2509
2509
2418
2418

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3492kb

input:

10000
10000
2507
2507
2484
2484
2529
2529
2534
2534
2459
2459
2530
2530
2510
2510
2506
2506
2511
2511
2512
2512
2513
2513
2502
2502
2459
2459
2537
2537
2473
2473
2479
2479
2538
2538
2522
2522
2513
2513
2465
2465
2460
2460
2469
2469
2488
2488
2482
2482
2507
2507
2494
2494
2492
2492
2510
2510
2491
2491

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3484kb

input:

100
200
44
56
44
54
40
50
49
53
58
38
54
52
51
43
48
62
51
51
54
48
48
52
46
48
44
54
51
53
53
47
56
46
48
50
39
55
62
40
55
43
49
53
42
56
51
45
50
44
64
48
47
55
45
49
50
50
51
49

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

input:

1000
2000
493
485
506
504
497
505
523
509
522
480
493
475
500
486
463
493
506
502
507
499
476
526
549
457
506
474
462
510
492
510
510
476
492
504
472
562
477
467
475
529
485
523
538
476
464
512
478
522
494
500
496
520
503
513
544
522
487
539

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2687
2775
2683
2709
2820
2642
2780
2818
2778
2702
2723
2697
2726
2740
2834
2634
2700
2846
2642
2768
2692
2886
2698
2768
2767
2757
2673
2897
2736
2752
2660
2794
2709
2705
2783
2681
2822
2766
2748
2792
2679
2789
2799
2735
2728
2780
2763
2751
2692
2840
2747
2749
2658
2808
2831
2709
2696
2738

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

input:

10000
90000
22093
22917
22617
22557
22447
22455
22427
22227
22535
22497
22371
22429
22389
22333
22524
22266
22733
22473
22432
22542
22322
22848
22418
22430
22491
22427
22523
22483
22242
22572
22385
22533
22696
22192
22473
22515
22464
22524
22395
22797
22124
22734
22307
22521
22700
22464
22685
22589
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
22066
22620
22585
22557
22377
22507
22456
22586
22459
22435
22629
22219
22446
22632
22638
22436
22520
22220
22342
22628
22594
22362
22288
22698
22444
22394
22517
22635
22337
22613
22046
22722
22607
22375
22585
22431
22417
22583
22792
22408
22643
22495
22701
22391
22523
22507
22721
22345
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3504kb

input:

10000
90000
22509
22501
22362
22672
22653
22183
22408
22266
22620
22584
22448
22646
22302
22468
22371
22473
22495
22349
22418
22564
22449
22567
22583
22247
22759
22283
22308
22686
22540
22462
22767
22231
22443
22321
22223
22411
22573
22513
22659
22377
22355
22683
22917
22249
22715
22227
22543
22501
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 27ms
memory: 3560kb

input:

10000
90000
22858
22152
22809
22215
22562
22684
22700
22350
22496
22662
22420
22374
22863
22253
22516
22452
22288
22354
22129
22699
22567
22507
22248
22624
22291
22623
22532
22260
22646
22364
22668
22488
22616
22286
22632
22556
22650
22422
22237
22563
22689
22401
22466
22536
22384
22574
22531
22277
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 28ms
memory: 3612kb

input:

10000
90000
22452
22702
22555
22551
22340
22708
22551
22561
22286
22960
22647
22477
22449
22631
22421
22575
22214
22738
22597
22527
22523
22413
22472
22532
22559
22725
22463
22579
22509
22431
22586
22526
22501
22623
22731
22377
22405
22761
22444
22486
22152
22828
22577
22539
22604
22350
22555
22401
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 30ms
memory: 3656kb

input:

10000
90000
22208
22612
22386
22266
22365
22453
22688
22704
22516
22466
22686
22698
22838
22228
22364
22494
22455
22709
22435
22475
22545
22573
22274
22528
22399
22627
22646
22312
22499
22275
22160
22706
22507
22431
22545
22307
22541
22405
22482
22402
22428
22454
22616
22472
22780
22466
22236
22548
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3560kb

input:

10000
90000
22528
22528
22298
22660
22559
22445
22454
22664
22475
22447
22376
22604
22667
22509
22560
22570
22505
22547
22649
22499
22767
22385
22537
22527
22516
22694
22287
22867
22267
22487
22427
22593
22501
22073
22382
22760
22398
22570
22461
22433
22163
22491
22220
22682
22346
22308
22441
22287
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3776kb

input:

10000
90000
22431
22429
22454
22562
22394
22928
22510
22486
22405
22533
22528
22322
22638
22206
22805
22429
22381
22667
22205
22825
22439
22519
22242
22580
22258
22634
22581
22467
22532
22458
22628
22322
22396
22544
22387
22809
22306
22662
22646
22598
22428
22724
22480
22500
22262
22632
22702
22526
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3768kb

input:

10000
90000
22509
22359
22504
22538
22525
22633
22496
22478
22634
22540
22692
22432
22316
22402
22557
22473
22552
22486
22457
22423
22194
22620
22678
22286
22359
22757
22614
22468
22770
22194
22603
22467
22681
22341
22661
22443
22813
22331
22551
22235
22327
22671
22418
22566
22386
22852
22682
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 #32:

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

input:

10000
90000
22229
22681
22275
22433
22396
22668
22600
22258
22620
22708
22489
22555
22719
22127
22347
22639
22465
22479
22692
22460
22887
22459
22800
22734
22577
22355
22460
22264
22556
22666
22510
22552
22297
22761
22535
22671
22471
22307
22534
22526
22371
22571
22309
22805
22525
22459
22605
22419
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 27ms
memory: 3656kb

input:

10000
90000
22443
22483
22477
22431
22811
22337
22700
22498
22442
22430
22323
22569
22675
22435
22641
22707
22448
22414
22402
22410
22568
22342
22362
22520
22798
22286
22518
22414
22359
22459
22344
22450
22388
22666
22148
22786
22409
22555
22406
22512
22634
22400
22467
22407
22688
22190
22651
22441
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
22544
22418
22474
22552
22497
22641
22535
22333
22462
22656
22335
22763
22575
22383
22667
22505
22552
22578
22691
22351
22684
22356
22369
22491
22400
22742
22431
22511
22592
22562
22654
22524
22499
22671
22233
22653
22385
22643
22185
22659
22640
22536
22454
22268
22481
22429
22516
22258
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3568kb

input:

10000
90000
22362
22698
22549
22709
22466
22454
22408
22504
22555
22379
22699
22149
22338
22760
22249
22543
22495
22389
22520
22464
22353
22419
22381
22499
22337
22509
22461
22363
22586
22484
22537
22453
22778
22508
22406
22682
22660
22356
22491
22545
22322
22604
22842
22404
22150
22960
22334
22696
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3568kb

input:

10000
90000
22688
22390
22858
22204
22296
22562
22464
22508
22523
22209
22420
22672
22403
22497
22286
22390
22391
22175
22196
22846
22562
22340
22435
22453
22844
22200
22377
22465
22401
22453
22820
22332
22659
22361
22466
22686
22347
22519
22592
22596
22384
22776
22502
22804
22350
22262
22635
22385
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3496kb

input:

10000
90000
22470
22382
22231
22799
22671
22523
22179
22849
22544
22410
22221
22759
22595
22477
22664
22304
22575
22591
22465
22411
22296
22600
22330
22360
22602
22350
22489
22501
22386
22556
22470
22618
22713
22383
22388
22592
22565
22425
22724
22352
22488
22650
22604
22630
22288
22736
22326
22490
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 30ms
memory: 3788kb

input:

10000
90000
22362
22638
22462
22604
22852
22370
22220
22382
22468
22416
22233
22487
22328
22668
22416
22306
22537
22537
22225
22667
22512
22596
22704
22336
22322
22328
22381
22421
22630
22276
22624
22348
22881
22277
22542
22472
22396
22554
22570
22534
22745
22231
22571
22547
22440
22380
22476
22726
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3516kb

input:

10000
90000
22554
22394
22266
22530
22490
22470
22507
22669
22551
22559
22639
22195
22575
22429
22664
22584
22373
22321
22660
22450
22517
22617
22445
22653
22583
22495
22272
22714
22488
22678
22354
22460
22603
22467
22719
22383
22408
22252
22610
22558
22391
22529
22247
22595
22449
22419
22162
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 #40:

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

input:

10000
90000
22669
22339
22315
22753
22632
22298
22549
22787
22867
22537
22653
22645
22466
22600
22685
22381
22539
22549
22542
22560
22645
22349
22397
22637
22729
22451
22176
22876
22583
22167
22523
22413
22528
22644
22771
22245
22666
22376
22575
22529
22462
22330
22415
22601
22434
22382
22383
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 #41:

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

input:

10000
90000
22777
22387
22505
22293
22558
22458
22607
22205
22574
22370
22395
22713
22149
22757
22208
22514
22458
22372
22585
22667
22304
22566
22462
22710
22570
22304
22488
22724
22384
22552
22607
22347
22664
22248
22565
22537
22520
22428
22828
22308
22441
22627
22487
22553
22647
22281
22599
22439
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 28ms
memory: 3636kb

input:

10000
90000
22373
22331
22251
22511
22728
22408
22489
22589
22458
22622
22440
22544
22547
22483
22788
22464
22727
22325
22460
22566
22285
22651
22388
22668
22618
22486
22649
22269
22591
22299
22807
22543
22374
22530
22466
22632
22601
22389
22472
22570
22503
22441
22785
22143
22636
22358
22499
22559
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3560kb

input:

10000
90000
22525
22481
22897
22449
22724
22338
22626
22428
22344
22586
22551
22059
22622
22498
22291
22681
22417
22517
22316
22704
22445
22451
22696
22732
22288
22622
22547
22381
22573
22619
22442
22642
22262
22572
22636
22670
22501
22453
22227
22647
22374
22570
22430
22484
22312
22366
22218
22620
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 28ms
memory: 3636kb

input:

10000
90000
22530
22626
22275
22517
22526
22350
22477
22385
22563
22261
22573
22601
22656
22512
22435
22533
22523
22635
22688
22258
22884
22302
22351
22545
22535
22817
22583
22583
22618
22376
22397
22589
22499
22537
22684
22304
22401
22529
22898
22100
22430
22396
22448
22356
22209
22595
22728
22482
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 28ms
memory: 3496kb

input:

10000
90000
22288
22612
22634
22566
22831
22301
22702
22074
22952
22176
22607
22677
22294
22704
22486
22378
22664
22276
22612
22274
22356
22668
22561
22331
22510
22778
22358
22832
22600
22352
22325
22739
22508
22484
22339
22483
22233
22489
22634
22556
22386
22658
22449
22439
22611
22629
22482
22452
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3548kb

input:

10000
90000
22839
22299
22670
22366
22480
22540
22525
22375
22374
22512
22604
22280
22430
22650
22481
22597
22491
22727
22364
22540
22726
22240
22448
22498
22346
22630
22762
22388
22327
22501
22480
22514
22325
22701
22433
22711
22326
22674
22512
22374
22522
22336
22548
22622
22745
22297
22254
22742
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3772kb

input:

10000
90000
22594
22524
22621
22323
22458
22384
22574
22420
22189
22643
22438
22434
22259
22787
22533
22339
22346
22436
22421
22553
22692
22590
22285
22609
22360
22726
22263
22781
22386
22328
22680
22476
22546
22506
22636
22390
22398
22668
22494
22498
22429
22553
22712
22292
22347
22209
22692
22438
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3572kb

input:

10000
90000
22281
22851
22768
22468
22664
22524
22410
22132
22462
22180
22350
22716
22412
22576
22673
22059
22284
22656
22582
22454
22495
22491
22787
22477
22257
22571
22430
22570
22265
22687
22715
22555
22517
22569
22470
22398
22475
22491
22782
22116
22533
22497
22623
22445
22499
22431
22404
22664
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3640kb

input:

10000
90000
22700
22420
22368
22278
22563
22477
22628
22320
22445
22603
22310
22546
22461
22707
22826
22374
22660
22170
22585
22451
22581
22383
22484
22398
22375
22411
22602
22560
22516
22318
22624
22332
22671
22413
22845
22185
22487
22415
22518
22666
22469
22357
22396
22442
22652
22256
22656
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 #50:

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

input:

10000
90000
22637
22315
22627
22375
22339
22725
22496
22460
22379
22607
22518
22488
22494
22354
22339
22865
22565
22663
22323
22491
22503
22467
22432
22358
22585
22509
22606
22480
22743
22425
22520
22648
22263
22533
22577
22469
22571
22351
22578
22334
22476
22564
22352
22566
22216
22828
22637
22553
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 3564kb

input:

10000
90000
22699
22229
22777
22311
22452
22558
22584
22342
22604
22670
22436
22662
22177
22517
22609
22525
22648
22548
22529
22453
22763
22363
22179
22653
22406
22554
22400
22756
22542
22720
22575
22691
22347
22685
22424
22616
22659
22257
22667
22283
22366
22670
22607
22393
22502
22516
22325
22693
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3536kb

input:

10000
90000
22489
22479
22558
22474
22636
22440
22490
22352
22335
22443
22639
22449
22647
22279
22721
22161
22370
22598
22206
22594
22472
22520
22470
22402
22728
22486
22248
22746
22623
22327
22323
22671
22785
22667
22562
22552
22475
22665
22380
22614
22400
22632
22364
22588
22507
22437
22555
22407
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 29ms
memory: 3496kb

input:

10000
90000
22865
22249
22380
22650
22777
22437
22552
22584
22535
22475
22435
22527
22514
22714
22400
22798
22278
22598
22417
22611
22461
22619
22497
22595
22267
22503
22370
22532
22627
22271
22462
22288
22536
22440
22722
22252
22220
22486
22619
22441
22445
22593
22306
22386
22623
22581
22428
22362
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3636kb

input:

10000
90000
22479
22605
22426
22508
22356
22388
22296
22570
22397
22335
22547
22531
22548
22576
22568
22486
22722
22416
22246
22510
22553
22511
22362
22526
22498
22438
22546
22234
22728
22266
22671
22427
22725
22327
22185
22799
22136
22422
22405
22379
22556
22504
22385
22545
22526
22394
22627
22487
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3792kb

input:

10000
90000
22316
22758
22582
22544
22546
22646
22628
22142
22746
22398
22322
22672
21953
22951
22317
22521
22339
22663
22479
22633
22573
22331
22442
22556
22247
22779
22643
22713
22481
22843
22090
22616
22339
22803
22219
22827
22394
22366
22690
22392
22538
22368
22399
22619
22515
22453
22618
22216
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3772kb

input:

10000
90000
22641
22209
22529
22637
22380
22604
22438
22832
22730
22266
22417
22617
22214
22780
22534
22348
22706
22360
22212
22822
22612
22438
22447
22295
22444
22754
22431
22547
22500
22392
22418
22610
22448
22482
22518
22326
22385
22621
22444
22470
22365
22475
22428
22484
22107
22595
22378
22496
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 28ms
memory: 3568kb

input:

10000
90000
22589
22209
22528
22734
22523
22633
22405
22529
22335
22675
22554
22592
22265
22505
22587
22297
22464
22712
22293
22555
22523
22505
22742
22384
22598
22742
22460
22314
22884
22344
22410
22694
22215
22565
22443
22505
22584
22256
22340
22608
22179
22607
22215
22407
22489
22463
22528
22420
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3796kb

input:

10000
90000
22445
22461
22543
22349
22328
22384
22518
22364
22686
22296
22797
22501
22553
22541
22672
22496
22347
22647
22454
22392
22376
22594
22674
22358
22457
22739
22499
22489
22293
22537
22244
22830
22746
22064
22396
22632
22641
22371
22281
22699
22290
22488
22591
22201
22425
22515
22612
22688
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3568kb

input:

10000
90000
22474
22662
22236
22664
22484
22356
22664
22220
22220
22552
22225
22691
22549
22299
22364
22528
22232
22484
22472
22590
22477
22639
22438
22662
22726
22510
22603
22197
22523
22703
22764
22064
22515
22421
22476
22294
22427
22495
22486
22320
22592
22684
22395
22725
22469
22693
22945
21993
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 31ms
memory: 3640kb

input:

10000
90000
22556
22380
22443
22499
22637
22323
22896
22298
22552
22638
22713
22379
22538
22682
22315
22723
22476
22626
22778
22364
22397
22685
22306
22656
22377
22683
22560
22656
22794
22540
22200
22696
22378
22476
22433
22593
22431
22295
22392
22680
22385
22371
22374
22392
22853
22353
22512
22482
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3640kb

input:

10000
90000
22750
22482
22464
22478
22825
22399
22418
22766
22427
22633
22484
22374
22566
22680
22488
22498
22737
22137
22690
22480
22190
22754
22374
22428
22234
22816
22234
22384
22559
22471
22496
22400
22535
22583
22602
22508
22708
22480
22163
22525
22592
22348
22294
22468
22441
22725
22444
22424
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 32ms
memory: 3636kb

input:

10000
90000
22626
22280
22661
22381
22645
22283
22420
22598
22638
22438
22426
22490
22294
22776
22755
22249
22514
22466
22417
22445
22666
22440
22248
22648
22698
22344
22707
22563
22270
22636
22635
22365
22368
22268
22342
22500
22151
22459
22462
22366
22476
22586
22579
22381
22452
22644
22384
22520
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 31ms
memory: 3640kb

input:

10000
90000
22727
22317
22584
22456
22596
22600
22443
22723
22396
22640
22662
22192
22417
22501
22585
22435
22439
22313
22151
22543
22514
22386
22498
22570
22325
22581
22440
22688
22512
22246
22736
22384
22514
22396
22731
22325
22507
22605
22735
22379
22533
22595
22463
22639
22715
22407
22306
22544
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3768kb

input:

10000
90000
22291
22645
22426
22600
22508
22420
22477
22449
22508
22868
22350
22324
22538
22374
22473
22385
22129
22973
22380
22400
22474
22670
22587
22405
22476
22496
22346
22596
22547
22481
22369
22619
22691
22683
22718
22606
22578
22562
22631
22415
22405
22497
22576
22430
22246
22642
22493
22677
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 20ms
memory: 3596kb

input:

10000
90000
22399
22495
22317
22659
22330
22478
22594
22394
22560
22366
22563
22773
22624
22816
22507
22539
22329
22409
22617
22271
22802
22414
22533
22411
22567
22503
22575
22517
22203
22863
22303
22569
22418
22590
22406
22290
22319
22453
22380
22532
22331
22581
22611
22497
22612
22340
22385
22825
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22550
22628
22424
22406
22521
22557
22505
22509
22667
22321
22532
22274
22392
22560
22359
22655
22559
22519
22412
22748
22583
22507
22609
22425
22560
22418
22522
22576
22354
22558
22539
22425
22609
22225
22616
22524
22495
22707
22385
22575
22375
22701
22573
22427
22356
22530
22495
22617
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 31ms
memory: 3612kb

input:

10000
90000
22452
22220
22517
22453
22611
22327
22672
22578
22442
22474
22396
22446
22301
22499
22479
22639
22751
22367
22536
22306
22370
22510
22503
22219
22518
22602
22486
22534
22659
22349
22550
22736
22468
22410
22324
22730
22536
22564
22548
22452
22247
22685
22262
22610
22261
22699
22163
22673
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3788kb

input:

10000
90000
22345
22591
22360
22584
22775
22383
22798
22276
22467
22641
22444
22534
22613
22607
22495
22533
22257
22625
22670
22466
22335
22597
22443
22465
22176
22744
22340
22466
22423
22733
22318
22718
22497
22245
22360
22674
22430
22398
22514
22452
22657
22335
22379
22599
22519
22571
22905
22229
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 30ms
memory: 3504kb

input:

10000
90000
22711
22487
22440
22374
22646
22398
22320
22588
22441
22381
22360
22718
22540
22612
22491
22335
22381
22545
22619
22433
22561
22321
22224
22412
22498
22262
22204
22548
22721
22239
22605
22465
22203
22371
22538
22266
22507
22397
22669
22533
22483
22393
22442
22428
22504
22572
22892
22496
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 29ms
memory: 3640kb

input:

10000
90000
22651
22395
22273
22535
22147
22693
22441
22475
22376
22452
22440
22506
22447
22365
22726
22134
22585
22299
22457
22309
22518
22528
22671
22177
22657
22523
22445
22763
22333
22799
22585
22285
22358
22518
22612
22396
22574
22278
22354
22516
22482
22430
22616
22402
22702
22382
22482
22464
...

output:

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

result:

ok correct

Test #71:

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

input:

10000
90000
22553
22359
22486
22726
22260
22832
22581
22097
22439
22609
22635
22605
22415
22489
22253
22677
22395
22547
22595
22491
22467
22463
22700
22272
22740
22494
22407
22633
22623
22445
22442
22512
22525
22347
22627
22381
22988
22294
22604
22362
22525
22431
22425
22701
22475
22751
22411
22705
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 22ms
memory: 3596kb

input:

10000
90000
22576
22110
22554
22290
22589
22389
22421
22453
22499
22415
22339
22629
22459
22539
22527
22467
22926
22186
22379
22657
22635
22503
22614
22484
22182
22608
22459
22511
22284
22776
22357
22625
22429
22751
22153
22631
22556
22346
22258
22584
22662
22430
22681
22341
22127
22887
22246
22434
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3632kb

input:

10000
89999
22168
22572

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3560kb

input:

10000
89999
22187
22670
22360
22582

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3568kb

input:

10000
89999
22525
22281

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3836kb

input:

10000
89999
22375
22439

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3580kb

input:

10000
89999
22517
22694
22310
22750

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3792kb

input:

10000
89999
22151
22685

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3836kb

input:

10000
89999
22476
22611
22657
22441

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
22396
22367
22485
22335

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22510
22761
22347
22455

output:

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

result:

ok correct

Test #82:

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

input:

10000
89999
22561
22627

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3636kb

input:

10000
89999
22553
22557

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22659
22409

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
22577
22360
22588
22456

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3568kb

input:

10000
89999
22715
22328
22599
22623

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3764kb

input:

10000
89999
22411
22521

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3636kb

input:

10000
89999
22416
22429
22542
22410

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3640kb

input:

10000
89999
22598
22158

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3660kb

input:

10000
89999
22481
22424
22506
22355
22813
22048
22588
22508

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
22571
22136
22309
22762
22619
22674
22486
22386

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3504kb

input:

10000
89999
22696
22629
22680
22487
22694
22404

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3564kb

input:

10000
89999
22623
22400
22758
22172

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
22693
22357

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3840kb

input:

10000
89999
22471
22467

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
22147
22684
22499
22311

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 6ms
memory: 3512kb

input:

10000
89999
22234
22421
22495
22544
22245
22644
22520
22167
22630
22467
22703
22692
22315
22744
22603
22953

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3644kb

input:

10000
89999
22494
22476

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 7ms
memory: 3640kb

input:

10000
89999
22500
22341
22598
22191
22627
22458
22633
22338
22462
22384

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3500kb

input:

10000
89999
22206
22613
22330
22760

output:

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

result:

ok correct

Test #101:

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

input:

10000
89999
22752
22389
22766
22429
22796
22359
22825
22122
22426
22534

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3600kb

input:

10000
89999
22577
22505

output:

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

result:

ok correct

Test #103:

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

input:

10000
89999
22759
22465

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 6ms
memory: 3508kb

input:

10000
89999
22497
22434
22541
22272
22476
22447
22336
22364

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3496kb

input:

10000
89999
22788
22247
22718
22165
22607
22439

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3568kb

input:

10000
89999
22505
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 #107:

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

input:

10000
89999
22620
22382

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3520kb

input:

10000
89999
22597
22427

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3636kb

input:

10000
89999
22475
22640
22289
22622
22684
22596

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 1ms
memory: 3628kb

input:

10000
89999
22278
22454

output:

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

result:

ok correct

Test #111:

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

input:

10000
89999
22187
22637

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3768kb

input:

10000
89999
22228
22554

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3596kb

input:

10000
89999
22442
22315
22503
22105

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3508kb

input:

10000
89999
22483
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 #115:

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

input:

10000
89999
22662
22410

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 4ms
memory: 3572kb

input:

10000
89999
22233
22634
22640
22294

output:

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

result:

ok correct

Test #117:

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

input:

10000
89999
22739
22556
22418
22273
22604
22433
22228
22636

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3660kb

input:

10000
89999
22543
22447

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 5ms
memory: 3640kb

input:

10000
89999
22210
22731
22410
22621
22376
22716

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 5ms
memory: 3652kb

input:

10000
89999
22156
22583
22383
22646
22450
22372

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3600kb

input:

10000
89999
22726
22538

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3640kb

input:

10000
89999
22644
22452

output:

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

result:

ok correct