Essentially I have a list of numbers [5,2,4] that I want to multiply by 0.5 x number of times and get the ssum of. Where the number of times is also given in a list [3,5,7].