QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#180713#1834. Eulerian?MaMengQiAC ✓28ms4000kbC++231.4kb2023-09-16 10:45:312023-09-16 10:45:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
0
0
0
1
0

output:

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

result:

ok correct

Test #2:

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

input:

3
3
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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
0
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
4
3

output:

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

result:

ok correct

Test #7:

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

input:

10
11
1
3

output:

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

result:

ok correct

Test #8:

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

input:

100
100
23
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 #9:

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

input:

100
256
73
52

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

input:

1000
1488
389
347
371
405
384
343

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

input:

1000
11488
2846
2862
2809
2879
2833
2846

output:

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

result:

ok correct

Test #12:

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

input:

10000
100000
25251
24930

output:

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

input:

10000
99999
24851
24734
24975
24900
25027
25285

output:

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

input:

10
10
2
2
2
2
3
3
3
3
1
1
3
3
2
2
1
1
2
2
3
3
2
2
1
1
1
1
3
3
2
2
3
3
1
1
1
1
2
2
2
2
3
3
3
3
3
3
3
3
2
2
1
1
1
1
2
2

output:

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

result:

ok correct

Test #15:

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

input:

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

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

input:

1000
1000
255
255
236
236
252
252
229
229
246
246
248
248
249
249
246
246
260
260
251
251
242
242
249
249
246
246
258
258
252
252
249
249
244
244
252
252
238
238
250
250
245
245
250
250
254
254
253
253
258
258
249
249
244
244
250
250

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

input:

10000
10000
2517
2517
2483
2483
2506
2506
2460
2460
2471
2471
2484
2484
2510
2510
2494
2494
2500
2500
2522
2522
2487
2487
2520
2520
2484
2484
2497
2497
2488
2488
2501
2501
2494
2494
2469
2469
2503
2503
2516
2516
2487
2487
2468
2468
2463
2463
2521
2521
2520
2520
2501
2501
2489
2489
2536
2536

output:

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

input:

10000
10000
2460
2460
2492
2492
2503
2503
2537
2537
2482
2482
2471
2471
2503
2503
2501
2501
2443
2443
2520
2520
2514
2514
2501
2501
2491
2491
2451
2451
2483
2483
2501
2501
2517
2517
2507
2507
2543
2543
2493
2493
2551
2551
2520
2520
2483
2483
2504
2504
2508
2508
2510
2510
2520
2520
2544
2544

output:

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

input:

10000
10000
2462
2462
2496
2496
2485
2485
2492
2492
2505
2505
2498
2498
2492
2492
2500
2500
2503
2503
2498
2498
2478
2478
2494
2494
2532
2532
2520
2520
2527
2527
2497
2497
2521
2521
2495
2495
2491
2491
2534
2534
2435
2435
2496
2496
2515
2515
2497
2497
2505
2505
2558
2558
2526
2526
2509
2509

output:

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

input:

100
200
53
57
45
61
51
51
61
43
43
57
51
43
58
52
40
56
52
40
48
46
55
43
59
41
52
50
52
40
57
49
47
51
56
44
47
45
47
41
61
51
52
52
38
50
52
52
43
49
53
49
39
49
60
40
54
46

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

input:

1000
2000
522
502
478
502
516
544
472
552
506
480
505
491
498
504
517
523
518
496
475
505
494
506
527
483
490
504
511
487
478
514
457
481
531
529
507
489
513
491
528
492
491
497
484
526
477
481
525
505
483
491
462
518
474
496
481
529

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

input:

1000
11000
2687
2743
2763
2769
2740
2810
2676
2758
2816
2714
2661
2775
2750
2796
2825
2703
2756
2678
2808
2702
2692
2834
2794
2814
2825
2769
2686
2682
2721
2799
2702
2792
2727
2779
2609
2897
2785
2733
2710
2764
2820
2684
2705
2741
2726
2818
2828
2706
2757
2823
2793
2771
2741
2701
2745
2747

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

input:

10000
90000
22547
22657
22728
22556
22338
22616
22350
22590
22614
22294
22543
22481
22319
22631
22436
22726
22425
22547
22223
22419
22427
22541
22783
22397
22520
22438
22695
22651
22477
22455
22861
22363
22778
22266
22426
22458
22439
22473
22418
22756
22623
22357
22464
22570
22697
22197
22382
22524
...

output:

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

input:

10000
90000
22303
22557
22435
22297
22546
22508
22284
22572
22296
22372
22651
22629
22780
22156
22321
22479
22467
22457
22469
22611
22358
22392
22753
22603
22598
22226
22523
22417
22488
22522
22764
22526
22210
22626
22498
22444
22717
22427
22673
22467
22451
22319
22077
22627
22495
22505
22390
22648
...

output:

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

input:

10000
90000
22606
22552
22531
22427
22472
22544
22239
22529
22402
22588
22850
22204
22596
22224
22716
22214
22599
22719
22347
22561
22483
22835
22575
22539
22446
22502
22513
22413
22346
22470
22661
22389
22642
22524
22528
22278
22803
22371
22741
22411
22634
22390
22283
22593
22622
22372
22312
22678
...

output:

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

input:

10000
90000
22519
22409
22438
22482
22611
22279
22343
22623
22512
22124
22497
22581
22575
22437
22302
22526
22362
22430
22563
22319
22681
22435
22512
22334
22331
22595
22168
22624
22427
22577
22647
22481
22395
22473
22389
22593
22495
22817
22533
22523
22486
22444
22735
22347
22416
22658
22721
22219
...

output:

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

input:

10000
90000
22483
22507
22553
22577
22577
22495
22469
22697
22838
22336
22596
22524
22458
22282
22689
22631
22674
22322
22667
22283
22447
22539
22439
22681
22401
22453
22722
22414
22395
22467
22303
22595
22336
22724
22378
22376
22602
22422
22297
22817
22524
22710
22454
22278
22372
22562
22564
22166
...

output:

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

input:

10000
90000
22390
22452
22373
22361
22591
22299
22476
22478
22430
22714
22871
22431
22429
22323
22418
22618
22451
22481
22333
22821
22618
22194
22700
22506
22796
21988
22632
22540
22728
22378
22549
22657
22620
22544
22678
22426
22272
22456
22649
22605
22441
22601
22225
22601
22625
22417
22779
22569
...

output:

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

input:

10000
90000
22395
22549
22406
22650
22397
22625
22300
22464
22855
22199
22562
22344
22728
22478
22638
22314
22418
22564
22791
22433
22511
22427
22679
22365
22299
22575
22218
22722
22576
22690
22310
22686
22367
22535
22622
22448
22357
22535
22499
22653
22674
22484
22547
22289
22437
22481
22345
22463
...

output:

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

input:

10000
90000
22517
22595
22222
22720
22369
22547
22542
22564
22492
22566
22373
22627
22650
22450
22434
22454
22550
22446
22541
22697
22683
22371
22605
22387
22620
22314
22438
22524
22661
22273
22722
22294
22437
22569
22524
22510
22426
22674
22390
22332
22512
22530
22460
22548
22412
22376
22332
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 #31:

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

input:

10000
90000
22528
22524
22284
22628
22097
22845
22533
22431
22524
22314
22319
22599
22409
22613
22785
22459
22346
22404
22745
22247
22300
22766
22412
22556
22709
22115
22402
22386
22437
22569
22420
22392
22502
22468
22513
22489
22342
22628
22474
22358
22168
22856
22762
22290
22355
22467
22572
22342
...

output:

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

input:

10000
90000
22537
22493
22213
22469
22375
22591
22791
22303
22355
22641
22381
22523
22182
22674
22379
22415
22478
22588
22392
22674
22612
22308
22537
22277
22382
22644
22645
22101
22556
22466
22295
22511
22788
22334
22544
22528
22407
22501
22666
22388
22678
22498
22433
22437
22316
22598
22498
22358
...

output:

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

input:

10000
90000
22617
22791
22385
22371
22277
22541
22653
22247
22472
22214
22496
22658
22425
22743
22631
22599
22622
22484
22354
22882
22498
22448
22556
22442
22826
22390
22419
22651
22556
22694
22523
22295
22450
22764
22283
22823
22667
22713
22681
22505
22488
22636
22457
22553
22490
22354
22390
22444
...

output:

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

input:

10000
90000
22505
22393
22483
22445
22458
22302
22524
22510
22391
22635
22399
22791
22441
22457
22486
22574
22329
22623
22543
22515
22444
22578
22674
22350
22600
22382
22590
22404
22592
22470
22472
22352
22619
22335
22671
22447
22530
22402
22619
22453
22561
22769
22175
22739
22553
22339
22372
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 #35:

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

input:

10000
90000
22401
22649
22578
22408
22645
22397
22544
22518
22401
22613
22068
22782
22354
22548
22531
22423
22644
22404
22663
22391
22564
22454
22409
22597
22439
22807
22523
22245
22459
22505
22407
22377
22747
22385
22585
22479
22309
22569
22500
22762
22521
22383
22478
22372
22851
22155
22609
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 #36:

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

input:

10000
90000
22593
22353
22315
22765
22505
22283
22655
22463
22670
22434
22711
22419
22551
22655
22435
22509
22487
22617
22552
22502
22215
22711
22542
22472
22590
22604
22330
22702
22703
22567
22457
22701
22517
22473
22494
22354
22593
22113
22619
22285
22770
22230
22455
22749
22747
22385
22556
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 #37:

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

input:

10000
90000
22414
22412
22348
22596
22414
22510
22530
22630
22545
22533
22393
22571
22699
22437
22262
22656
22557
22249
22239
22677
22589
22337
22449
22455
22129
22781
22273
22469
22701
22477
22652
22382
22393
22631
22648
22382
22542
22580
22420
22664
22471
22473
22563
22551
22634
22552
22438
22560
...

output:

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

input:

10000
90000
22107
22593
22725
22393
22560
22478
22455
22335
22409
22587
22619
22403
22424
22542
22181
22477
22505
22641
22495
22715
22333
22517
22644
22038
22298
22314
22448
22360
22530
22488
22577
22465
22778
22324
22440
22580
22401
22631
22404
22488
22353
22449
22520
22390
22564
22314
22389
22621
...

output:

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

input:

10000
90000
22725
22395
22395
22741
22486
22626
22753
22357
22716
22496
22422
22884
22461
22561
22453
22555
22661
22529
22574
22420
22656
22282
22352
22554
22311
22625
22596
22442
22526
22608
22279
22645
22467
22565
22674
22358
22448
22614
22516
22556
22386
22754
22267
22649
22534
22254
22677
22369
...

output:

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

result:

ok correct

Test #40:

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

input:

10000
90000
22647
22493
22488
22478
22256
22672
22612
22574
22432
22482
22673
22403
22492
22570
22721
22339
22763
22391
22441
22491
22873
22321
22387
22719
22745
22447
22575
22337
22468
22558
22726
22546
22585
22403
22413
22715
22514
22510
22756
22362
22618
22412
22383
22567
22226
22682
22695
22309
...

output:

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

input:

10000
90000
22588
22444
22483
22543
22707
22603
22617
22347
22404
22488
22606
22360
22277
22817
22729
22349
22602
22406
22535
22201
22523
22579
22604
22390
22665
22313
22421
22679
22634
22486
22565
22329
22565
22417
22251
22661
22699
22335
22392
22674
22678
22506
22577
22241
22691
22391
22520
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 #42:

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

input:

10000
90000
22537
22461
22471
22727
22709
22293
22457
22615
22308
22716
22244
22708
22561
22553
22650
22764
22496
22486
22464
22712
22554
22480
22644
22214
22711
22283
22249
22747
22650
22466
22453
22553
22511
22375
22707
22657
22487
22633
22478
22412
22604
22162
22429
22251
22592
22572
22486
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 #43:

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

input:

10000
90000
22459
22605
22661
22451
22527
22509
22537
22613
22496
22486
22474
22452
22726
22436
22522
22418
22339
22687
22612
22534
22613
22361
22245
22707
22359
22437
22667
22381
22317
22727
22529
22581
22387
22651
22348
22606
22506
22570
22362
22370
22547
22563
22286
22646
22438
22466
22687
22293
...

output:

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

input:

10000
90000
22583
22227
22581
22367
22427
22307
22277
22801
22516
22452
22450
22610
22339
22653
22709
22345
22812
22210
22554
22610
22878
22352
22739
22527
22577
22115
22514
22462
22411
22479
22559
22727
22268
22832
22504
22390
22453
22887
22627
22341
22851
22275
22513
22575
22557
22543
22177
22867
...

output:

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

result:

ok correct

Test #45:

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

input:

10000
90000
22752
22262
22227
22975
22651
22393
22629
22377
22493
22525
22547
22531
22692
22470
22300
22700
22433
22461
22391
22545
22688
22458
22523
22543
22130
22920
22690
22378
22560
22348
22507
22485
22382
22600
22241
22747
22452
22494
22545
22535
22616
22646
22385
22515
22438
22656
22692
22418
...

output:

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

input:

10000
90000
22360
22760
22246
22792
22345
22523
22381
22199
22427
22375
22390
22548
22685
22301
22176
22712
22343
22525
22211
22811
22642
22426
22392
22514
22626
22284
22415
22503
22666
22600
22408
22688
22758
22476
22580
22448
22567
22499
22535
22349
22337
22419
22541
22539
22212
22866
22311
22683
...

output:

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

input:

10000
90000
22430
22438
22591
22443
22242
22584
22541
22267
22558
22456
22513
22335
22600
22236
22488
22338
22440
22242
22168
22860
22567
22427
22472
22296
22603
22567
22386
22698
22876
22136
22442
22492
22587
22467
22707
22273
22388
22400
22665
22603
22636
22442
22413
22429
22583
22339
22588
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 #48:

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

input:

10000
90000
22123
22919
22533
22425
22299
22713
22353
22453
22544
22208
22216
22394
22673
22477
22530
22426
22699
22147
22348
22806
22311
22781
22679
22235
22968
22252
22523
22409
22680
22710
22358
22498
22538
22278
22651
22417
22341
22669
22460
22576
22428
22552
22303
22487
22469
22461
22531
22375
...

output:

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

result:

ok correct

Test #49:

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

input:

10000
90000
22379
22683
22360
22626
22409
22381
22722
22514
22442
22372
22446
22506
22459
22445
22384
22882
22231
22909
22408
22504
22548
22586
22631
22353
22569
22369
22381
22457
22664
22516
22509
22399
22333
22605
22149
22871
22560
22502
22254
22688
22531
22479
22491
22479
22408
22686
22506
22678
...

output:

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

input:

10000
90000
22570
22504
22455
22265
22663
22561
22251
22655
22544
22598
22659
22683
22559
22449
22709
22357
22390
22656
22391
22461
22466
22372
22304
22440
22617
22513
22407
22797
22618
22508
21924
22872
22477
22601
22737
22239
22411
22685
22811
22481
22404
22536
22206
22694
22733
22315
22434
22402
...

output:

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

input:

10000
90000
22568
22350
22700
22214
22780
22390
22565
22515
22342
22568
22582
22542
22383
22751
22531
22339
22626
22392
22714
22322
22752
22240
22484
22624
22584
22186
22671
22167
22560
22366
22583
22589
22505
22485
22525
22587
22280
22552
22772
22534
22353
22531
22479
22377
22533
22621
22801
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 #52:

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

input:

10000
90000
22383
22509
22344
22574
22420
22506
22446
22404
22807
22205
22391
22461
22285
22387
22401
22571
22838
22408
22347
22517
22404
22708
22411
22539
22482
22616
22599
22447
22432
22422
22494
22674
22447
22553
22582
22466
22329
22617
22690
22462
22230
22742
22494
22634
22526
22228
22444
22712
...

output:

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

input:

10000
90000
22446
22624
22412
22638
22415
22451
22461
22499
22438
22660
22826
22248
22877
22143
22515
22491
22257
22661
22209
22399
22489
22145
22443
22859
22251
22511
22827
22091
22382
22692
22332
22668
22408
22450
22335
22541
22728
22366
22388
22656
22328
22558
22375
22721
22304
22680
22518
22358
...

output:

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

input:

10000
90000
22599
22359
22313
22569
22244
22448
22581
22693
22280
22642
22407
22613
22572
22502
22224
22782
22364
22608
22624
22388
22526
22622
22859
22355
22322
22786
22315
22513
22322
22440
22730
22292
22383
22625
22553
22493
22510
22236
22459
22609
22237
22615
22469
22399
22580
22516
22533
22249
...

output:

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

input:

10000
90000
22653
22393
22570
22342
22350
22616
22627
22165
22625
22327
22293
22481
22530
22470
22366
22570
22346
22662
22453
22481
22666
22464
22515
22325
22741
22209
22267
22767
22495
22393
22574
22396
22657
22285
22643
22533
22476
22444
22439
22629
22464
22436
22406
22554
22582
22338
22298
22616
...

output:

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

input:

10000
90000
22506
22494
22872
22158
22240
22666
22454
22602
22378
22650
22638
22392
22772
22346
22326
22590
22603
22619
22544
22714
22451
22561
22517
22551
22483
22647
22380
22364
22486
22562
22577
22509
22458
22620
22358
22420
22590
22562
22740
22090
22404
22618
22383
22607
22389
22683
22778
22448
...

output:

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

input:

10000
90000
22379
22479
22400
22518
22592
22324
22551
22453
22381
22489
22365
22849
22476
22570
22383
22559
22467
22651
22581
22349
22817
22531
22327
22773
22502
22474
22596
22476
22692
22344
22653
22485
22446
22468
22610
22250
22309
22629
22417
22657
23009
22203
22628
22390
22668
22452
22823
22415
...

output:

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

input:

10000
90000
22459
22607
22476
22546
22511
22373
22370
22438
22477
22345
22587
22569
22513
22449
22503
22611
22452
22660
22715
22391
22376
22588
22639
22375
22673
22173
22598
22292
22593
22257
22220
22702
22696
22478
22722
22478
22750
22364
22497
22353
22255
22579
22551
22533
22344
22720
22456
22524
...

output:

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

input:

10000
90000
22513
22569
22548
22670
22293
22837
22395
22399
22682
22164
22447
22729
22566
22552
22599
22285
22334
22484
22355
22753
22564
22622
22455
22615
22572
22448
22639
22341
22421
22637
22345
22645
22500
22448
22358
22682
22537
22671
22454
22654
22376
22534
22376
22448
22349
22581
22616
22322
...

output:

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

input:

10000
90000
22761
22385
22403
22417
22487
22469
22304
22628
22641
22487
22352
22552
22787
22525
22741
22375
22708
22428
22678
22490
22650
22396
22440
22574
22387
22485
22301
22733
22358
22754
22200
22814
22350
22462
22394
22630
22842
22618
22389
22563
22679
22297
22279
22637
22533
22439
22584
22524
...

output:

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

input:

10000
90000
22629
22415
22347
22741
22346
22436
22412
22464
22369
22471
22752
22410
22411
22331
22462
22376
22365
22603
22386
22602
22495
22543
22546
22496
22269
22643
22633
22355
22288
22394
22140
22578
22390
22458
22403
22387
22432
22546
22296
22656
22659
22557
22589
22421
22621
22767
22606
22414
...

output:

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

input:

10000
90000
22435
22553
22428
22500
22378
22514
22438
22602
22523
22295
22459
22507
22485
22333
22555
22379
22593
22409
22517
22503
22539
22471
22627
22331
22352
22540
22430
22622
22634
22388
22569
22307
22119
22799
22969
22433
22539
22687
22298
22592
22741
22227
22511
22155
22318
22654
22618
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 #63:

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

input:

10000
90000
22358
22854
22216
22516
22748
22240
22318
22460
22680
22294
22494
22382
22525
22605
22563
22453
22653
22511
22644
22492
22400
22348
22532
22634
22468
22438
22432
22582
22322
22642
22633
22441
22270
22840
22496
22658
22380
22494
22625
22647
22567
22639
22579
22547
22654
22478
22295
22717
...

output:

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

input:

10000
90000
22619
22371
22282
22506
22734
22460
22386
22702
22659
22237
22514
22368
22656
22426
22226
22740
22835
22463
22610
22322
22604
22420
22461
22617
22357
22617
22232
22434
22533
22305
22436
22530
22509
22529
22289
22559
22543
22431
22696
22106
22418
22486
22473
22553
22649
22659
22448
22406
...

output:

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

input:

10000
90000
22484
22398
22573
22535
22440
22596
22829
22087
22309
22843
22269
22789
22390
22498
22594
22604
22468
22410
22298
22618
22361
22643
22511
22385
22619
22475
22411
22517
22528
22544
22587
22321
22736
22564
22492
22490
22431
22415
22404
22376
22686
22352
22629
22369
22472
22418
22340
22502
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22785
22137
22826
22496
22511
22337
22409
22497
22510
22554
22662
22506
22402
22726
22386
22478
22426
22562
22564
22258
22524
22328
22340
22480
22852
22086
22370
22874
22757
22329
22688
22394
22157
22357
22678
22464
22488
22604
22459
22845
22400
22630
22609
22159
22320
22480
22434
22350
...

output:

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

input:

10000
90000
22448
22296
22494
22570
22804
22304
22529
22633
22771
22261
22727
22471
22670
22596
22626
22298
22682
22216
22786
22440
22442
22614
22463
22495
22393
22721
22158
22618
22319
22669
22439
22575
22540
22476
22470
22558
21972
22516
22556
22444
22525
22417
22432
22486
22426
22578
22365
22495
...

output:

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

input:

10000
90000
22329
22695
22448
22384
22225
22713
22589
22589
22283
22727
22538
22430
22454
22522
22361
22587
22755
22385
22328
22298
22622
22450
22468
22694
22404
22590
22474
22414
22527
22577
22647
22411
22781
22261
22525
22565
22547
22451
22372
22558
22540
22718
22505
22611
22420
22584
22607
22567
...

output:

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

input:

10000
90000
22465
22645
22353
22765
22275
22655
22678
22540
22471
22417
22412
22256
22133
22837
22430
22418
22552
22238
22138
22636
22551
22427
22386
22450
22321
22535
22806
22280
22435
22569
22628
22296
22655
22265
22370
22676
22573
22527
22408
22706
22592
22376
22410
22614
22476
22530
22586
22326
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22477
22441
22644
22580
22745
22291
22213
22745
22504
22616
22476
22664
22796
22446
22421
22289
22229
22703
22577
22501
22369
22925
22260
22656
22578
22242
22505
22537
22323
22683
22527
22837
22437
22709
22627
22439
22477
22433
22371
22441
22615
22555
22634
22366
22526
22480
22421
22581
...

output:

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

input:

10000
90000
22718
22348
22460
22352
22521
22361
22665
22449
22353
22559
22859
22385
22217
22757
22694
22396
22482
22662
22523
22453
22504
22668
22463
22403
22348
22660
22647
22213
22396
22416
22176
22584
22224
22458
22175
22677
22499
22489
22477
22425
22462
22454
22382
22536
22623
22381
22445
22467
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
22533
22549
22394
22518
22440
22668
22446
22540
22524
22426
22636
22228
22722
22316
22516
22748
22515
22711
22242
22620
22455
22361
22491
22563
22664
22312
22256
22590
22620
22380
22274
22500
22194
22622
22615
22299
22237
22799
22461
22459
22594
22642
22320
22636
22506
22440
22434
22662
...

output:

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

input:

10000
89999
22403
22422
22489
22592
22568
22387
22553
22338
22183
22788
22723
22452
22460
22604

output:

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

input:

10000
89999
22259
22500
22393
22619

output:

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

input:

10000
89999
22398
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 #76:

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

input:

10000
89999
22309
22604
22485
22730
22570
22409
22633
22517

output:

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

result:

ok correct

Test #77:

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

input:

10000
89999
22733
22710
22209
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 #78:

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

input:

10000
89999
22453
22371

output:

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

input:

10000
89999
22487
22456
22642
22565
22574
22286

output:

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

input:

10000
89999
22328
22819
22478
22505
22363
22450
22545
22555

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22732
22457
22798
22347
22480
22248

output:

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

result:

ok correct

Test #82:

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

input:

10000
89999
22783
22587

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22443
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 #84:

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

input:

10000
89999
22312
22619
22345
22599

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
22485
22558
22373
22399

output:

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

input:

10000
89999
22330
22450

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
22414
22650

output:

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

input:

10000
89999
22452
22711
22510
22479
22578
22497
22434
22628

output:

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

input:

10000
89999
22440
22684

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22827
22534
22606
22737
22413
22595

output:

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

input:

10000
89999
22418
22741
22263
22639

output:

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

input:

10000
89999
22569
22453

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
22728
22279
22517
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 #94:

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

input:

10000
89999
22442
22690

output:

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

input:

10000
89999
22434
22273
22594
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 #96:

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

input:

10000
89999
22546
22231
22342
22561
22633
22510
22480
22778

output:

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

input:

10000
89999
22574
22459
22462
22497
22504
22390

output:

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

input:

10000
89999
22716
22194

output:

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

result:

ok correct

Test #99:

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

input:

10000
89999
22451
22454
22369
22619

output:

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

input:

10000
89999
22161
22675

output:

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

input:

10000
89999
22364
22514

output:

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

input:

10000
89999
22315
22676
22690
22524

output:

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

input:

10000
89999
22259
22740
22503
22344
22559
22640
22444
22813
22561
22566
22535
22597

output:

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

input:

10000
89999
22555
22503

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
22472
22467
22217
22650
22447
22543

output:

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

result:

ok correct

Test #106:

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

input:

10000
89999
22426
22481
22345
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 #107:

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

input:

10000
89999
22598
22600

output:

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

input:

10000
89999
22461
22717

output:

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

input:

10000
89999
22676
22235
22576
22543
22420
22530

output:

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

input:

10000
89999
22700
22309
22674
22031
22535
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 #111:

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

input:

10000
89999
22480
22394

output:

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

result:

ok correct

Test #112:

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

input:

10000
89999
22280
22553
22390
22575
22457
22373

output:

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

input:

10000
89999
22330
22655
22730
22275
22367
22215

output:

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

result:

ok correct

Test #114:

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

input:

10000
89999
22474
22625
22373
22462
22389
22482
22354
22670

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22519
22248
22499
22259

output:

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

input:

10000
89999
22661
22342
22514
22489
22581
22566
22672
22445
22557
22537

output:

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

input:

10000
89999
22927
22435

output:

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

input:

10000
89999
22619
22544
22735
22472
22538
22604

output:

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

input:

10000
89999
22505
22614
22753
22332
22541
22422
22640
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 #120:

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

input:

10000
89999
22354
22444

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22606
22566

output:

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

input:

10000
89999
22479
22372
22506
22375
22525
22682
22616
22497
22523
22468
22536
22248

output:

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

result:

ok correct