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, ['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]: 6, ['x', '7725', '833', 'B', 'p', 'F', '591', 'A', 'C', '1785', '2309', 'E']
[EX A]: x, 7725, 833, B, p, F

[EX Q]: 3, ['9123', '3465', '9041', 'K', 'v', 'w', '4769', 'J']
[EX A]:
9123, 3465, 9041, K, v