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 two, if the element is odd you should multiply by three then add one. The output should be a list of integers that is the result of applying that logic to the input list.
--------
Question: [128, 1, 55, 108]

Answer: [64, 4, 166, 54]


Question: [55, 75]

Answer: [166, 226]


Question: [72, 1, 45, 150, 11, 118, 25, 64, 163]

Answer:
[36, 4, 136, 75, 34, 59, 76, 32, 490]