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: 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: 5, ['5315', '8773', 'Z', '4873', 'r', '2929', 'K', 'y', '4997', '6739', 'U', 'j']

SOLUTION: 5315, 8773, Z, 4873, r, 2929, K

PROBLEM: 14, ['973', '2765', '6453', 'f', '9781', 'N', 'n', 'u', '9537', 'P', '7035', '8403', '8313', 'p', '2077', 'H', 'V', '6307', 'r', 't', 'w', '5801', '6351', '4601', '8981', 'Z', 'C', 'w', '2407']

SOLUTION:
973, 2765, 6453, f, 9781, N, n, u, 9537, P, 7035, 8403, 8313, p, 2077