# Results

## Test cases result

#Test Case inputExpectedReceivedStatus
1.
`{1,2}, {1,2}`
`4`
`4`
Correct
2.
`{1,0}, {2,1}`
`4`
`4`
Correct
3.
```{874,117,684,989,878}, {878,929,484,798,
210}```
`3182`
`3383`
Wrong
4.
```{518,430,331,924,521}, {674,166,494,726,
129}```
`2380`
`2779`
Wrong
5.
```{955,783,711,349,200}, {358,539,832,624,
673}```
`2458`
`3725`
Wrong
6.
```{290,815,400,60,542}, {452,439,602,390,7
26}```
`2182`
`2696`
Wrong
7.
```{815,71,74,101,194}, {461,825,669,444,70
6}```
`2250`
`2486`
Wrong
8.
```{778,723,805,783,602}, {336,3,790,501,83
5}```
`2070`
`2399`
Wrong
9.
```{507,774,640,319,567}, {631,594,872,661,
31}```
`2592`
`3028`
Wrong
10.
```{991,39,385,790,853,391,47,834,942,739},
{393,767,102,148,662,955,231,293,212,12
6}```
`3772`
`6005`
Wrong
11.
```{291,546,745,458,878,412,452,883,487,535
}, {436,124,449,504,733,508,841,478,483,
20}```
`2940`
`3952`
Wrong
12.
```{430,54,562,838,644,370,954,777,963,658}
, {538,131,475,927,893,310,307,728,217,8
78}```
`3686`
`6202`
Wrong
13.
```{99,176,936,242,322,194,912,316,430,935}
, {284,956,394,65,105,250,516,795,648,79
6}```
`3798`
`7644`
Wrong
14.
```{316,600,368,956,283,961,140,266,403,395
}, {140,447,462,170,173,447,261,989,990,
102}```
`3488`
`5220`
Wrong
15.
```{69,771,995,666,82,922,436,815,232,381},
{431,848,477,242,566,587,843,466,584,59
}```
`3430`
`6464`
Wrong
16.
```{298,746,372,31,128,933,717,625,860,688}
, {261,915,740,947,566,215,505,179,44,68
4}```
`4076`
`6187`
Wrong
17.
```{732,543,896,481,210,152,164,54,851,529}
, {185,774,770,792,829,570,593,8,322,336
}```
`3628`
`5649`
Wrong
18.
```{972,300,230,83,766,20,458,429,678,925},
{835,225,875,75,990,209,75,882,20,170}```
`3984`
`8531`
Wrong
19.
```{714,994,655,950,661,625,256,371,428,145
}, {665,256,301,849,125,447,904,5,269,15
8}```
`4434`
`6654`
Wrong
20.
```{777,183,743,765,420,553,233,950,478,902
}, {50,187,587,822,225,153,839,644,694,3
31}```
`3602`
`6158`
Wrong
21.
```{695,282,391,275,254,674,412,417,913,233
}, {243,758,58,217,962,390,96,436,523,72
2}```
`3384`
`5993`
Wrong
22.
```{105,21,967,454,859,490,285,828,394,341}
, {535,319,360,872,466,232,459,792,227,1
87}```
`3414`
`5721`
Wrong
23.
```{708,972,293,452,489,522,269,565,14,687}
, {912,81,988,494,247,584,301,374,300,42
7}```
`4348`
`5119`
Wrong
24.
```{227,169,328,612,64,126,145,405,784,361}
, {55,477,737,316,256,955,739,730,18,852
}```
`3466`
`6347`
Wrong
25.
```{757,418,731,537,162,153,713,617,882,365
}, {162,439,303,372,471,455,767,677,972,
774}```
`3272`
`6263`
Wrong
26.
```{854,507,71,626,931,961,233,243,749,961}
, {767,986,241,89,917,328,395,500,72,831
}```
`3822`
`7311`
Wrong
27.
```{707,524,362,525,501,611,64,905,496,161}
, {684,801,8,202,204,101,58,236,670,379}
```
`3474`
`6421`
Wrong
28.
```{862,604,290,172,528,419,620,562,694,24}
, {875,342,73,645,809,638,332,290,853,15
9}```
`3314`
`7350`
Wrong
29.
```{732,562,445,441,378,667,947,845,508,53}
, {782,645,49,869,397,647,590,734,652,19
9}```
`3556`
`5358`
Wrong
30.
```{45,980,87,545,758,737,172,389,867,760},
{420,790,655,298,879,718,152,867,124,84
}```
`3938`
`8112`
Wrong
31.
```{215,945,881,66,965,493,806,444,919,918}
, {644,33,435,522,691,536,988,687,846,48
3}```
`3790`
`5573`
Wrong
32.
```{219,370,555,490,336,72,410,1000,903,119
}, {615,140,515,120,326,304,373,507,707,
0}```
`3594`
`6882`
Wrong
33.
```{719,686,453,478,610,752,860,249,402,298
}, {986,326,347,564,391,632,366,234,959,
904}```
`3202`
`6733`
Wrong
34.
```{6,517,412,322,342,796,51,713,187,930},
{349,622,867,807,524,703,676,631,900,713
}```
`3070`
`7268`
Wrong
35.
```{771,977,815,389,997,712,227,15,170,686}
, {946,470,165,331,754,292,992,69,133,77
7}```
`4312`
`6648`
Wrong
36.
```{355,860,404,142,700,9,747,329,667,197},
{148,604,492,786,182,927,886,411,575,40
6}```
`3596`
`5663`
Wrong
37.
```{768,346,415,72,208,65,766,496,343,882},
{988,906,84,218,950,756,614,54,743,58}```
`3808`
`7328`
Wrong
38.
```{547,741,123,477,993,259,94,437,441,856}
, {775,172,641,648,459,561,121,892,719,6
9}```
`3786`
`6028`
Wrong
39.
```{1000,482,961,251,543,66,950,425,502,622
}, {507,276,633,805,439,482,667,511,252,
591}```
`3184`
`4381`
Wrong
40.
`{9,831,337,375,499}, {952,60,82,767,69}`
`3428`
`4084`
Wrong
41.
```{699,382,26,576,709}, {529,280,272,20,54
0}```
`2406`
`2233`
Wrong
42.
```{773,849,351,371,646}, {628,140,308,872,
652}```
`2460`
`2151`
Wrong
43.
```{869,543,692,807,372}, {459,246,295,607,
596}```
`1716`
`2552`
Wrong
44.
```{253,753,964,75,770}, {437,345,63,663,70
}```
`2978`
`3549`
Wrong
45.
```{568,963,968,583,894}, {902,702,609,405,
879}```
`1794`
`2073`
Wrong
46.
```{62,585,306,353,33}, {851,923,290,507,12
9}```
`2692`
`3631`
Wrong
47.
```{448,77,370,233,380}, {608,88,333,217,37
1}```
`1782`
`1545`
Wrong
48.
```{997,338,159,479,745}, {539,247,680,237,
369}```
`2562`
`2668`
Wrong
49.
```{877,888,964,297,368}, {439,954,573,835,
703}```
`2364`
`3246`
Wrong
50.
```{617,53,643,259,17}, {274,931,584,928,11
1}```
`2892`
`4540`
Wrong
51.
```{825,660,326,113,515,914,626,923,873,515
,834,887,8,605,288,161,86,57}, {150,112,
624,450,362,302,728,999,272,660,297,224,
193,780,945,747,94,126}```
`4840`
`14969`
Wrong
52.
```{125,695,958,959,405,669,880,13,742,894,
259,459,847,119,337,365,882,411}, {214,1
85,138,86,294,374,524,513,377,342,987,75
2,609,394,183,629,474,982}```
`4364`
`12089`
Wrong
53.
```{81,613,702,315,992,797,281,875,535,791,
798,43,152,737,657,976,871,253}, {686,53
3,370,502,728,754,375,686,859,303,512,83
3,51,194,189,606,628,667}```
`4366`
`10170`
Wrong
54.
```{294,628,950,127,247,751,617,408,743,924
,17,266,484,202,847,450,276,513}, {372,1
13,952,264,914,44,219,463,510,444,973,80
2,415,308,931,9,406,307}```
`4988`
`9204`
Wrong
55.
```{673,835,926,188,604,681,578,121,170,511
,686,434,353,877,209,894,374,436}, {497,
261,166,604,175,170,226,972,477,87,323,5
74,125,110,284,951,792,101}```
`4642`
`9846`
Wrong
56.
```{227,328,283,386,603,318,382,675,484,161
,601,395,127,31,360,328,286,513}, {34,42
4,329,503,387,649,715,145,866,655,763,91
1,90,121,788,892,995,287}```
`4032`
`9869`
Wrong
57.
```{606,755,37,999,204,782,29,227,949,955,5
93,216,265,714,903,939,513,771}, {314,70
4,787,422,856,715,846,630,377,411,526,49
1,66,943,347,284,791,696}```
`4366`
`9632`
Wrong
58.
```{428,216,93,789,253,67,554,738,521,442,7
26,497,546,546,491,809,122,267}, {725,53
,759,704,21,792,652,872,727,887,8,109,17
4,501,228,111,143,546}```
`4476`
`10123`
Wrong
59.
```{314,477,910,377,886,40,281,202,878,224,
585,528,682,144,269,884,859,596}, {666,6
45,989,560,502,474,622,870,284,641,346,3
11,493,329,847,907,731,698}```
`4244`
`8309`
Wrong
60.
```{825,432,675,479,45,227,529,405,909,976,
372,666,117,411,378,307,877,762}, {272,4
15,672,897,388,352,791,403,316,999,208,4
81,740,611,14,213,504,668}```
`5016`
`10459`
Wrong
61.
```{179,550,399,85,217,467,181,93,320,285,4
50,503,755,976,257,547,604,437}, {382,95
5,126,986,529,836,476,889,133,731,216,80
9,932,454,951,560,741,169}```
`4412`
`10521`
Wrong
62.
```{44,565,889,786,774,83,81,866,167,350,76
2,782,393,374,665,707,311,939}, {501,759
,759,271,395,155,496,640,947,449,171,186
,577,571,960,22,885,414}```
`4492`
`12620`
Wrong
63.
```{833,60,490,734,649,463,927,255,354,997,
360,644,382,100,684,171,683,358}, {815,2
,394,792,334,821,221,527,374,128,352,761
,192,887,174,261,713,170}```
`4746`
`10798`
Wrong
64.
```{148,326,376,464,464,52,363,240,680,87,2
54,138,668,668,717,437,998,599}, {446,42
,239,71,598,412,49,401,814,481,636,890,1
88,483,117,775,504,391}```
`4478`
`8860`
Wrong
65.
```{932,591,910,735,129,931,666,953,971,815
,526,688,801,114,460,195,509,706}, {355,
768,178,684,408,557,885,473,552,526,337,
760,408,130,616,141,708,545}```
`3804`
`7411`
Wrong
66.
```{614,683,992,330,69,760,506,659,659,61,8
79,396,264,483,477,504,446,177}, {586,11
9,963,824,900,223,491,202,121,172,648,83
1,608,889,376,526,654,423}```
`4944`
`8809`
Wrong
67.
```{501,402,301,21,515,558,692,401,176,788,
119,854,351,600,437,56,705,269}, {218,99
4,309,293,264,764,440,859,726,620,644,33
0,714,427,407,255,571,868}```
`3990`
`9651`
Wrong
68.
```{770,770,728,259,760,568,945,509,254,540
,975,746,818,37,703,863,359,139}, {456,3
68,834,482,176,514,171,758,738,673,493,3
42,697,860,920,630,807,226}```
`4510`
`10758`
Wrong
69.
```{570,349,418,685,958,300,11,767,875,57,3
0,497,273,475,612,424,245,883}, {930,736
,754,238,298,388,985,140,293,990,50,921,
103,771,310,401,505,59}```
`4732`
`11938`
Wrong
70.
```{208,877,719,894,491,38,276,139,583,677,
606,582,382,360,967,418,229,872}, {283,4
04,542,781,583,707,471,540,855,292,517,1
12,924,463,334,270,451,385}```
`4542`
`9705`
Wrong
71.
```{457,72,1,739,223,689,108,583,744,980,35
,955,569,566,221,157,6,156}, {999,29,901
,753,658,872,775,139,459,145,645,702,417
,285,436,163,76,91}```
`5166`
`13839`
Wrong
72.
```{243,370,123,354,969,239,186,597,185,389
,812,770,36,785,265,317,790,527}, {472,1
15,759,468,17,184,293,151,169,712,76,70,
904,425,940,438,817,238}```
`4474`
`9901`
Wrong
73.
```{560,32,673,472,674,600,449,626,602,225,
2,873,813,251,584,748,602,629}, {728,336
,701,432,32,959,592,865,556,692,945,120,
860,42,723,272,601,674}```
`4912`
`7466`
Wrong
74.
```{301,43,820,611,887,835,517,957,602,141,
941,505,508,964,218,260,359,799}, {904,1
48,863,707,123,818,993,555,773,156,354,5
23,36,23,926,167,45,168}```
`4864`
`12782`
Wrong
75.
```{547,744,463,797,410,791,496,549,768,24,
356,582,582,321,174,299,830,714}, {902,4
02,228,529,61,594,912,156,137,699,324,65
,828,632,121,87,14,542}```
`4298`
`9805`
Wrong
76.
```{810,246,777,423,652,240,836,809,961,101
,20,186,648,850,539,182,619,966}, {635,1
75,527,355,839,583,817,748,704,836,99,69
8,396,225,809,174,152,470}```
`4672`
`12054`
Wrong
77.
```{352,763,407,914,482,92,321,259,391,273,
558,803,75,136,427,212,850,48}, {453,863
,876,307,676,883,580,379,676,902,740,782
,685,397,944,819,868,77}```
`4692`
`10319`
Wrong
78.
```{497,902,939,420,213,116,102,199,818,231
,395,711,397,130,478,808,634,959}, {84,7
90,213,453,132,147,310,345,34,704,885,81
6,880,37,791,677,343,149}```
`4570`
`10944`
Wrong
79.
```{198,679,794,990,96,198,284,281,284,432,
424,559,220,409,129,305,302,908}, {240,1
85,881,129,323,175,129,116,265,390,487,5
5,778,266,463,779,186,857}```
`4330`
`9003`
Wrong
80.
```{681,294,174,418,238,653,428,688,98,295,
27,621,750,309,226,650,495,567}, {391,66
2,144,383,282,845,90,66,500,636,442,72,6
9,80,654,479,808,810}```
`3556`
`10020`
Wrong
81.
```{200,411,389,77,715,449,722,595,718,543,
237,20,595,472,721,850,573,22}, {339,428
,207,438,731,581,482,784,572,770,279,43,
256,466,937,395,37,563}```
`4230`
`10520`
Wrong
82.
```{789,369,94,848,389,371,843,527,139,678,
447,121,33,471,48,166,201,955}, {442,658
,239,195,367,395,394,921,51,648,340,150,
513,394,380,670,740,85}```
`4384`
`11226`
Wrong
83.
```{474,677,458,467,507,851,463,518,443,368
,714,379,124,401,377,424,982,385}, {105,
289,512,521,566,97,112,561,426,753,44,14
0,743,279,604,513,381,442}```
`3552`
`6434`
Wrong
84.
```{267,453,88,256,784,388,275,35,370,992,7
9,993,313,251,965,679,857,12}, {297,874,
938,938,868,361,392,153,288,561,4,623,91
6,206,117,433,473,943}```
`4760`
`13655`
Wrong
85.
```{190,224,946,214,443,931,362,760,977,939
,200,706,845,920,526,567,897,19}, {743,2
51,969,974,530,194,137,397,806,865,428,3
36,504,808,267,738,612,824}```
`4920`
`11195`
Wrong
86.
```{233,746,324,299,924,490,849,558,353,529
,592,281,669,128,335,649,424,444}, {995,
13,957,944,786,132,307,156,633,683,825,4
54,720,381,434,66,506,351}```
`4358`
`9227`
Wrong
87.
```{975,771,683,834,233,869,353,891,613,798
,866,864,167,126,479,333,524,446}, {604,
251,209,540,645,155,422,803,70,33,150,39
2,635,806,368,885,225,825}```
`3818`
`11019`
Wrong
88.
```{405,535,810,98,36,569,191,237,894,471,5
90,182,250,259,886,29,223,840}, {988,999
,36,531,295,937,120,665,314,517,527,61,1
97,224,704,561,929,737}```
`4534`
`13230`
Wrong
89.
```{9,359,691,721,790,771,522,65,55,278,81,
542,553,931,318,527,419,434}, {656,938,5
65,832,733,927,92,871,172,999,552,214,20
9,353,720,165,384,428}```
`4808`
`9603`
Wrong
90.
```{93,561,209,187,300,185,814,230,644,960,
559,654,306,559,917,211,213,180}, {427,9
34,815,96,84,171,150,692,87,426,198,996,
143,508,967,736,812,102}```
`4394`
`11714`
Wrong
91.
```{925,900,839,583,313,280,959,156,329,463
,640,166,840,0,237,180,901,404}, {858,18
5,495,562,304,586,378,876,337,74,393,764
,178,736,382,150,678,449}```
`4902`
`9538`
Wrong
92.
```{752,241,43,779,999,805,585,643,614,598,
578,411,393,854,27,384,499,108}, {955,15
,632,733,258,113,38,539,973,801,321,420,
798,771,773,44,385,251}```
`4758`
`11474`
Wrong
93.
```{237,866,362,215,385,944,548,677,125,646
,101,313,352,817,960,323,323,896}, {211,
236,723,832,314,916,988,635,666,118,185,
421,678,879,402,515,127,242}```
`4724`
`10350`
Wrong
94.
```{466,157,979,334,274,995,270,905,472,252
,714,248,427,584,549,489,50,508}, {906,3
84,526,903,15,536,296,74,194,146,310,160
,860,139,912,679,923,513}```
`4602`
`9302`
Wrong
95.
```{272,14,488,496,843,743,581,50,531,384,4
35,145,40,256,104,585,943,873}, {943,697
,467,247,33,188,636,126,490,560,156,317,
495,856,411,999,876,151}```
`5104`
`14095`
Wrong
96.
```{464,657,666,71,951,790,89,81,2,570,492,
524,500,282,472,989,512,70}, {355,311,10
1,902,325,12,585,722,917,213,913,890,773
,740,70,675,323,610}```
`4592`
`10328`
Wrong
97.
```{25,660,89,803,220,346,232,736,74,425,13
5,849,378,729,479,267,625,727}, {785,922
,442,821,958,766,732,519,843,285,956,986
,923,404,238,560,500,867}```
`4100`
`10408`
Wrong
98.
```{961,183,906,809,809,431,803,375,920,515
,575,578,124,362,648,582,504,455}, {297,
623,146,659,512,797,413,351,649,773,635,
906,362,491,422,131,33,573}```
`4278`
`8335`
Wrong
99.
```{463,824,675,293,54,772,806,161,38,176,7
28,110,27,676,988,896,499,349}, {66,374,
215,276,96,390,529,901,749,540,230,166,9
03,62,11,253,527,737}```
`4594`
`11330`
Wrong
100.
```{166,866,171,523,614,533,728,262,77,29,7
30,828,273,704,959,149,630,928}, {19,981
,324,868,493,564,834,559,23,168,674,894,
538,436,251,240,412,994}```
`4532`
`12180`
Wrong