TASK DEFINITION: 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.
PROBLEM: [32, 46, 73, 12, 4, 143, 24, 123]

SOLUTION: [16, 23, 220, 6, 2, 430, 12, 370]

PROBLEM: [110, 63, 172, 119, 120]

SOLUTION: [55, 190, 86, 358, 60]

PROBLEM: [157, 4, 119]

SOLUTION:
[472, 2, 358]