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: [168, 145, 32, 62, 30, 71, 65, 157, 86]
Example Output: [84, 436, 16, 31, 15, 214, 196, 472, 43]

Example Input: [15, 168, 141, 128, 106, 58, 193]
Example Output: [46, 84, 424, 64, 53, 29, 580]

Example Input: [67, 49, 195, 143, 166]
Example Output:
[202, 148, 586, 430, 83]