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:
[140, 24, 168, 40, 119]
answer:
[70, 12, 84, 20, 358]


question:
[149, 10, 108, 42, 9, 79, 84, 153]
answer:
[448, 5, 54, 21, 28, 238, 42, 460]


question:
[178, 200, 195, 197, 75, 59, 134, 36, 124]
answer:

[89, 100, 586, 592, 226, 178, 67, 18, 62]