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: [184, 176, 170]
Example Output: [92, 88, 85]

Example Input: [72, 194, 26, 10, 96, 199, 14]
Example Output: [36, 97, 13, 5, 48, 598, 7]

Example Input: [79, 180, 99, 20, 80, 50, 100, 119]
Example Output:
[238, 90, 298, 10, 40, 25, 50, 358]