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.

Ex Input:
[94, 35, 39, 117, 82, 71, 194]

Ex Output:
[47, 106, 118, 352, 41, 214, 97]


Ex Input:
[113, 59, 134]

Ex Output:
[340, 178, 67]


Ex Input:
[126, 80, 126, 135, 78, 41, 74, 192]

Ex Output:

[63, 40, 63, 406, 39, 124, 37, 96]