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, ['1323', 'p', '7981', 'x', '1135', '8007', 'k', '7763', 'v', '8851', '2491', '4337', 'B', 'e', 'J', '6689', '871', 'e', 'i', '6377', '7289', 'W', 'L', 't']

SOLUTION: 1323, p, 7981, x, 1135, 8007, k, 7763, v, 8851, 2491, 4337, B, e, J, 6689, 871, e, i, 6377, 7289, W

PROBLEM: 4, ['E', 'k', 'b', '8941', 'B', '2093', 'J', 'W', '901', 'M']

SOLUTION: E, k, b, 8941, B, 2093

PROBLEM: 13, ['9633', 'T', '1385', '5449', '3611', 'T', '3821', '2583', 'Z', 'Q', 'A', 'A', '8521', '3871', '7555', 'g', 'h', 'Z', '9107', '3459', '6131', 'u', '3341', 'u', 'x', 'R']

SOLUTION:
9633, T, 1385, 5449, 3611, T, 3821, 2583, Z, Q, A, A, 8521