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: [178, 118, 116, 84, 82, 175, 23, 14]

SOLUTION: [89, 59, 58, 42, 41, 526, 70, 7]

PROBLEM: [13, 149, 174, 146, 142]

SOLUTION: [40, 448, 87, 73, 71]

PROBLEM: [195, 168, 34, 174, 29, 194, 130, 14]

SOLUTION:
[586, 84, 17, 87, 88, 97, 65, 7]