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: 2, ['y', '3963', '8261', 'B', '3967', 'E', '1187', 'c', '3939', '5063', '7873', '7047', 'd', 'Z', 'Q', '8429', 'L', 'g', '6961', 'B', '2441', 'G', 'h', 'e', '2695', 'j']

SOLUTION: y, 3963, 8261, B, 3967, E, 1187, c, 3939, 5063, 7873, 7047, d, Z, Q, 8429, L, g, 6961, B, 2441, G, h, e

PROBLEM: 8, ['m', '4399', '9663', 'e', 'A', 't', '5629', '1611', '3415', 'F', 'x', 'H', 'E', '8461', '2341', '3385', '6163', '2239', '2189', '8123', 'y', 'D', '9571', '7377', '4305', 'l', '2901', 'O', '6273']

SOLUTION: m, 4399, 9663, e, A, t, 5629, 1611, 3415, F, x, H, E, 8461, 2341, 3385, 6163, 2239, 2189, 8123, y

PROBLEM: 9, ['5899', '901', 'W', '7527', '179', '8419', 'm', '4275', '3781', '1909', 'v', '8947', 'D', '4709', '405', 'E', 'A', '8725', '8383', 'b', 'F', 't', '1103', '171', '5389', '8897', '4867', 'q']

SOLUTION:
5899, 901, W, 7527, 179, 8419, m, 4275, 3781, 1909, v, 8947, D, 4709, 405, E, A, 8725, 8383