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: 13, ['p', 'L', '639', '5445', 'a', '5163', 'o', '5187', '3417', '6657', '7927', '9571', '8463', '2029', 'O', 'Q', 'x', 'G', 'i', 'h', '6847', '2741', '3585', 'B', '8121', 't', '3535']

SOLUTION: p, L, 639, 5445, a, 5163, o, 5187, 3417, 6657, 7927, 9571, 8463, 2029

PROBLEM: 8, ['3149', '7327', '8513', '4681', 'O', '5083', 'A', 'z', '5367', '3713', '8887', 'U', '23', '8091', 'A', 'k', 'F', 's', 'Y', '2217', '6479', 'F', '2239', '3305', 'N', '8459', '667', 'D', 'j']

SOLUTION: 3149, 7327, 8513, 4681, O, 5083, A, z, 5367, 3713, 8887, U, 23, 8091, A, k, F, s, Y, 2217, 6479

PROBLEM: 6, ['489', '765', 'l', 'Z', '2735', '9623', 'j', 'B', 'C', '8549', 'f', 'Q', '2581', '6101', '3245', '5565', '3973', '4791', 'p', 'W', '8273']

SOLUTION:
489, 765, l, Z, 2735, 9623, j, B, C, 8549, f, Q, 2581, 6101, 3245