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: [67, 11, 129, 172]
Example Output: [202, 34, 388, 86]

Example Input: [85, 53]
Example Output: [256, 160]

Example Input: [65, 45, 25, 156, 31, 8, 193]
Example Output:
[196, 136, 76, 78, 94, 4, 580]