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: [141, 160, 177, 20, 148]

SOLUTION: [424, 80, 532, 10, 74]

PROBLEM: [25, 57, 53, 108, 2]

SOLUTION: [76, 172, 160, 54, 1]

PROBLEM: [94, 191, 130, 176, 137, 38, 84]

SOLUTION:
[47, 574, 65, 88, 412, 19, 42]