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: [94, 69, 78, 65]
Example Output: [47, 208, 39, 196]

Example Input: [105, 121, 113, 149]
Example Output: [316, 364, 340, 448]

Example Input: [53, 56, 178, 61, 81]
Example Output:
[160, 28, 89, 184, 244]