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: [134, 197, 44]

Answer: [67, 592, 22]


Question: [11, 195]

Answer: [34, 586]


Question: [34, 149, 40, 122, 112, 148, 200, 147]

Answer:
[17, 448, 20, 61, 56, 74, 100, 442]