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: 1, ['6109', 'd']

SOLUTION: 6109

PROBLEM: 2, ['R', 'S', '6131', '6103', '2787', 'p', '6131', '7353', 'e', '6111', 'B', '5377', '4403', '687', 'C', 'v', 'B', '2295', '2745', '3865', 'w', 'u', 'v', '6635']

SOLUTION: R, S, 6131, 6103, 2787, p, 6131, 7353, e, 6111, B, 5377, 4403, 687, C, v, B, 2295, 2745, 3865, w, u

PROBLEM: 10, ['3101', 'F', 'W', 'g', '5335', 'I', 'K', '7351', '8983', '1279', '8587', '2875', 'A', '6977', 'L', 'E', '2329', 'v', 'J', 'e', 'x']

SOLUTION:
3101, F, W, g, 5335, I, K, 7351, 8983, 1279, 8587