In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by 4, if the element is odd you should multiply by 4 then add 2. The output should be a list of numbers that is the result of applying that logic to the input list. You should not round any decimals in the output. Zero should be counted as an even integer.
--------
Question: [49, 80, 13, 0, 87]

Answer: [198, 20.0, 54, 0.0, 350]


Question: [-14, -34, -63, 81, -67, -17, -33]

Answer: [-3.5, -8.5, -250, 326, -266, -66, -130]


Question: [49, 0, 88, -61, -83, -43, 50, 38, -51, 30, 69]

Answer:
[198, 0.0, 22.0, -242, -330, -170, 12.5, 9.5, -202, 7.5, 278]