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.

Example Input: [21, -100]
Example Output: [86, -25.0]

Example Input: [-3, -90, 54, -39, 66, 45]
Example Output: [-10, -22.5, 13.5, -154, 16.5, 182]

Example Input: [1, -77, -84, -45, -9, 5, -33]
Example Output:
[6, -306, -21.0, -178, -34, 22, -130]