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.

[EX Q]: [57, 97, 72, 35, 1, 35, -4]
[EX A]: [230, 390, 18.0, 142, 6, 142, -1.0]

[EX Q]: [-22, 39, 98, 34, 11]
[EX A]: [-5.5, 158, 24.5, 8.5, 46]

[EX Q]: [56, -62, 48, -1, 48, -64, -44, 90, 84, -95, 82]
[EX A]:
[14.0, -15.5, 12.0, -2, 12.0, -16.0, -11.0, 22.5, 21.0, -378, 20.5]