you observation n m 6side dice roll face number 1 6 n observation go miss observation m roll fortunately calculate average value n m rollsyou give integer array roll length m rollsi value ith observation you give integer mean nReturn array length n contain miss observation average value n m roll exactly mean if multiple valid answer return if array exist return arraythe average value set k number sum number divide kNote mean integer sum n m roll divisible n m Example 1input roll 3243 mean 4 n 2output 66explanation the mean n m roll 3 2 4 3 6 6 6 4example 2input roll 156 mean 3 n 4output 2322explanation the mean n m roll 1 5 6 2 3 2 2 7 3example 3input roll 1234 mean 6 n 4Output Explanation it impossible mean 6 matter 4 miss roll Constraintsm rollslength1 n m 1051 rollsi mean 6