QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#197552#1834. Eulerian?conzloiAC ✓26ms3968kbC++20740b2023-10-02 17:00:322023-10-02 17:00:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

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 3 1
? 1 2
? 2 3 1
? 1 1
? 2 3 2
? 1 2
? 2 3 1
? 1 2
? 2 3 1
? 1 1
? 2 3 2
? 1 3
? 2 2 1
? 1 1
? 2 2 3
? 1 2
? 2 1 3
? 1 1
? 2 2 3
? 1 2
? 2 1 3
? 1 1
? 2 2 3
? 1 1
? 2 3 2
? 1 2
? 2 1 3
? 1 1
? 2 3 2
? 1 2
? 2 3 1
? 1 3
? 2 2 1
? 1 1
? 2 3 2
? 1 2
? 2 1 3
? 1 2
? 2 1 3
? 1 1
? 2 ...

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

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

input:

10
10
1
3
1
2

output:

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

result:

ok correct

Test #7:

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

input:

10
11
4
4

output:

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

result:

ok correct

Test #8:

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

input:

100
100
20
22
29
25
30
24
24
24
21
25
25
30

output:

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

result:

ok correct

Test #9:

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

input:

100
256
60
72
54
61

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

input:

1000
1488
361
393
337
374

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

input:

1000
11488
2950
2873

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

input:

10000
100000
24980
24816
25215
24978

output:

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

result:

ok correct

Test #13:

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

input:

10000
99999
24914
24966

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
29
29
26
26
26
26
26
26
24
24
18
18
23
23
19
19
27
27
24
24
26
26
24
24
26
26
28
28
24
24
24
24
24
24
25
25
23
23
30
30
24
24
24
24
24
24
26
26
31
31
24
24
29
29
25
25
26
26

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
253
253
266
266
255
255
239
239
246
246
256
256
245
245
251
251
259
259
270
270
238
238
255
255
248
248
238
238
254
254
249
249
244
244
240
240
250
250
249
249
238
238
250
250
231
231
242
242
245
245
242
242
256
256
252
252
248
248

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

input:

10000
10000
2474
2474
2490
2490
2484
2484
2502
2502
2512
2512
2474
2474
2495
2495
2507
2507
2511
2511
2450
2450
2537
2537
2505
2505
2537
2537
2502
2502
2511
2511
2474
2474
2538
2538
2507
2507
2514
2514
2509
2509
2493
2493
2519
2519
2550
2550
2484
2484
2546
2546
2533
2533
2522
2522
2484
2484
2519
2519

output:

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

input:

10000
10000
2458
2458
2481
2481
2490
2490
2513
2513
2464
2464
2498
2498
2512
2512
2499
2499
2507
2507
2503
2503
2503
2503
2488
2488
2510
2510
2514
2514
2540
2540
2527
2527
2508
2508
2497
2497
2494
2494
2456
2456
2499
2499
2487
2487
2524
2524
2475
2475
2473
2473
2487
2487
2511
2511
2508
2508
2517
2517

output:

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

input:

10000
10000
2509
2509
2504
2504
2547
2547
2434
2434
2507
2507
2498
2498
2501
2501
2502
2502
2512
2512
2465
2465
2517
2517
2517
2517
2564
2564
2494
2494
2473
2473
2544
2544
2469
2469
2507
2507
2491
2491
2454
2454
2529
2529
2468
2468
2469
2469
2480
2480
2498
2498
2514
2514
2508
2508
2477
2477
2431
2431

output:

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

result:

ok correct

Test #20:

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

input:

100
200
45
47
53
47
54
50
47
53
46
54
54
44
48
46
54
48
60
40
53
49
53
49
51
39
51
55
47
49
60
50
44
50
47
51
51
45
56
62
56
54
51
45
53
55
46
50
48
40
42
48
50
56
35
47
52
46
55
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: 3588kb

input:

1000
2000
494
498
484
528
477
509
490
520
535
491
523
485
525
473
479
531
514
478
504
492
519
475
479
515
503
527
494
478
497
509
484
502
506
506
500
470
478
486
482
512
561
461
493
487
500
492
509
505
459
509
513
503
453
497
502
470
498
494

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

input:

1000
11000
2697
2703
2710
2760
2865
2659
2758
2704
2789
2737
2768
2746
2743
2825
2754
2794
2780
2710
2749
2701
2741
2751
2793
2729
2838
2596
2712
2756
2711
2809
2665
2765
2781
2823
2734
2720
2714
2740
2780
2722
2778
2710
2861
2605
2841
2689
2810
2832
2711
2807
2792
2712
2663
2757
2748
2692
2756
2690

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

input:

10000
90000
22474
22498
22268
22762
22564
22392
22589
22483
22722
22378
22480
22564
22387
22599
22483
22297
22534
22524
22680
22368
22285
22759
22601
22155
22432
22602
22611
22445
22491
22469
22452
22480
22487
22323
22160
22678
22530
22490
22625
22349
22471
22651
22549
22551
22466
22432
22447
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 #24:

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

input:

10000
90000
22465
22483
22906
22384
22448
22454
22588
22660
22590
22502
22564
22496
22552
22492
22516
22454
22503
22443
22766
22318
22218
22546
22695
22213
22550
22450
22688
22254
22626
22366
22600
22502
22546
22622
22577
22167
22589
22699
22544
22584
22381
22515
22518
22374
22443
22565
22667
22461
...

output:

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

result:

ok correct

Test #25:

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

input:

10000
90000
22387
22631
22380
22414
22686
22420
22821
22385
22538
22506
22579
22467
22563
22399
22256
22690
22620
22508
22576
22478
22627
22431
22363
22497
22373
22643
22680
22552
22383
22459
22456
22660
22566
22652
22717
22335
22406
22632
22172
22926
22254
22710
22468
22342
22552
22264
23020
22090
...

output:

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

input:

10000
90000
22678
22190
22442
22600
22425
22443
22637
22223
22432
22740
22426
22778
22174
22754
22366
22580
22402
22366
22518
22576
22400
22502
22458
22566
22641
22285
22834
22152
22579
22615
22517
22435
22512
22626
22521
22619
22309
22439
22512
22462
22152
23052
22326
22588
22305
22353
22135
22835
...

output:

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

result:

ok correct

Test #27:

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

input:

10000
90000
22455
22637
22663
22359
22255
22617
22369
22391
22509
22799
22257
22707
22673
22311
22644
22462
22305
22613
22218
22730
22206
22420
22378
22676
22226
22476
22312
22474
22486
22480
22481
22545
22561
22657
22502
22340
22246
22986
22461
22395
22411
22469
22486
22446
22525
22181
22506
22338
...

output:

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

input:

10000
90000
22527
22319
22239
22795
22553
22435
22419
22415
22227
22645
22650
22458
22326
22674
22613
22493
22642
22336
22532
22542
22329
22859
22596
22400
22371
22517
22646
22576
22670
22164
22463
22437
22484
22524
22599
22277
22728
22370
22505
22393
22269
22631
22167
22535
22186
22604
22268
22346
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
22175
22711
22555
22291
22541
22251
22476
22344
22306
22446
22514
22266
22529
22359
22669
22601
22337
22757
22497
22487
22565
22559
22529
22273
22432
22596
22522
22566
22323
22625
22253
22575
22677
22389
22491
22777
22472
22534
22321
22567
22514
22514
22548
22460
22691
22267
22480
22682
...

output:

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

input:

10000
90000
22324
22752
22308
22526
22553
22501
22714
22402
22186
22492
22429
22519
22661
22379
22619
22551
22383
22517
22437
22219
22536
22468
22665
22491
22487
22281
22526
22398
22275
22515
22401
22479
22407
22433
22424
22822
22765
22133
22645
22659
22665
22461
22445
22569
22374
22432
22355
22799
...

output:

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

result:

ok correct

Test #31:

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

input:

10000
90000
22440
22852
22378
22522
22676
22088
22496
22492
22293
22765
22582
22336
22356
22776
22456
22482
22642
22322
22236
22556
22812
22536
22390
22604
22839
22339
22596
22276
22155
22527
22591
22501
22357
22615
22596
22506
22390
22686
22458
22622
22337
22857
22535
22511
22377
22563
22569
22789
...

output:

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

input:

10000
90000
22291
22617
22661
22449
22311
22383
22531
22105
22463
22479
22478
22532
22766
22290
22664
22480
22522
22710
22635
22395
22361
22815
22512
22592
22398
22600
22611
22425
22498
22466
22260
22826
22429
22551
22695
22409
22420
22486
22537
22531
22615
22639
22494
22374
22471
22523
22646
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 #33:

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

input:

10000
90000
22484
22842
22431
22735
22655
22269
22472
22490
22734
22592
22495
22691
22452
22458
22334
22580
22452
22518
22404
22636
22290
22674
22386
22636
22710
22542
22262
22700
22194
22484
22632
22296
22647
22251
22316
22646
22327
22543
22411
22391
22436
22372
22400
22552
22435
22349
22520
22580
...

output:

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

input:

10000
90000
22397
22535
22565
22619
22445
22565
22722
22202
22331
22547
22519
22571
22249
22681
22423
22415
22350
22548
22431
22757
22751
22301
22662
22406
22429
22417
22669
22019
22656
22206
22579
22443
22724
22230
22718
22392
22474
22508
22572
22190
22464
22332
22507
22685
22110
22756
22737
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 #35:

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

input:

10000
90000
22763
22521
22421
22635
22357
22553
22609
22583
22362
22572
22430
22604
22521
22611
22587
22595
22457
22445
22687
22431
22494
22232
22705
22125
22607
22711
22442
22362
22467
22617
22603
22359
22486
22604
22539
22531
22688
22516
22786
22378
22612
22462
22549
22371
22501
22603
22530
22474
...

output:

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

input:

10000
90000
22444
22596
22116
22662
22598
22340
22379
22591
22501
22553
22511
22591
22667
22599
22370
22598
22777
22435
22404
22506
22621
22323
22352
22534
22613
22251
22471
22665
22526
22426
22661
22107
22595
22139
22464
22666
22228
22544
22542
22700
22470
22654
22554
22604
22493
22331
22441
22359
...

output:

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

input:

10000
90000
22579
22559
22431
22477
22541
22543
22653
22641
22727
22531
22525
22541
22409
22637
22200
22488
22535
22343
22266
22638
22622
22332
22428
22714
22538
22408
22693
22221
22261
22639
22532
22474
22677
22263
22645
22393
22586
22570
22732
22420
22389
22605
22565
22555
22488
22512
22560
22474
...

output:

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

input:

10000
90000
22631
22481
22332
22536
22536
22580
22564
22442
22727
22465
22531
22677
22390
22646
22494
22522
22624
22288
22232
22806
22599
22471
22467
22561
22738
22428
22617
22365
22460
22544
22445
22575
22584
22432
22823
22511
22573
22493
22444
22392
22188
22674
21994
22880
22399
22577
22510
22542
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22580
22374
22507
22501
22265
22515
22453
22389
22303
22579
22366
22580
22662
22258
22710
22468
22504
22426
22494
22374
22493
22569
22432
22508
22327
22751
22632
22416
22473
22567
22389
22395
22500
22302
22618
22444
22329
22843
22391
22583
22347
22547
22316
22610
22630
22300
22603
22393
...

output:

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

input:

10000
90000
22379
22301
22310
22634
22450
22678
22809
22331
22612
22516
22617
22653
22698
22454
22443
22663
22247
22531
22674
22374
22473
22373
22760
22500
22615
22559
22647
22493
22378
22566
22424
22734
22760
22366
22393
22763
22592
22210
22531
22325
22426
22468
22477
22455
22558
22224
22589
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 #41:

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

input:

10000
90000
22533
22659
22758
22262
22545
22757
22878
22288
22387
22425
22659
22297
22385
22405
22428
22406
22384
22656
22575
22381
22284
22658
22468
22582
22586
22624
22338
22398
22683
22509
22825
22331
22541
22437
22503
22533
22485
22573
22631
22553
22600
22574
22877
22275
22638
22580
22573
22515
...

output:

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

input:

10000
90000
22533
22379
22579
22487
22393
22349
22078
22792
22679
22445
22589
22411
22538
22632
22501
22489
22573
22703
22652
22588
22350
22580
22436
22796
22452
22542
22531
22445
22421
22475
22484
22568
22712
22576
22309
22883
22376
22492
22580
22590
22743
22551
22467
22493
22433
22429
22235
22591
...

output:

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

input:

10000
90000
22605
22399
22454
22644
22315
22593
22636
22312
22432
22738
22476
22522
22446
22372
22464
22436
22473
22625
22514
22458
22568
22586
22442
22642
22515
22723
22399
22537
22395
22251
22413
22461
22516
22600
22557
22371
22227
22545
22547
22421
22603
22655
22524
22332
22574
22490
22569
22539
...

output:

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

result:

ok correct

Test #44:

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

input:

10000
90000
22527
22619
22342
22444
22594
22538
22265
22573
22311
22717
22592
22510
22479
22679
22326
22806
22776
22442
22583
22399
22468
22510
22646
22430
22631
22285
22644
22514
22513
22273
22665
22279
22277
22633
22355
22543
22360
22392
22616
22446
22459
22781
22372
22848
22214
22542
22573
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 #45:

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

input:

10000
90000
22680
22448
22650
22438
22543
22259
22307
22621
22510
22602
22626
22526
22370
22374
22442
22534
22627
22277
22507
22785
22310
22512
22405
22637
22353
22643
22490
22458
22068
22716
22256
22692
22445
22423
22460
22570
22521
22585
22694
22556
22504
22654
22218
22666
22619
22325
22590
22304
...

output:

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

input:

10000
90000
22583
22475
22658
22282
22209
22379
22535
22377
22594
22402
22786
22182
22228
22700
22503
22299
22630
22270
22369
22611
22308
22824
22464
22398
22497
22695
22562
22420
22562
22506
22766
22386
22594
22456
22528
22508
22685
22285
22443
22389
22432
22580
22481
22689
22602
22464
22466
22838
...

output:

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

result:

ok correct

Test #47:

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

input:

10000
90000
22519
22485
22506
22576
22427
22651
22696
22268
22291
22621
22935
21947
22484
22510
22551
22527
22754
22310
22537
22347
22346
22452
22545
22673
22485
22371
22542
22350
22451
22451
22390
22704
22383
22549
22588
22508
22444
22530
22793
22277
22318
22772
22509
22313
22762
22434
22376
22756
...

output:

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

input:

10000
90000
22608
22560
22501
22675
22618
22348
22694
22040
22430
22460
22228
22804
22278
22530
22429
22595
22542
22548
22531
22383
22447
22441
22577
22437
22297
22465
22746
22604
22593
22605
22483
22511
22286
22758
22574
22402
22559
22421
22621
22435
22318
22666
22729
22503
22515
22459
22479
22561
...

output:

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

input:

10000
90000
22482
22728
22331
22723
22307
22679
22234
22542
22487
22447
22541
22461
22619
22523
22587
22343
22696
22398
22498
22454
22478
22520
22500
22608
22658
22606
22447
22569
22497
22475
22515
22551
22498
22578
22327
22687
22447
22531
22451
22685
22312
22568
22452
22322
22292
22420
22790
22192
...

output:

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

input:

10000
90000
22684
22738
22645
22225
22536
22510
22759
22463
22614
22332
22571
22605
22505
22555
22620
22208
22553
22645
22528
22274
22446
22612
22347
22739
22743
22467
22266
22616
22422
22384
22581
22447
22630
22190
22449
22711
22635
22329
22450
22304
22187
22457
22390
22240
22504
22430
22668
22470
...

output:

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

input:

10000
90000
22413
22469
22303
22587
22318
22762
22634
22514
22531
22359
22789
22467
22382
22390
22600
22498
22561
22329
22643
22581
22521
22645
22560
22468
22472
22582
22296
22742
22629
22527
22289
22497
22174
22542
22510
22376
22476
22508
22460
22416
22665
22457
22342
22344
22575
22227
22606
22374
...

output:

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

input:

10000
90000
22383
22389
22484
22374
22460
22312
22209
22509
22519
22727
22286
22662
22667
22473
22336
22744
22529
22521
22624
22492
22448
22488
22502
22586
22589
22519
22629
22517
22411
22651
22429
22587
22906
22550
22441
22385
22576
22466
22414
22658
22521
22355
22523
22607
22416
22632
22534
22466
...

output:

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

input:

10000
90000
22595
22289
22541
22469
22860
22090
22495
22425
22507
22511
22562
22302
22550
22380
22364
22578
22627
22151
22356
22782
22510
22282
22477
22485
22573
22505
22552
22470
22617
22425
22477
22479
22674
22332
22559
22589
22559
22567
22558
22470
22303
22575
22225
22665
22724
22416
22092
22752
...

output:

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

input:

10000
90000
22453
22985
22488
22588
22567
22321
22521
22587
22345
22701
22262
22810
22404
22602
22229
22783
22401
22489
22447
22613
22636
22552
22504
22352
22067
22885
22561
22655
22533
22221
22326
22826
22601
22411
22687
22117
22764
22340
22460
22526
22700
22352
22401
22753
22354
22558
22496
22478
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
22399
22517
22446
22490
22629
22393
22617
22105
22673
22547
22536
22286
22666
22520
22839
22289
22703
22485
22476
22668
22574
22464
22136
22504
22737
22449
22725
22299
22337
22535
22488
22662
22899
22359
22185
22917
22495
22601
22346
22486
22184
22694
22625
22571
22366
22436
22526
22634
...

output:

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

input:

10000
90000
22450
22692
22489
22639
22564
22230
22472
22554
22471
22423
22459
22591
22495
22525
22431
22483
22596
22300
22622
22386
22547
22389
22660
22468
22338
22562
22283
22835
22563
22399
22510
22594
22397
22575
22505
22583
22220
22634
22254
22656
22534
22496
22172
22706
22578
22534
22701
22445
...

output:

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

input:

10000
90000
22417
22725
22651
22557
22568
22234
22272
22438
22209
22735
22529
22505
22788
22388
22624
22428
22561
22431
22396
22664
22406
22530
22608
22524
22500
22546
22543
22585
22404
22548
22706
22534
22630
22190
22457
22681
22351
22611
22511
22551
22326
22480
22542
22188
22511
22707
22649
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 #58:

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

input:

10000
90000
22625
22409
22419
22415
22775
22057
22528
22764
22345
22485
22401
22609
22680
22426
22403
22515
22265
22919
22483
22383
22406
22404
22772
22366
22419
22471
22573
22255
22486
22520
22646
22326
22330
22746
22438
22666
22514
22636
22311
22483
22765
22561
22559
22527
22635
22377
22387
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 #59:

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

input:

10000
90000
22641
22227
22559
22569
22560
22466
22665
22487
22526
22468
22557
22507
22684
22216
22650
22520
22615
22471
22733
22529
22121
22659
22207
22663
22442
22604
22510
22390
22555
22431
22475
22461
22598
22484
22727
22367
22821
22585
22541
22313
22370
22556
22394
22588
22555
22501
22639
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 #60:

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

input:

10000
90000
22766
22096
22429
22623
22420
22304
22513
22441
22558
22424
22499
22373
22503
22595
22697
22281
22349
22351
22655
22161
22549
22413
22878
22164
22291
22403
22492
22398
22591
22489
22320
22520
22759
22329
22448
22540
22648
22240
22661
22543
22464
22582
22473
22389
22609
22609
22608
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 #61:

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

input:

10000
90000
22233
22935
22629
22445
22391
22319
22582
22528
22525
22571
22442
22376
22491
22467
22550
22528
22533
22767
22448
22198
22635
22447
22341
22525
22561
22471
22394
22758
22376
22652
22324
22500
22634
22492
22669
22461
22374
22754
22477
22653
22448
22630
22500
22436
22643
22393
22161
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 #62:

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

input:

10000
90000
22740
22348
22550
22426
22484
22464
22488
22708
22448
22502
22753
22213
22162
22620
22599
22363
22535
22287
22716
22540
22324
22336
22318
22496
22295
22641
22405
22485
22777
22457
22388
22696
22643
22617
22558
22350
22270
22652
22603
22557
22652
22466
22634
22364
22669
22669
22258
22704
...

output:

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

input:

10000
90000
22660
22464
22414
22756
22360
22668
22568
22384
22579
22451
22795
22293
22120
22764
22233
22327
22532
22636
22616
22508
22462
22728
22488
22722
22412
22518
22538
22454
22522
22448
22570
22256
22595
22473
22495
22609
22538
22456
22490
22576
22516
22416
22447
22463
22464
22448
22448
22500
...

output:

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

input:

10000
90000
22476
22580
22468
22538
22379
22469
22462
22606
22336
22972
22230
22340
22315
22685
22573
22355
22392
22314
22630
22252
22276
22588
22901
22365
22368
22686
22499
22513
22775
22545
22766
22402
22219
22699
22603
22701
22581
22425
22455
22679
22288
22630
22341
22647
22344
22624
22347
22603
...

output:

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

input:

10000
90000
22351
22671
22658
22468
22696
22354
22195
22739
22599
22543
22496
22642
22175
22661
22284
22558
22570
22194
22625
22303
22418
22604
22762
22392
22633
22457
22518
22500
22581
22463
22639
22581
22373
22631
22870
22276
22782
22510
22381
22623
22660
22336
22402
22330
22314
22570
22530
22192
...

output:

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

input:

10000
90000
22194
22730
22559
22473
22746
22422
22365
22459
22192
22366
22215
22647
22724
22366
22618
22518
22505
22637
22299
22577
22760
22522
22386
22416
22481
22769
22623
22305
22353
22547
22688
22484
22437
22523
22424
22462
22856
22144
22629
22521
22296
22628
22570
22496
22499
22399
22361
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 #67:

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

input:

10000
90000
22609
22455
22726
22524
22517
22617
22589
22775
22410
22642
22298
22490
22524
22488
22750
22346
22570
22264
22507
22461
22224
22604
22270
22554
22619
22279
22646
22338
22256
22686
22685
22463
22661
22533
22652
22368
22368
22424
22520
22510
22352
22592
22423
22433
22346
22456
22314
22640
...

output:

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

input:

10000
90000
22509
22187
22708
22420
22581
22727
22682
22442
22799
22329
22438
22352
22481
22361
22417
22439
22557
22509
22511
22277
22414
22504
22227
22643
22434
22576
22361
22505
22543
22375
22663
22479
22485
22585
22423
22527
22413
22225
22113
22731
22587
22479
22471
22621
22258
22594
22624
22470
...

output:

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

input:

10000
90000
22738
22372
22466
22388
22752
22432
22545
22625
22734
22470
22707
22287
22606
22462
22568
22518
22245
22529
22837
22219
22364
22676
22492
22302
22731
22331
22397
22413
22215
22591
22597
22611
22425
22527
22524
22318
22713
22319
22607
22373
22817
22393
22301
22593
22371
22525
22488
22588
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22294
22640
22619
22619
22566
22642
22591
22567
22328
22704
22484
22498
22698
22346
22340
22604
22516
22504
22741
22403
22540
22470
22579
22499
22594
22454
22750
22326
22613
22229
22520
22482
22675
22355
22355
22611
22421
22629
22388
22494
22381
22529
22771
22133
22408
22518
22534
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 #71:

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

input:

10000
90000
22422
22516
22447
22483
22479
22509
22451
22367
22523
22393
22197
22643
22291
22587
22327
22587
22529
22429
22559
22449
22218
22712
22300
22524
22669
22555
22363
22439
22525
22433
22519
22505
22404
22288
22413
22363
22673
22141
22299
22649
22405
22365
22748
22396
22350
22944
22609
22443
...

output:

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

input:

10000
90000
22624
22500
22561
22261
22374
22562
22169
22771
22313
22677
22633
22453
22369
22663
22609
22387
22416
22584
22404
22474
22809
22325
22685
22535
22455
22609
22371
22695
22586
22578
22216
22606
22563
22425
22069
22965
22306
22802
22595
22159
22570
22428
22575
22439
22608
22460
22351
22641
...

output:

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

input:

10000
89999
22609
22378
22400
22515
22513
22405

output:

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

input:

10000
89999
22349
22524
22463
22592
22631
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 #75:

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

input:

10000
89999
22422
22311
22429
22433

output:

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

input:

10000
89999
22395
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 #77:

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

input:

10000
89999
22295
22925

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
22377
22549

output:

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

input:

10000
89999
22391
22422
22496
22486

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
22672
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 #81:

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

input:

10000
89999
22275
22773

output:

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

input:

10000
89999
22646
22376

output:

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

input:

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

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

input:

10000
89999
22569
22348
22499
22341

output:

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

input:

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

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

input:

10000
89999
22582
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 #87:

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

input:

10000
89999
22417
22738
22373
22645

output:

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

result:

ok correct

Test #88:

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

input:

10000
89999
22452
22553
22711
22238
22635
22458
22525
22376
22521
22522
22466
22290

output:

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

result:

ok correct

Test #89:

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

input:

10000
89999
22312
22626

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22531
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 #91:

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

input:

10000
89999
22377
22468
22433
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 #92:

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

input:

10000
89999
22550
22437
22563
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 #93:

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

input:

10000
89999
22381
22545

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
22654
22283
22612
22430

output:

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

input:

10000
89999
22304
22774

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
22413
22319

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
22174
22626

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
22901
22304
22564
22329
22298
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 #99:

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

input:

10000
89999
22535
22205

output:

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

input:

10000
89999
22384
22615
22393
22303

output:

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

input:

10000
89999
22460
22655
22204
22667
22660
22056

output:

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

input:

10000
89999
22297
22591

output:

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

input:

10000
89999
22385
22475

output:

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

input:

10000
89999
22248
22740

output:

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

input:

10000
89999
22345
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 #106:

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

input:

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

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

input:

10000
89999
22328
22715
22619
22334
22285
22514
22281
22422
22470
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 #108:

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

input:

10000
89999
22454
22451
22748
22251
22521
22404
22602
22523
22464
22545
22672
22180

output:

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

input:

10000
89999
22622
22501
22435
22479

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
22564
22462

output:

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

input:

10000
89999
22652
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 #112:

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

input:

10000
89999
22820
22244

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
22368
22462

output:

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

input:

10000
89999
22415
22379

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22559
22482
22573
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 #116:

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

input:

10000
89999
22383
22470
22286
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 #117:

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

input:

10000
89999
22130
22519
22611
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 #118:

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

input:

10000
89999
22540
22469
22423
22659

output:

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

input:

10000
89999
22713
22631

output:

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

input:

10000
89999
22414
22494

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22479
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 #122:

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

input:

10000
89999
22339
22585

output:

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

result:

ok correct