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.

Input: Consider Input: [-48, -70, 33, 85, 76, 78]

Output: [-12.0, -17.5, 134, 342, 19.0, 19.5]


Input: Consider Input: [-97, 85, -75, -76, 88, 12, -27, -45, -9]

Output: [-386, 342, -298, -19.0, 22.0, 3.0, -106, -178, -34]


Input: Consider Input: [99, -52, -53, -73, 4, 99, 83, -64, 29]


Output: [398, -13.0, -210, -290, 1.0, 398, 334, -16.0, 118]