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]: 1, ['6587', 'e', 't', 'F', 'g', '9487', '7565', 'k', 'R', 'F', '6891', '143', 'k', '327', '3797', 'C', 'P', 'P', '5053', '7441', 'm', '5799', 'Q']
[EX A]: 6587, e, t, F, g, 9487, 7565, k, R, F, 6891, 143, k, 327, 3797, C, P, P, 5053, 7441, m, 5799

[EX Q]: 1, ['4887', '3163', 'l', 'C', 'h', '9737', '3845', '3531', 'u', 'r', '1461', '3167', '9285', '6655', 'p', 'm', 'l', '7663', '9635', '2167', 'G', 'q', 'N']
[EX A]: 4887, 3163, l, C, h, 9737, 3845, 3531, u, r, 1461, 3167, 9285, 6655, p, m, l, 7663, 9635, 2167, G, q

[EX Q]: 12, ['5743', '7959', '6263', 'k', 'D', 'I', 'f', '171', 'x', 'B', '8821', 'X', '5291', 'X', '7239', '5225', 'b', 'j', '111', 'E', '4609', 'V', 'e', '1929', '4513', '2877', '3025', 'b']
[EX A]:
5743, 7959, 6263, k, D, I, f, 171, x, B, 8821, X, 5291, X, 7239, 5225