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: [169, 9, 145, 174]

SOLUTION: [508, 28, 436, 87]

PROBLEM: [163, 52, 50, 31, 200, 27, 68]

SOLUTION: [490, 26, 25, 94, 100, 82, 34]

PROBLEM: [64, 135, 128, 125, 29]

SOLUTION:
[32, 406, 64, 376, 88]