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 Input:
[-3, -90, 54, -39, 66, 45]

Ex Output:
[-10, -22.5, 13.5, -154, 16.5, 182]


Ex Input:
[-8, 30, -91, -57, -90, -70, -3, -2, -3]

Ex Output:
[-2.0, 7.5, -362, -226, -22.5, -17.5, -10, -0.5, -10]


Ex Input:
[1, 17, 74, 22, 10, 38, -7, -100, 96, 31]

Ex Output:

[6, 70, 18.5, 5.5, 2.5, 9.5, -26, -25.0, 24.0, 126]