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.

[EX Q]: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
[EX A]: X, 2625, l, 533, j, 265, O, h, 9031

[EX Q]: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
[EX A]: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

[EX Q]: 12, ['d', '785', '1481', 'U', '5321', 'l', 'w', 'x', '8097', '1315', '3207', '5091', '8827', '4179', 'K', '1257', '5759', '6727', 'S', '7861', '8337', '1859', 'R', 'd', 'u', '8019', '3573', '1735', 'b']
[EX A]:
d, 785, 1481, U, 5321, l, w, x, 8097, 1315, 3207, 5091, 8827, 4179, K, 1257, 5759