Alice Bob opponent archery competition the competition set follow rulesAlice shoot numarrow arrow Bob shoot numArrows arrowsthe point calculate followsThe target integer scoring section range 0 11 inclusivefor section target score k 0 11 Alice Bob shoot ak bk arrow section respectively if ak bk Alice take k point if ak bk Bob take k pointshowever ak bk 0 take k pointsfor example Alice Bob shoot 2 arrow section score 11 Alice take 11 point on hand Alice shoot 0 arrow section score 11 Bob shoot 2 arrow section Bob take 11 pointsyou give integer numArrows integer array alicearrow size 12 represent number arrow Alice shoot scoring section 0 11 now Bob wants maximize total number point obtainreturn array bobarrows represent number arrow Bob shoot scoring section 0 11 the sum value bobarrows equal numarrowsif multiple way Bob earn maximum total point return Example 1input numarrow 9 alicearrow 110100210120output 000011001231explanation the table show competition score Bob earn total point 4 5 8 9 10 11 47it show Bob obtain score high 47 pointsExample 2input numarrow 3 alicearrow 001000000002output 000000001110explanation the table show competition scoredBob earn total point 8 9 10 27it show Bob obtain score high 27 point Constraints1 numarrow 105alicearrowslength bobarrowslength 120 aliceArrowsi bobarrowsi numArrowssumaliceArrowsi numArrows