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, ['5269', 'f', 'A', 'y', 'b', '587', '5561', 't', '2711', '247', '6127', 'D', 'y', '2341', '2063', '8487', 'K', 'V', 'M', 'N', '7655', 'U', 'R', 'X', 'k', '2053', '5467']

SOLUTION: 5269, f, A, y, b, 587, 5561, t, 2711, 247, 6127, D, y, 2341

PROBLEM: 4, ['b', 'j', '5513', '2675', 'X', 't', '5799', '3691', 'q', 'v', 'X', 'F', 'Z', '3995', 'K', '5143', 'W', 'L', 'D', 'Y', 'G', 'E']

SOLUTION: b, j, 5513, 2675, X, t, 5799, 3691, q, v, X, F, Z, 3995, K, 5143, W, L

PROBLEM: 3, ['W', '9291', 'e', '3639', 'z', '7273', 'v', '9943', '4271', 'p', '5125', 'l', 'e', '7409', 'P', 'a', 'H', '5331', '8519', 'L', '8273', '7733', 'x', 'x', '87', 'X', '1217', 'O']

SOLUTION:
W, 9291, e, 3639, z, 7273, v, 9943, 4271, p, 5125, l, e, 7409, P, a, H, 5331, 8519, L, 8273, 7733, x, x, 87