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.

[Q]: 2, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']
[A]: 977, Z, R, 8793, 2449, 2051


[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']
[A]: 4887, 3163, l, C, h, 9737, 3845, 3531, u, r, 1461, 3167, 9285, 6655, p, m, l, 7663, 9635, 2167, G, q


[Q]: 2, ['L', '9611', 'n', '5691', 'C', 'F', '2559', '6073', '4191', 'A', 'V', 'j', 'n']
[A]:
L, 9611, n, 5691, C, F, 2559, 6073, 4191, A, V