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: [49, 15, 169, 160, 156]

Answer: [148, 46, 508, 80, 78]


Question: [182, 63, 199, 77, 6]

Answer: [91, 190, 598, 232, 3]


Question: [91, 131, 158, 192, 40, 148]

Answer:
[274, 394, 79, 96, 20, 74]