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.

Example Input: [47, 53, 187, 31, 145]
Example Output: [142, 160, 562, 94, 436]

Example Input: [43, 33, 37, 116, 123, 91]
Example Output: [130, 100, 112, 58, 370, 274]

Example Input: [193, 175, 74, 92, 171, 120, 166, 114]
Example Output:
[580, 526, 37, 46, 514, 60, 83, 57]