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: [11, 39, 43, 67]

Answer: [46, 158, 174, 270]


Question: [-62, -61, -37, -62, 16, -12, 36]

Answer: [-15.5, -242, -146, -15.5, 4.0, -3.0, 9.0]


Question: [-44, -35, -46, -52, 37, -10, -95, -65, 87]

Answer:
[-11.0, -138, -11.5, -13.0, 150, -2.5, -378, -258, 350]