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]: 11, ['l', '331', 'e', 'd', '2135', 'E', 'D', '8433', '4443', 's', 'E', '9205', '4027', '9531', '3607', 'Z', 'o', 'U', 'D', '6289', 'p', 's', '5741']
[EX A]: l, 331, e, d, 2135, E, D, 8433, 4443, s, E, 9205

[EX Q]: 5, ['H', '3633', '8587', '9697', '4705', '7025', 'r', 'v', 'y', 'D', '4705']
[EX A]:
H, 3633, 8587, 9697, 4705, 7025