We are passing in 3 inputs.a list of numbersa multiplier value, Ma value
We are passing in 3 inputs.a list of numbersa multiplier value, Ma value,
N
You should multiply every Nth element (do not multiply the 0th element) by M. So, if N is 3, you start with the 3rd element, which is index 2.
If there are less than N elements then you should output the unchanged input list.