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]: 3, ['8109', '3725', '4809', 'n', '1761', 'u', '7147']
[EX A]: 8109, 3725, 4809, n

[EX Q]: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
[EX A]: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

[EX Q]: 9, ['8489', 'w', '8869', 't', '5997', '8863', 'e', '6229', 'b', '83', 'l', '7271', '4205', 'G', '3375', '7663', 'w', 'N', '493', '6629', 'o', 'Q', '3543', '2725', 'G', '5207', 'a']
[EX A]:
8489, w, 8869, t, 5997, 8863, e, 6229, b, 83, l, 7271, 4205, G, 3375, 7663, w, N