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, ['6213', '5491', '9761', 'L', '3875', 'I', '8323', 'G', 'N', '1499', 'h', '8975', '6511', 'g', 'b', 'N', 'g', '8115', 'Y', 'j', 'h', '9215', '401', '701', 't']
[EX A]: 6213, 5491, 9761, L, 3875, I, 8323, G, N, 1499, h, 8975, 6511, g, b, N

[EX Q]: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']
[EX A]: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y

[EX Q]: 7, ['9759', 'q', 'M', '5217', 'u', 'L', 'g', '7211', '4107', 'm', 'S', 'Y', '3', 'u', 'e']
[EX A]:
9759, q, M, 5217, u, L, g, 7211