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.

[0, 91, 80, -18, 31]
[0.0, 366, 20.0, -4.5, 126]

[43, 25, 28, 60, 85, -90, 50, 18, -96, 46, -59]
[174, 102, 7.0, 15.0, 342, -22.5, 12.5, 4.5, -24.0, 11.5, -234]

[88, 57, 77, -2, -1, -13, -72, -78, 58, -66, 26]

[22.0, 230, 310, -0.5, -2, -50, -18.0, -19.5, 14.5, -16.5, 6.5]