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: [45, -28, 33, -28, 25, 64, 42]

Answer: [182, -7.0, 134, -7.0, 102, 16.0, 10.5]


Question: [-51, -4, -17, -2, -24]

Answer: [-202, -1.0, -66, -0.5, -6.0]


Question: [-57, 89, 63, 97, 65, -75, 70, -53, 66, 48]

Answer:
[-226, 358, 254, 390, 262, -298, 17.5, -210, 16.5, 12.0]