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.

[EX Q]: [192, 92, 157, 50, 110, 2]
[EX A]: [96, 46, 472, 25, 55, 1]

[EX Q]: [148, 43, 86, 146, 173, 44, 95, 99]
[EX A]: [74, 130, 43, 73, 520, 22, 286, 298]

[EX Q]: [93, 135, 105, 168, 101, 86, 126, 75]
[EX A]:
[280, 406, 316, 84, 304, 43, 63, 226]