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: [163, 12, 116, 70, 26, 11, 148]

SOLUTION: [490, 6, 58, 35, 13, 34, 74]

PROBLEM: [62, 144, 54]

SOLUTION: [31, 72, 27]

PROBLEM: [117, 173, 168, 56, 51, 111, 171, 173, 16]

SOLUTION:
[352, 520, 84, 28, 154, 334, 514, 520, 8]