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: [65, 98, 164, 193, 123, 127, 48, 178]

SOLUTION: [196, 49, 82, 580, 370, 382, 24, 89]

PROBLEM: [200, 108, 170, 180, 155, 131, 96, 68, 188]

SOLUTION: [100, 54, 85, 90, 466, 394, 48, 34, 94]

PROBLEM: [82, 160]

SOLUTION:
[41, 80]