QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500897#1834. Eulerian?MaMengQiAC ✓21ms3964kbC++202.3kb2024-08-01 23:33:492024-08-01 23:33:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
0
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
0
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
4
0

output:

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

result:

ok correct

Test #8:

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

input:

100
100
28
21

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

input:

100
256
64
59

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

input:

1000
1488
388
370
380
383

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

input:

1000
11488
2891
2924

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

input:

10000
100000
24968
24986
24863
25459
24971
24964

output:

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

input:

10000
99999
24961
24767

output:

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

input:

10
10
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1
2
2
2
2
1
1

output:

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

result:

ok correct

Test #15:

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

input:

100
100
25
25
24
24
23
23
26
26
23
23
22
22
28
28
28
28
24
24
25
25
27
27
28
28
23
23
24
24
26
26
21
21
26
26
25
25
23
23
21
21
28
28
23
23
26
26
27
27
25
25
27
27
21
21
27
27
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: 2ms
memory: 3904kb

input:

1000
1000
244
244
266
266
255
255
252
252
252
252
259
259
242
242
240
240
245
245
252
252
263
263
238
238
253
253
245
245
257
257
245
245
249
249
247
247
258
258
242
242
251
251
254
254
251
251
246
246
249
249
250
250
258
258
238
238
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: 17ms
memory: 3656kb

input:

10000
10000
2509
2509
2496
2496
2506
2506
2460
2460
2508
2508
2483
2483
2516
2516
2522
2522
2502
2502
2485
2485
2505
2505
2479
2479
2471
2471
2517
2517
2501
2501
2530
2530
2533
2533
2504
2504
2517
2517
2477
2477
2549
2549
2477
2477
2481
2481
2521
2521
2511
2511
2490
2490
2485
2485
2476
2476
2442
2442

output:

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

input:

10000
10000
2547
2547
2494
2494
2478
2478
2501
2501
2520
2520
2489
2489
2490
2490
2492
2492
2471
2471
2505
2505
2506
2506
2477
2477
2511
2511
2460
2460
2501
2501
2534
2534
2457
2457
2466
2466
2493
2493
2461
2461
2476
2476
2467
2467
2530
2530
2491
2491
2487
2487
2543
2543
2464
2464
2493
2493
2499
2499

output:

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

input:

10000
10000
2540
2540
2457
2457
2503
2503
2465
2465
2470
2470
2481
2481
2492
2492
2488
2488
2503
2503
2470
2470
2506
2506
2527
2527
2485
2485
2464
2464
2502
2502
2498
2498
2496
2496
2452
2452
2504
2504
2475
2475
2503
2503
2527
2527
2459
2459
2458
2458
2493
2493
2499
2499
2492
2492
2504
2504
2510
2510

output:

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

result:

ok correct

Test #20:

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

input:

100
200
53
53
51
45
52
42
53
43
40
52
44
42
43
57
48
48
51
55
63
51
49
43
48
48
45
43
51
47
46
48
56
42
56
50
48
40
45
51
48
50
48
54
47
51
43
47
51
49
47
47
54
44
50
46
62
42
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: 2ms
memory: 3692kb

input:

1000
2000
525
513
492
506
521
481
507
543
485
501
520
516
513
487
532
482
491
491
481
499
531
475
506
510
478
500
505
505
482
498
500
490
501
489
479
517
525
501
510
492
515
503
505
499
519
505
480
526
505
469
496
516
521
517
518
508
476
522

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

input:

1000
11000
2718
2768
2818
2686
2790
2708
2854
2634
2722
2756
2840
2624
2760
2718
2894
2690
2834
2706
2844
2620
2810
2738
2774
2628
2755
2779
2817
2777
2809
2753
2771
2807
2706
2798
2686
2832
2712
2734
2682
2780
2817
2685
2826
2658
2788
2768
2735
2691
2746
2696
2710
2816
2778
2734
2702
2810
2728
2708

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

input:

10000
90000
22139
22893
22333
22557
22386
22656
22356
22696
22652
22320
22540
22404
22584
22378
22312
22450
22551
22445
22371
22517
22555
22389
22590
22468
22625
22449
22392
22368
22724
22250
22669
22579
22511
22215
22543
22557
22697
22375
22657
22413
22597
22539
22591
22577
22319
22745
22396
22698
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
22391
22507
22102
23090
22258
22550
22610
22546
22456
22412
22533
22497
22421
22849
22467
22319
22421
22499
22101
22903
22497
22439
22478
22490
22700
22534
22295
22543
22589
22635
22386
22582
22533
22467
22611
22259
22528
22226
22835
22429
22227
22833
22523
22779
22621
22297
22728
22226
...

output:

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

input:

10000
90000
22724
22460
22682
22514
22273
22627
22179
22303
22241
22585
22671
22493
22248
22638
22679
22259
22718
22412
22338
22520
22598
22422
22594
22346
22466
22582
22502
22608
22747
22219
22333
22903
22330
22462
22621
22577
22568
22352
22431
22491
22630
22340
22209
22721
22764
22228
22434
22526
...

output:

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

result:

ok correct

Test #26:

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

input:

10000
90000
22442
22470
22789
22375
22722
22294
22749
22395
22432
22654
22279
22527
22728
22428
22608
22510
22596
22688
22578
22352
22337
22365
22559
22485
22381
22577
22440
22492
22510
22514
22377
22647
22362
22856
22595
22513
22748
22450
22533
22713
22811
22211
22424
22316
22568
22530
22656
22306
...

output:

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

input:

10000
90000
22616
22424
22580
22382
22498
22396
22487
22715
22489
22561
22559
22601
22665
22159
22381
22655
22512
22744
22610
22526
22683
22459
22600
22600
22827
22487
22768
22228
22687
22459
22378
22364
22652
22194
22729
22525
22599
22555
22480
22354
22564
22446
22483
22505
22348
22408
22711
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 #28:

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

input:

10000
90000
22189
22401
22499
22797
22592
22264
22380
22490
22662
22466
22391
22709
22381
22779
22493
22455
22501
22645
22127
22979
22520
22496
22231
22585
22613
22593
22374
22674
22598
22444
22527
22317
22423
22465
22659
22411
22562
22580
22352
22546
22434
22422
22536
22478
22661
22439
22421
22657
...

output:

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

input:

10000
90000
22447
22579
22282
22542
22587
22499
22557
22431
22650
22414
22461
22565
22425
22657
22405
22591
22381
22589
22442
22460
22541
22489
22205
22605
22340
22776
22537
22515
22422
22522
22321
22611
22483
22565
22338
22486
22549
22385
22372
22672
22387
22377
22483
22485
22352
22350
22549
22629
...

output:

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

input:

10000
90000
22728
22556
22370
22518
22595
22427
22457
22639
22528
22548
22434
22546
22509
22545
22275
22583
22291
22603
22510
22344
22544
22520
22207
22703
22549
22369
22466
22478
22612
22446
22609
22591
22446
22564
22679
22307
22448
22404
22443
22277
22330
22404
22336
22710
22529
22425
22590
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 #31:

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

input:

10000
90000
22591
22711
22667
22395
22496
22476
22779
22491
23145
22227
22640
22402
22568
22438
22570
22168
22514
22512
22611
22387
22475
22323
22556
22342
22557
22331
22690
22312
22414
22478
22468
22358
22608
22562
23004
22240
22661
22093
22354
22524
22233
22767
22563
22481
22320
22484
22005
22757
...

output:

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

input:

10000
90000
22664
22492
22564
22452
22550
22394
22271
22727
22459
22817
22691
22229
22335
22893
22406
22544
22344
22584
22574
22484
22767
22183
22472
22540
22275
22591
22649
22399
22335
22657
22103
22847
22257
22545
22382
22422
22445
22587
22645
22457
22378
22738
22189
22685
22526
22496
22731
22261
...

output:

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

input:

10000
90000
22653
22603
22524
22324
22261
22629
22134
22956
22504
22578
22415
22581
22276
22694
22463
22607
22350
22662
22271
22631
22507
22351
22497
22415
22465
22409
22377
22459
22541
22485
22512
22372
22486
22408
22513
22305
22516
22604
22377
22587
22703
22353
21995
22825
22615
22371
22288
22702
...

output:

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

input:

10000
90000
22433
22637
22583
22467
22273
22721
22404
22398
22376
22382
22595
22447
22601
22389
22445
22565
22499
22651
22457
22405
22472
22510
22344
22880
22485
22503
22312
22980
22603
22247
22497
22519
22529
22515
22320
22764
22488
22660
22518
22550
22418
22548
22218
22690
22610
22240
22511
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 #35:

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

input:

10000
90000
22517
22203
22457
22767
22554
22544
22553
22447
22524
22550
22254
22574
22530
22388
22786
22348
22491
22425
22573
22421
22305
22597
22419
22463
22473
22771
22689
22249
22153
22791
22583
22347
22590
22402
22459
22343
22349
22691
22350
22368
22604
22506
22181
22537
22710
22388
22616
22760
...

output:

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

result:

ok correct

Test #36:

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

input:

10000
90000
22428
22538
22263
22567
22817
22347
22739
22315
22808
22390
22480
22992
22626
22462
22637
22463
22631
22403
22377
22391
22585
22427
22490
22604
22396
22642
22718
22312
22507
22457
22490
22598
22471
22393
22304
22770
22615
22471
22140
22668
22535
22665
22567
22383
22225
22639
22573
22431
...

output:

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

input:

10000
90000
22362
22574
22645
22433
22707
22243
22465
22597
22434
22754
22608
22598
22290
22570
22666
22392
22623
22393
22468
22584
22523
22379
22461
22559
22527
22399
22629
22227
22344
22694
22574
22454
22473
22717
22499
22575
22478
22754
22277
22449
22334
22476
22437
22655
22369
22333
22656
22416
...

output:

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

input:

10000
90000
22673
22309
22350
22622
22579
22545
22551
22577
22534
22450
22535
22291
22474
22448
22527
22513
22531
22337
22627
22529
22738
22356
22447
22519
22704
22492
22928
22276
22210
22720
22358
22588
22547
22481
22312
22750
22295
22571
22356
22460
22712
22604
22505
22551
22302
22682
22188
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 #39:

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

input:

10000
90000
22562
22408
22628
22484
22656
22280
22394
22514
22532
22226
22625
22443
22462
22714
22308
22590
22231
22685
22269
22875
22674
22378
22546
22372
22341
22461
22524
22432
22298
22796
22684
22304
22592
22582
22389
22715
22473
22445
22458
22370
22622
22476
22427
22479
22679
22321
22453
22349
...

output:

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

input:

10000
90000
22246
22580
22423
22513
22508
22646
22472
22532
22296
22514
22693
22561
22836
22422
22260
22354
22664
22406
22616
22368
22310
22624
22411
22557
22635
22541
22344
22318
22536
22270
22206
22656
22492
22588
22721
22425
22667
22397
22857
22243
22253
22639
22459
22483
22363
22431
22421
22577
...

output:

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

input:

10000
90000
22403
22401
22307
22387
22484
22580
22646
22338
22648
21954
22227
22743
22327
22465
22541
22545
22412
22590
22474
22310
22501
22399
22487
22569
22351
22513
22502
22420
22305
22493
22412
22340
22483
22541
22529
22653
22486
22546
23003
22231
22755
22467
22631
22409
22375
22541
22343
22741
...

output:

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

input:

10000
90000
22448
22472
22105
22799
22531
22439
22081
22841
22545
22911
22704
22262
22496
22496
22338
22718
22485
22477
22400
22536
22341
22383
22201
22749
22179
22689
22556
22486
22604
22496
22536
22332
22370
22638
22760
22248
22314
22554
22566
22588
22671
22409
22326
22444
22469
22615
22626
22484
...

output:

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

input:

10000
90000
22358
22760
22493
22499
22410
22696
22616
22384
22986
22230
22540
22400
22535
22533
22442
22582
22475
22491
22424
22396
22486
22442
22612
22424
22535
22611
22530
22462
22571
22545
22586
22426
22527
22783
22655
22141
22138
22828
22649
22325
21925
22737
22653
22551
22375
22323
22351
22691
...

output:

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

input:

10000
90000
22289
22633
22423
22477
22578
22358
22618
22474
22784
22216
22507
22583
22621
22401
22564
22644
22256
22560
22496
22376
22465
22409
22342
22566
22376
22568
22366
22568
22435
22749
22472
22536
22286
22526
22569
22417
22687
22437
22398
22598
22471
22545
22418
22632
22142
22574
22660
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 #45:

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

input:

10000
90000
22632
22300
22384
22652
22335
22579
22489
22575
22248
22986
22260
23062
22240
22594
22463
22579
22352
22682
22730
22242
22523
22379
22186
22658
22527
22533
22516
22520
22399
22617
22270
22718
22616
22498
22570
22638
22667
22455
22472
22642
22425
22523
22801
22215
22402
22478
22583
22271
...

output:

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

result:

ok correct

Test #46:

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

input:

10000
90000
22421
22505
22499
22255
22588
22382
22409
22701
22664
22522
22516
22342
22541
22643
22504
22352
22455
22427
22490
22414
22489
22527
22355
22553
22534
22418
22729
22259
22390
22770
22492
22400
22362
22436
22755
22237
22633
22357
22623
22355
22314
22716
22288
22574
22483
22679
22203
22671
...

output:

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

input:

10000
90000
22524
22662
22627
22197
22403
22469
22470
22432
22487
22541
22345
22579
22615
22603
22402
22560
22339
22517
22606
22334
22379
22611
22441
22439
22346
22590
22636
22382
22228
22636
22483
22553
22401
22599
22493
22401
22521
22567
22699
22517
22423
22383
22373
22535
22693
22569
22327
22787
...

output:

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

input:

10000
90000
22662
22654
22344
22688
22488
22336
22570
22540
22446
22640
22692
22594
22436
22672
22573
22255
22319
22479
22477
22517
22270
22796
21995
22681
22570
22562
22514
22602
22587
22573
22374
22508
22714
22588
22625
22475
22307
22539
22433
22683
22425
22419
22531
22473
22457
22419
22362
22512
...

output:

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

input:

10000
90000
22323
22613
22757
22339
22533
22329
22601
22327
22497
22473
22603
22379
22577
22437
22516
22450
22449
22585
22286
22660
22459
22603
22318
22668
22564
22574
22434
22236
22688
22398
22423
22807
22727
22509
22314
22426
22493
22641
22341
22717
22402
22654
22444
22452
22448
22424
22763
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 #50:

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

input:

10000
90000
22617
22573
22323
22591
22584
22520
22342
22696
22650
22514
22577
22479
22321
22733
22646
22448
22322
22650
22264
22696
22458
22838
22481
22433
22525
22389
22565
22375
22902
22346
22605
22373
22772
22194
22449
22775
22332
22438
22616
22398
22516
22470
22131
22569
22690
22462
22428
22420
...

output:

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

result:

ok correct

Test #51:

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

input:

10000
90000
22676
22296
22673
22385
22223
22675
22479
22653
22390
22458
22683
22687
22471
22511
22635
22387
22600
22384
22477
22237
22351
22815
22469
22623
22587
22547
22469
22579
22512
22570
22479
22369
22730
22282
22406
22440
22224
22666
22481
22309
22355
22449
22633
22805
22503
22629
22481
22777
...

output:

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

input:

10000
90000
22388
22420
22607
22359
22706
22606
22619
22249
22574
22434
22647
22393
22369
22791
22506
22432
22495
22325
22661
22343
22335
22485
22400
22670
22466
22456
22309
22707
22596
22328
22212
22738
22571
22537
22438
22452
22596
22336
22579
22491
22218
22418
22721
22443
22404
22442
22632
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 #53:

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

input:

10000
90000
22594
22304
22358
22344
22600
22384
22397
22807
22564
22438
22525
22647
22395
22623
22445
22489
22822
22432
22626
22496
22433
22465
22415
22423
22474
22416
22612
22398
22326
22728
22313
22993
22535
22355
22393
22563
22103
22667
22484
22328
22258
22974
22423
22557
22720
22368
22630
22598
...

output:

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

input:

10000
90000
22391
22413
22584
22580
22443
22723
22637
22321
22445
22619
22478
22676
22595
22527
22472
22698
22880
22246
22969
22181
22498
22670
22515
22385
22652
22502
22286
22518
22486
22542
22345
22611
22347
22759
22428
22402
22480
22720
22477
22337
22394
22608
22755
22561
22580
22490
22744
22174
...

output:

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

input:

10000
90000
22495
22779
22529
22781
22536
22798
22404
22698
22599
22281
22454
22410
22661
22617
22427
22521
22290
22492
22633
22279
22584
22266
22243
22623
22495
22273
22566
22286
22497
22387
22478
22354
22407
22499
22722
22354
22411
22577
22429
22431
22434
22496
22711
22259
22419
22529
22496
22084
...

output:

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

input:

10000
90000
22433
22621
22484
22508
22291
22549
22516
22432
22597
22251
22606
22314
22680
22442
22639
22741
22768
22256
22437
22401
22567
22457
22292
22566
22417
22473
22369
22601
22454
22468
22334
22652
22700
22344
22542
22578
22398
22606
22659
22223
22153
22855
22535
22543
22775
22381
22560
22608
...

output:

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

input:

10000
90000
22389
22705
22070
22620
22613
22677
22600
22158
22430
22336
22418
22574
22571
22433
22620
22492
22415
22367
22653
22469
22494
22394
22622
22606
22290
22620
22583
22341
22452
22690
22489
22471
22613
22267
22467
22543
22702
22356
22363
22727
22622
22084
22530
22772
22119
22635
22338
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 #58:

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

input:

10000
90000
22446
22632
22250
22642
22506
22588
22077
22719
22309
22577
22604
22344
22431
22499
22783
22573
22606
22470
22243
22737
22662
22414
22446
22464
22418
22368
22381
22283
22580
22720
22386
22398
22748
22332
22377
22489
22890
22412
22426
22462
22525
22687
22431
22467
22583
22495
22495
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 #59:

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

input:

10000
90000
22526
22596
22658
22430
22235
22593
22471
22383
22708
22472
22742
22436
22601
22621
22669
22735
22306
22504
23065
22179
22640
22182
22486
22464
22310
22422
22403
22701
22335
22717
22738
22214
22281
22401
22375
22663
22403
22473
22753
22351
22765
22251
22532
22462
22385
22407
22553
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 #60:

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

input:

10000
90000
22213
22655
22329
22633
22308
22608
22297
22569
22591
22581
22209
22547
22624
22378
22322
22504
22494
22720
22531
22531
22690
22634
22663
22557
22509
22561
22438
22722
22406
22384
22245
22637
22485
22581
22339
22639
22507
22265
22612
22660
22588
22528
22789
22421
22374
22600
22545
22637
...

output:

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

result:

ok correct

Test #61:

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

input:

10000
90000
22480
22698
22616
22464
22669
22129
22859
22293
22396
22580
22660
22550
22383
22261
22361
22449
22496
22580
22504
22598
22076
22542
22086
22606
22541
22701
22303
22505
22457
22471
22662
22290
22677
22371
22578
22388
22240
22714
22365
22435
22356
22586
22188
22508
22410
22404
22474
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 #62:

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

input:

10000
90000
22629
22569
22466
22718
22411
22387
22744
22396
22552
22466
22619
22407
22453
22603
22522
22482
22446
22514
22677
22331
22494
22376
22617
22523
22368
22566
22412
22600
22486
22320
22543
22299
22103
23019
22271
22619
22427
22645
22481
22461
22968
22368
22847
22391
22668
22374
22308
22310
...

output:

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

input:

10000
90000
22482
22584
22466
22426
22637
22425
22398
22470
22475
22555
22281
22711
22586
22580
22714
22364
22743
22195
22116
22968
22363
22705
22480
22530
22737
22383
22511
22431
22527
22503
22410
22474
22176
22580
22628
22428
22588
22554
22326
22554
22805
22279
22480
22484
22554
22568
22646
22420
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22166
22614
22532
22516
22727
22329
22445
22563
22807
22337
22800
22416
22616
22452
22295
22555
22545
22355
22645
22205
22414
22682
22360
22756
22419
22507
22533
22315
22221
22591
22705
22387
22541
22409
22467
22535
22776
22610
22730
22536
22799
22279
22526
22592
22598
22610
22450
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 #65:

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

input:

10000
90000
22616
22302
22693
22259
22857
22561
22368
22524
22483
22475
22547
22513
22716
22206
22192
22800
22793
22405
22429
22511
22407
22489
22568
22322
22474
22418
22718
22566
22363
22623
22551
22537
22516
22362
22405
22385
22467
22593
22829
22621
22305
22635
22486
22370
22374
22496
22663
22247
...

output:

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

input:

10000
90000
22277
22833
22672
22380
22451
22391
22524
22302
22570
22316
22345
22437
22427
22693
22621
22499
22523
22447
22541
22485
22671
22517
22225
22559
22673
22497
22516
22330
22582
22220
22568
22200
22213
22891
22277
22845
22518
22188
22569
22421
22668
22386
22493
22617
22411
22633
22447
22437
...

output:

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

input:

10000
90000
22327
22377
22318
22546
22620
22460
22291
22979
22410
22398
22525
22569
22496
22546
22624
22374
22709
22339
22687
22035
22653
22389
22668
22470
22337
22701
22490
22570
22640
22482
22324
22580
22359
22557
22762
22272
22533
22381
22673
22325
22579
22475
22475
22437
22283
22695
22663
22397
...

output:

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

input:

10000
90000
22607
22665
22300
22398
22554
22324
22865
22411
22678
22444
22677
22283
22595
22519
22437
22647
22613
22531
22208
22530
22669
22393
22466
22280
22721
22257
22512
22410
22501
22545
22838
22384
22456
22400
22337
22683
22375
22477
22433
22663
22582
22600
22414
22572
22745
22443
22289
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 #69:

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

input:

10000
90000
22567
22457
22438
22570
22439
22849
22539
22377
22351
22215
22413
22665
22301
22783
22321
22583
22819
22433
22698
22362
22444
22622
22539
22405
22469
22637
22444
22428
22388
22468
22150
22934
22511
22505
22378
22450
22596
22268
22390
22582
22328
22500
22596
22366
22790
22400
22467
22365
...

output:

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

input:

10000
90000
22456
22510
22667
22403
22422
22424
22541
22573
22427
22385
22696
22216
22532
22420
22385
22391
22726
22446
22244
22442
22206
22730
22568
22398
22310
22636
22505
22499
22747
22541
22799
22313
22564
22616
22426
22504
22527
22391
22484
22388
22500
22308
22642
22380
22401
22661
22294
22796
...

output:

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

input:

10000
90000
22289
22643
22405
22459
22579
22341
22654
22542
22665
22635
22880
22328
22227
22361
22559
22531
22276
22520
22239
22507
22462
22330
22395
22239
22371
22615
22518
22684
22902
22468
22279
22659
22392
22682
22439
22593
22615
22481
22497
22501
22455
22555
22342
22800
22395
22631
22372
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 #72:

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

input:

10000
90000
22858
22226
22255
22725
22564
22600
22580
22446
22416
22394
22704
22338
22514
22426
22550
22466
22392
22444
22423
22549
22745
22491
22507
22549
22595
22345
22603
22537
22550
22476
22321
22843
22584
22570
22332
22448
22333
22641
22112
22674
22494
22462
22681
22193
22487
22715
22278
22576
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
22352
22510

output:

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

input:

10000
89999
22446
22543
22501
22513

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22524
22385
22605
22239

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
22640
22451
22408
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 #77:

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

input:

10000
89999
22471
22716
22392
22700

output:

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

input:

10000
89999
22331
22693

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
22538
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 #80:

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

input:

10000
89999
22415
22593

output:

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

input:

10000
89999
22349
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 #82:

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

input:

10000
89999
22670
22217
22818
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 #83:

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

input:

10000
89999
22568
22278

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22649
22482
22364
22622

output:

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

input:

10000
89999
22576
22456

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
22658
22367
22393
22526
22371
22509

output:

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

input:

10000
89999
22473
22470
22529
22403

output:

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

input:

10000
89999
22531
22666
22552
22547
22386
22768

output:

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

result:

ok correct

Test #89:

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

input:

10000
89999
22300
22697
22605
22193

output:

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

input:

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

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

input:

10000
89999
22414
22482

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
22555
22430
22556
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 #93:

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

input:

10000
89999
22308
22701
22180
22638

output:

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

input:

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

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

input:

10000
89999
22447
22481

output:

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

input:

10000
89999
22727
22282
22444
22405
22585
22565

output:

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

input:

10000
89999
22494
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 #98:

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

input:

10000
89999
22395
22606
22255
22548
22401
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 #99:

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

input:

10000
89999
22491
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 #100:

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

input:

10000
89999
22632
22263
22249
22613

output:

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

input:

10000
89999
22627
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 #102:

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

input:

10000
89999
22459
22485

output:

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

result:

ok correct

Test #103:

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

input:

10000
89999
22290
22520

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
22457
22510
22240
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 #105:

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

input:

10000
89999
22238
22599
22538
22285
22768
22268

output:

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

input:

10000
89999
22333
22362
22542
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 #107:

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

input:

10000
89999
22731
22431

output:

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

result:

ok correct

Test #108:

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

input:

10000
89999
22442
22553
22178
22779
22462
22396

output:

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

input:

10000
89999
22642
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 #110:

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

input:

10000
89999
22445
22512
22521
22382
22328
22617
22611
22530
22441
22498
22374
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 #111:

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

input:

10000
89999
22413
22630
22562
22595
22349
22737

output:

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

input:

10000
89999
22578
22392

output:

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

input:

10000
89999
22503
22450
22535
22588
22598
22378

output:

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

input:

10000
89999
22649
22390
22399
22615

output:

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

input:

10000
89999
22532
22428

output:

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

input:

10000
89999
22349
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 #117:

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

input:

10000
89999
22324
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 #118:

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

input:

10000
89999
22452
22235
22398
22831
22645
22294
22475
22398
22463
22430
22519
22286
21970
22727
22649
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 #119:

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

input:

10000
89999
22519
22496
22531
22579

output:

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

input:

10000
89999
22207
22518
22269
22618
22568
22205
22542
22403
22563
22366
22474
22255
22595
22417

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22306
22667
22666
22409
22325
22745

output:

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

result:

ok correct

Test #122:

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

input:

10000
89999
22617
22397

output:

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

result:

ok correct