TASK DEFINITION: In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
PROBLEM: 6, ['p', 'z', 'n', '5759', 'i', '6115', '2605', 'i', 'O', '8597', 'G', 'A', 'd', 's', '1271', 'F', '6911']

SOLUTION: p, z, n, 5759, i, 6115, 2605, i, O, 8597, G

PROBLEM: 5, ['467', 'X', 'l', '895', 'F', '9837', 'H', 'y', 'n', '8395', '8195', 'Y', 'O', 'T']

SOLUTION: 467, X, l, 895, F, 9837, H, y, n

PROBLEM: 14, ['x', 'b', '1929', '1667', '153', '2933', '5469', 'Z', 'w', 'O', 'Q', '3307', 'f', '5393', '1273', '7171', '1761', 'e', 'S', 'R', '71', '3997', '2385', '2659', 'f', '8205', '8533', '2981', 'v', 'd']

SOLUTION:
x, b, 1929, 1667, 153, 2933, 5469, Z, w, O, Q, 3307, f, 5393, 1273, 7171