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: 7, ['5891', 'h', '2299', '3189', 'b', '7005', 'R', 'd', 'R', '4617', 'Y', '6825', '2765', 'C', '8433', 'n', 'Y', '37', '837', 'K', '373', '7097', '8121', '4203']

SOLUTION: 5891, h, 2299, 3189, b, 7005, R, d, R, 4617, Y, 6825, 2765, C, 8433, n, Y

PROBLEM: 3, ['4885', 'j', '8139', 'u', 'e', '1617', '5899', 'v', '1121', '8275', 'l', 'F', 'V', '5603', 'a', 'f', '565', 'B', '8819']

SOLUTION: 4885, j, 8139, u, e, 1617, 5899, v, 1121, 8275, l, F, V, 5603, a, f

PROBLEM: 2, ['j', 'J', '9667', '7613', 'r', 'F', 'a', 'G', 'z', 'U', 'L', '25', 'H', '5453', 'X', '1379', 'O', '8227', '349', 'N', 'q', 'D', '4017', '1445', '745']

SOLUTION:
j, J, 9667, 7613, r, F, a, G, z, U, L, 25, H, 5453, X, 1379, O, 8227, 349, N, q, D, 4017