instruction:
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.
question:
[12, 157]
answer:
[6, 472]


question:
[166, 73]
answer:
[83, 220]


question:
[118, 30, 112, 57, 145, 124, 41, 110]
answer:

[59, 15, 56, 172, 436, 62, 124, 55]