# Results

## Test cases result

1.
{4,5,5}, {6,6,7}
1
1
Correct
2.
{1,5,3,5}, {3,6,5,6}
2
2
Correct
3.
{2,5,1,6}, {3,7,3,7}
2
2
Correct
4.
{5,6,7,2}, {6,7,9,4}
3
3
Correct
5.
{49,48,8,40,26,41,49,29,23,37}, {51,49,9
,42,28,43,50,31,25,38}
7
7
Correct
6.
{494,192,265,64,290,121,318,252,246,339}
, {496,193,268,65,294,125,322,254,248,34
3}
10
10
Correct
7.
{10,18,10,1,1,6,1}, {14,19,12,5,4,7,3}
4
4
Correct
8.
{4,3,4,2,1,2,2}, {7,4,5,4,4,4,4}
1
1
Correct
9.
{98156,34165,37193,120576,56093,80004,13
898,17850,83917,38274,30484,86474,49135,
100593,16144}, {99098,35232,38199,121510
,57121,80951,14537,18307,85054,38358,313
48,87549,49818,101753,16466}
15
15
Correct
10.
{46087,55340,87283,65899,15587,60303,659
49,46897,73062,12573,22236,8455,54817,67
522,45796}, {46921,56072,87454,66749,160
64,60584,65988,47039,73174,12875,23362,9
296,55267,68491,46918}
12
12
Correct
11.
{112941885}, {199125992}
1
1
Correct
12.
{394004798,131306577,261262269,867485229
}, {433506069,180702065,285104204,918194
527}
4
4
Correct
13.
{378254501,637432696,697451615,404604229
,507067673,29602009,410717040,877757558,
257045921,674293600,252377132,291253073,
916437597,774616742}, {443002668,7203063
42,793944577,447599615,578319692,8182802
3,412511844,929324939,283687371,74856855
9,267576808,359364453,923359073,81231462
5}
8
8
Correct
14.
{345683890,334551744,630632196,133508848
,927550578,621691377}, {411541188,433508
506,634135629,143772929,986304652,680705
167}
4
4
Correct
15.
{5781586,403245441,550653150,544450143,1
90123705,68901501,137141333,43496836,281
22213,236524654,521660451}, {33078351,43
8449257,571093484,590166872,191033766,95
688053,214516812,143324489,124698738,307
098810,586074673}
6
5
Wrong
16.
{799771528,488401621,786636901}, {852641
030,564891915,876646059}
2
2
Correct
17.
{534226826}, {548308275}
1
1
Correct
18.
{436199563,258696780,259952793,604131304
,740170983,761012429,160090012,66703062,
278261489}, {526029015,314038030,3047899
50,636257813,768582052,777250072,1888569
76,144509114,347190803}
6
6
Correct
19.
{632883558,515309053,462753310,575006596
,472447607,254267499,609062755,77060499,
13095470}, {720322470,560481335,46481001
2,627399045,545280481,283132524,61970764
8,93173026,58272749}
7
7
Correct
20.
{100516597,548655011,32285105,390327795,
446462170,454169035,376837137,772332884}
, {106277153,591589642,127627114,4145036
34,521235718,516242046,449306892,7799350
10}
5
5
Correct
21.
{934955569,151532065,141019714,309737066
,936423370,554417357,563477257}, {988303
632,182810039,230351589,360228196,943820
955,608337097,615797358}
4
4
Correct
22.
{19072071}, {88289164}
1
1
Correct
23.
{282640933,97992923,458629095,294641176,
2943636,533927278}, {287919674,192559395
,519002879,324541198,77454980,562994667}
6
6
Correct
24.
{357130298,743656491,788661949,524478312
,57297190,140609878,479514025,216013519,
787576803,133760530,294523729}, {4292386
13,823458384,853914488,558564018,1169187
56,231762706,513071868,307847128,8491715
75,224554800,305013892}
7
7
Correct
25.
{836492833,610225549,855425823,198421055
,236573061,125174697,381547612,790738640
,256333911,200696542,220659812,11527300}
, {843567011,682074489,887161289,2119336
20,320723674,149799971,459037529,7991984
70,301125182,203613466,293328588,7027514
7}
9
9
Correct
26.
{262972353,127184403,12234578,473958581,
611336860,522376886}, {317946894,1621618
40,66263658,478965927,688158837,59753415
2}
6
6
Correct
27.
{68722769,159222501}, {139044235,2471558
42}
2
2
Correct
28.
{887337405,870184034}, {940641679,889590
604}
1
1
Correct
29.
{339897569,647659370,865000923,71528218,
350682165,416223305,678904174,621082202}
, {384783708,711551175,964168562,1029126
82,370685158,427055366,733685061,6791100
07}
5
5
Correct
30.
{280341323,929086475,682968615,864858343
,806325283,253821351,66979747,422682137,
577023349,466968388,654401044,645894769}
, {290780440,931857665,729332681,9151675
67,893527300,326727870,100063304,4583993
94,619767002,544880684,701936250,6623867
40}
9
8
Wrong
31.
{542224278,184116535,380716161,306503790
,18311368,556251808,762459455,274891237,
350858270}, {578011721,254251814,4163946
61,395378135,80256802,577018455,78358119
1,334570001,383174359}
6
5
Wrong
32.
{842966013,499686042,311648514,192747921
,141725236,9981237,566872473,295831747,1
41110465,708764826,846491447,50013092,81
5982258,536545847}, {923110446,507395486
,368553253,201699697,158385363,46813784,
648013076,315343971,155694413,727388694,
896546662,146889340,899205919,578745821}
8
8
Correct
33.
{802247048,254251725,873052554,619985252
,309007680,345488646}, {811508237,318003
129,959034539,714405349,378571975,370325
451}
5
5
Correct
34.
{771759153,789553173,885338926,68406862,
457443931,614300758,808355396,510806112,
48492573,422177995,170609150}, {82659893
9,801221951,955423117,117208442,52611918
4,658710655,848890029,582454757,66847976
,474715247,200869433}
9
9
Correct
35.
{942731011,866964595,225113387,880892464
,400794241,782671973,107714764,450379022
,558459725,851137546,185828371,640784688
,892536179}, {988468519,957312841,287089
540,881217471,440868946,806129292,141022
085,483691070,587503619,924245480,262020
231,671491172,974805537}
9
9
Correct
36.
{748212353,811351191,43447248}, {8364592
49,862604849,102811156}
2
2
Correct
37.
{33190277,108441131,849488704,97124393,4
99866641,437624532,814474407,881383844,4
83124016,712848328,462002100,472360754,4
07161163,457947789}, {102334342,15785851
1,934834778,179209020,595419839,46162607
5,818011859,950397919,512774817,74341360
5,477896106,539977132,474873347,49799163
8}
8
6
Wrong
38.
{729437223}, {744170320}
1
1
Correct
39.
{322895598,354089771,346927951,403819206
,76089251,388288935,182095934,576201321,
339243872}, {338018411,356630109,4468820
00,444873131,155344047,450561217,1972066
73,588022251,341900986}
7
7
Correct
40.
{965605906,65192740,533972567,584973060,
653268578,464613234,48305474,158118013,2
11341019,135878888}, {970130867,12882070
6,569690297,647039712,701838769,56164155
7,69571621,210274369,274840187,177215946
}
7
7
Correct
41.
{410464682,536077018,194490139,220155470
,969610036,784514443,2982842,685371993,8
96133205,175612500,504059855,641143616},
{472884095,588602584,220128775,25176095
2,999554857,816632224,36429435,777642697
,897038212,245314003,508000397,716423940
}
10
10
Correct
42.
{686554928,176824088,657222876,632632855
,691186125,31966708,53547513,670673232,8
00089689,880499845}, {778539470,23484862
6,693686495,701473741,717325581,11142306
9,116857164,681487214,812362056,92452825
8}
6
6
Correct
43.
{627200758,663847209,870453322,130034843
,94904310,660894430,830648445}, {6860623
07,666325912,920816016,180233464,1642377
26,728140358,895341274}
3
3
Correct
44.
{342358318,654844350,552204098,123079020
,13736622,645311513,68951750,235489613,5
13548351,161493008,21574242,72889773}, {
349901834,663088899,569623707,178361077,
42815441,696438136,85751364,289998856,57
6851292,202615516,81029941,104048887}
7
7
Correct
45.
{150274538,478559969,470133841,434815950
,388333286,797295819,849365067,231314941
}, {166610807,509684139,510207197,499620
053,403051054,797635333,904227730,296110
459}
6
6
Correct
46.
{647602669,193918615,239048428,769468292
,95438881,382383228,938375104,92777669},
{651482537,196849740,277019257,77651289
9,113894400,426207608,981789438,12687780
5}
7
7
Correct
47.
{345898905,617711026,43924516,227540816,
136065747,606703481,756559371}, {4305460
07,643920392,134797106,230604990,2159364
91,619735892,792178856}
6
6
Correct
48.
{78655211,800137717}, {172766678,8721330
19}
2
2
Correct
49.
{500184818,79331362}, {500887904,1071326
79}
2
2
Correct
50.
{60136841,287329179,191300571,846740156,
284176942,559271428,29186403,663367257},
{62692646,331063496,289922785,927358349
,342393403,598222100,31735090,734705399}
6
6
Correct
51.
{858914393,729373271,431401770,88640200,
564782323,923138695,57571022,689512753,6
57593810,284540997}, {940987386,76926509
3,489102867,103775549,576510221,99330284
3,124519721,701538193,685894224,36646256
7}
8
8
Correct
52.
{62176281,793338641,48930540,924080585,2
08378480,481674604,896996232,451240135,3
17367904,122261313,243862166,734162419,3
16809299}, {120301702,857380566,12418626
9,937682553,227130442,520861699,97041049
3,479414729,317818143,212205473,32943263
6,753847859,411681661}
8
8
Correct
53.
{277240571,775994614,10806733,340751299,
123397334,527391354,127671774,350201165,
136771911,144919429,63825981,505238405,3
15988123,390265814}, {367470235,84926707
9,50925122,401892012,140653727,528850069
,170997237,421449861,147722780,152251911
,92732000,596754199,401295547,465688754}
8
8
Correct
54.
{745903116,206157643,534979334,354606212
,410400489,917935704,64987944,597417418,
353738480,258592068}, {822987508,2994859
15,566082744,454074070,486889919,9407759
80,95653283,605895226,394581927,35604427
4}
8
7
Wrong
55.
{220363218,327045804,177090942,483826176
,969021164,527641293,61524729,393412767,
168692335,54561016,523072406,413232657},
{303143923,375204165,225163366,57022365
1,984690635,527819265,160955808,47258359
5,202335839,78984632,550416087,452367654
}
7
6
Wrong
56.
{383088171,171695542,522163829,136997812
,134545087,38594754,191859740,532044093,
145916583,254385585,142799233}, {3899876
60,233593335,556917508,142661268,1810088
67,60547033,198500758,568154008,18706905
2,265916474,230257771}
7
7
Correct
57.
{513038165,724173217,139937264,115595902
,291964187,522826334,914446825,296013314
,123877926,571001925,232899567,656017765
,440562278}, {591579592,813586994,170923
045,210687136,333904895,609405206,929239
879,365116579,221471248,643403816,260700
512,658495400,540098740}
8
8
Correct
58.
{501070416,224856233,875070892,10626678,
287460067,585741283,413951756,563307105,
85536908,209068015,310682834,432098215,7
34011981,686735157}, {501117226,25981240
2,923521287,65006099,383545353,674430014
,447043535,657888071,130734803,224894606
,324311220,510048533,827291487,767383085
}
9
8
Wrong
59.
{743834904,924005905,836131289,499172208
,24315368,273606702,606271325,90766243,5
76262160,711746405,530384604,192797865,2
90456065}, {767702229,929944769,85466451
4,515330091,70795614,311903969,645992445
,124046065,656082283,742606431,592750307
,286636567,348155866}
11
10
Wrong
60.
{561887157,473805575,484239803,43601396,
150076814,72145954,174162705,849397826,3
55933924,54154110}, {613722202,547686500
,487053553,53285319,245271339,148401131,
206517974,900319118,395420905,75121300}
7
7
Correct
61.
{842510388,729264336,308301733,974859616
,114172633,55256580,415852871,530699830,
473699931,101793159,828427382,742180050,
106186068,826356124}, {900378154,7787310
42,350433023,980627751,203663677,1326061
18,443251637,596101631,519505799,1424166
68,863898140,777241830,116503482,9169702
44}
8
8
Correct
62.
{218167633,652146596,423836832,633459162
,633735771,104336130,407325432,557981393
,276434823,110874304}, {299935017,716396
251,439160132,705139925,704894817,173440
183,440939390,637633956,309359727,206962
892}
5
5
Correct
63.
{234740979,70187600,132882466,161230647,
218401237,122708976,361729742,78899400,9
24030308,632153851,444132573,350502677},
{298898690,144641797,198440620,23329723
1,231383752,201112468,427282073,14368820
5,947148618,633270882,474596873,40133449
2}
7
7
Correct
64.
{921702860,854897407,878125585,92158373,
884237353,21451275,314480651,246585268,3
09690325,515243532,907988102,413489}, {9
82108275,950001635,920155480,162207096,9
74575185,68722474,333509940,309212693,36
7567239,559204356,945206033,417149}
8
7
Wrong
65.
{371282067,586700649,184789934,149405460
,317211732,31723073,579720891,337058186,
305111445,32784010,90095765,111599179,95
227915,380206944}, {468970811,612546335,
280802087,198571537,333324588,118411506,
608374464,405074473,369685384,70771433,1
53630181,198721782,115461505,454448134}
6
5
Wrong
66.
{430876158,432449098,536563211,834006168
,109322578,113809888,778246595,323582578
,13342198,201818028,887633413,520590760}
, {444550957,512722719,563561715,8428527
53,188317824,194574772,838819852,3403218
03,110309677,280719215,966454966,5340611
82}
9
9
Correct
67.
{342992893,803451702,351635978,412549744
,513718564,109678363,335595751,428607018
,22438856,762711517,730788391,32430631,7
76414810,411882201}, {371381977,83901807
6,415466653,504345956,590307756,12590115
9,401308990,459551488,42636630,825271992
,825243716,119106257,869470512,469185111
}
6
5
Wrong
68.
{882971688,530401106,412359225,526976237
,46793430,347726449,822783505,533590478,
255200557,436980594,452423954,198075851,
415704678,574855744}, {969076116,5701159
26,504108130,594014468,117901615,3831345
08,890893988,597027547,286102197,4686961
84,495169774,259233956,499907336,6393622
72}
7
7
Correct
69.
{740040307,121782389,95020150,540631152,
726220626,563531804,545049368,352214948,
170386779,947683271,446056979,583997367,
728885649}, {819663490,152385475,1567545
76,625075556,812177225,632623343,5720060
99,363898058,265263185,967154140,4602745
49,627460952,756210888}
8
8
Correct
70.
{729722420,48142750,593107603,235376700,
787911342,103199505,60066300,266362131,9
13330176,137247719,544208916,76385546},
{795310538,67913828,626446820,246679023,
829652138,157960119,70001285,358760707,9
40472647,162207271,630590752,78943010}
8
8
Correct
71.
{471638991,173979709,112570675,54419499,
881348578,862659300,239646940,625648496,
402440163,652397404}, {546002849,2186502
91,140719145,147850540,912168875,9153967
07,253912601,719968261,488238508,7370098
20}
6
6
Correct
72.
{713922010,84316757,311906243,413080495,
86296990,146251372,834478474,295223250,4
15597506,214441675}, {809991493,14275138
5,405494991,489796069,121291176,17175161
5,891437406,318106414,446044011,25105871
3}
7
7
Correct
73.
{319070754,262901346,904441639,217842820
,257911234,295762702,84025314,786031413,
766991553,589643765}, {367511649,2719448
95,965798050,235445396,342966409,3023192
68,93666619,789538328,797156740,64283807
2}
8
8
Correct
74.
{595952771,437212808,246925710,308185991
,15631786,934709391,540278677,72127126,4
7168153,851496846,293181290,626315431,73
4731609,278164804}, {610428557,531303687
,281872660,352525136,38999134,952549325,
636088481,131940104,73794857,927947156,3
56581086,692393511,737897022,315071086}
10
9
Wrong
75.
{72071378,114570352,221820806,140585115,
21673051,177324506,367824915,313208463,7
10454998,891159589,214155161,141402929,8
29116357}, {94927711,198590022,225441030
,222584419,94327961,210461670,443218463,
318372286,718512264,952362718,237336911,
183500258,913809934}
7
7
Correct
76.
{671200032,29427672,643197046,398331870,
14649926,569731681,72839721,412545057,40
2153052,768594367,921069357,774506586},
{698523360,92017145,716215140,448488244,
22803658,613457246,124334973,425566860,4
57444109,812928810,964569866,801258006}
7
7
Correct
77.
{301781140,132551532,460331990,384277266
,38166195,615404711,811566528,916867970,
445697950,865509283,227630348,795148495,
313811129,442748287}, {328493765,1785528
98,523974635,441905382,92740073,63408351
7,841543734,967133855,461127841,87327074
4,235458861,865151875,317602394,47531601
6}
10
10
Correct
78.
{575730353,173076405,777245308,132660629
,272237694,143289154,587948042,838777763
,221453418,418530426,830534539,225542591
,903405580,412735936}, {607404812,175340
408,796095357,164771624,276453960,213355
237,658413293,886926581,292834469,443401
268,880809207,311215770,931587552,486377
455}
8
7
Wrong
79.
{259652054,610785882,776921605,778311109
,360596207,776714741,78522824,29577213,1
23587617,396996059,821422357,803002533,2
7805514}, {337897903,710216973,790708063
,830209396,395140398,815743474,95089629,
58018630,143963086,471013416,842076750,8
72281901,89551009}
9
9
Correct
80.
{48012813,224717251,48565181,768744889,4
59316819,637109537,365843052,580736006,2
97997499,655164562,505425246,715877861},
{138454599,271286591,139759583,80245716
4,540849644,683617153,444319853,59055820
7,303043366,750244911,589694090,71715851
4}
9
8
Wrong
81.
{67339735,451994490,746441992,16449545,3
85883181,127039045,887292990,471645798,3
2621098,31913974}, {115328884,466673464,
845002622,51506864,416837282,159429999,9
87076130,560414906,87068399,125069988}
8
7
Wrong
82.
{567758415,123561809,32695263,8239756,34
1815078,392057621,342467757,289037448,70
14443,423842366,458420197}, {606540682,1
96105775,72073621,47810423,409058496,424
647974,441868895,333399666,80102329,4392
13826,502812597}
7
7
Correct
83.
{852261414,398979931,86015333,136681483,
791083922,462979682,416544589,650398023,
511528095,124231129,708646585,528708144,
510756556}, {893904218,410717520,1821676
09,227808940,860247378,529225178,4847458
86,691152332,587165021,222694547,7804393
93,586619925,597001169}
7
7
Correct
84.
{596499720,453650257,593670963,485987784
,86803542,688211296,140469595,519896650,
610169932,247408079,749196806}, {6065745
46,479517788,612505342,502347136,1525208
24,701485403,221369687,604878527,7017858
33,306634440,803276091}
7
7
Correct
85.
{492878595,167232387,344336549,934395705
,357051644,801233507,355267494,490459058
,143670542,421122690}, {558981484,233333
631,387753787,968044100,454705836,810302
176,431483695,493592883,235795689,471539
867}
6
6
Correct
86.
{226524683,353159735,608204732,115855485
,235398539,44356422,91538216,737235553,8
26619999,393970816,284325234,587849669},
{285832592,356970544,682958930,17879090
7,313748938,65898664,168988257,821998493
,850175731,469374828,380363474,652443561
}
8
7
Wrong
87.
{699482727,361549421,49119579,384366164,
785974464,884035929,306123964,4872460,30
101229,68330834,413166607,72641224}, {77
3136719,384375791,68146587,388619313,879
823194,984007896,353713669,91912290,7574
4972,86813474,482644690,75926480}
8
8
Correct
88.
{319941055,244151762,341806652,839945986
,82166042,630545677,168827125,33284331,3
42857977,740069013,968635232,725041176},
{417667213,254511248,360396066,84758227
7,114832110,727407930,213364292,90232211
,358235716,747632054,994918409,762818112
}
8
7
Wrong
89.
{171730779,490837082,115307006,898442560
,114296732,453100517,462795653,661849913
,89266459,971356894,435591719}, {2328950
58,497931112,188330346,965009628,1875141
32,536460670,476511163,755513103,9251858
4,995973056,453843525}
8
7
Wrong
90.
{912418675,512133329,428463078,697321706
,528041824,979539752,525806676,43835867,
836056052,554517555}, {999833033,5225198
53,494729833,757917752,570009706,9944969
13,563386000,106344810,837564674,6449814
29}
7
7
Correct
91.
{206240531,329215205,626206165,601604622
,418064118,541607971,890154173,914034060
,901961961,445978634,27080446,847887290,
291483832,903800549}, {206294144,3292861
82,626218564,601637553,418089047,5416814
70,890252476,914118582,902061384,4460438
85,27124544,847939124,291507929,90388579
4}
14
14
Correct
92.
{49943746,633193039,498514662,882288301,
69925220,405130672,824473171,354731412,4
03392845,971825063,252491246,917304074,7
79761338,202948423}, {50027069,633194461
,498596865,882336016,70001341,405136839,
824564478,354757580,403450551,971825170,
252561416,917330318,779817918,203022743}
14
14
Correct
93.
{756981842,88713426,509905778,171006323,
761021108,311479293,262163550,788604491,
718053381,802996630,998748822,771534561,
95301354,412960150}, {757037409,88802912
,509928133,171048193,761065617,311508347
,262188535,788701825,718114674,803014257
,998810810,771600347,95307335,413041952}
14
14
Correct
94.
{263987520,769423049,890415319,9623232,1
42803190,358238273,15925403,381452505,41
2684052,605869706,929841827,272024551,34
7846923,597549437}, {264075722,769469140
,890492670,9669589,142850255,358292955,1
5932572,381509274,412715187,605947536,92
9888022,272056300,347855672,597565295}
14
14
Correct
95.
{193288572,245504198,114340941,734032423
,462248432,400267328,845885559,715533853
,501737369,321762953,51806375,820373863,
578909093,68692523}, {193307742,24556602
0,114357882,734097978,462292661,40036355
5,845889995,715561908,501800015,32184883
3,51866947,820440243,578913670,68774204}
14
14
Correct
96.
{867892129,880367119,3566978,593920965,1
0940336,53774898,44313412,146069804,7204
09343,893315077,455233142,980554190,3770
46999,306963087,803245900}, {867936243,8
80462894,3575209,593976914,10988347,5382
0132,44387689,146144518,720492322,893330
116,455300982,980605483,377103257,307038
124,803276068}
15
15
Correct
97.
{678033856,230259666,95165492,415964134,
3671824,21929928,221941481,808357444,174
559458,875294687,107831810,440088094,758
045615,810005866,857771174}, {678115527,
230289215,95256547,415986980,3674698,219
87525,222006038,808361844,174595037,8753
78188,107885537,440162847,758102106,8100
49286,857828199}
15
15
Correct
98.
{294657741,838576507,692355790,225067374
,918291870,683144975,849156962,961946689
,398364981,761336880,205044729,129309812
,175549249,726028396,470430928}, {294675
794,838637790,692380220,225112905,918365
951,683157832,849248275,961949101,398436
858,761404221,205134667,129392492,175597
245,726054180,470432864}
15
15
Correct
99.
{787734793,393198085,583022235,211843882
,156214046,78389420,744497173,634261127,
329795041,244416906,147099173,551709777,
382185240,22883180,613499279}, {78780240
2,393220785,583031803,211869568,15623407
3,78424057,744519377,634286403,329811215
,244425440,147110702,551794482,382281274
,22901801,613555213}
15
15
Correct
100.
{126783495,802777467,534327951,473329100
,627548254,352952990,55658478,77960467,6
08827556,30041835,900614005,122236219,60
3538677,98488367,789075224}, {126794794,
802795962,534373702,473346834,627624822,
353013410,55677640,78030426,608869660,30
130774,900646726,122299911,603582222,985
29434,789110419}
15
15
Correct