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]: [-26, 7, 10, 89, -30, 76, -2, -55]
[EX A]: [-6.5, 30, 2.5, 358, -7.5, 19.0, -0.5, -218]

[EX Q]: [-40, -35, -83, -92, 11, -80, 15]
[EX A]: [-10.0, -138, -330, -23.0, 46, -20.0, 62]

[EX Q]: [55, -39, -45, 62, -78, -68, -21]
[EX A]:
[222, -154, -178, 15.5, -19.5, -17.0, -82]