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]: [-59, 46, -84, 23, 57, -34, 96, 61]
[EX A]: [-234, 11.5, -21.0, 94, 230, -8.5, 24.0, 246]

[EX Q]: [71, 97, -99, 72, 21, 97, 71]
[EX A]: [286, 390, -394, 18.0, 86, 390, 286]

[EX Q]: [29, 93, -6, 97, -47, -2, -8, 44, 25]
[EX A]:
[118, 374, -1.5, 390, -186, -0.5, -2.0, 11.0, 102]