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: 3, ['Z', '1867', '3395', '4065', 'a', 'f', 'X', 'V', 'R', 'P', 'g', '2191', '933', '7691', '4161', 'P', 'r', '4905', '251', 'r', 'j', '5105', '1141']

SOLUTION: Z, 1867, 3395, 4065, a, f, X, V, R, P, g, 2191, 933, 7691, 4161, P, r, 4905, 251, r

PROBLEM: 3, ['8149', 'k', '6879', '8759', 'V', 'B', '6905', '6223', '1669', 'o', 'V', 'Z', '7441', '5477', '2353']

SOLUTION: 8149, k, 6879, 8759, V, B, 6905, 6223, 1669, o, V, Z

PROBLEM: 15, ['6403', 'V', 't', '6435', 'Q', 'A', '7157', '3901', '3057', 'B', '8425', 'a', '7903', 'y', 'y', '2893', 'x', '19', 'f', '6505', '1435', '5097', 's', 'r', '3415', '9469', '4921', '3053', '711', 'o']

SOLUTION:
6403, V, t, 6435, Q, A, 7157, 3901, 3057, B, 8425, a, 7903, y, y