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.

Q: [14, 47, -37]

A: [3.5, 190, -146]
****
Q: [-44, 4, 63, 90, 14, 92, -28, 92, -60]

A: [-11.0, 1.0, 254, 22.5, 3.5, 23.0, -7.0, 23.0, -15.0]
****
Q: [-98, -86, -2, -54, -16, -91, 75, -65, -26]

A:
[-24.5, -21.5, -0.5, -13.5, -4.0, -362, 302, -258, -6.5]
****