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, ['7835', '8157', 'q', '1331', '9025', '8057', '1681', '4049', '5333', 'H', '8769', 'h', 'y']
[EX A]: 7835, 8157, q, 1331, 9025, 8057, 1681, 4049, 5333, H

[EX Q]: 2, ['9383', '2293', 'I', '705']
[EX A]: 9383, 2293

[EX Q]: 5, ['8289', '1383', '343', '2065', 'u', '2709', 'L', 'Z', '2031', 'o', 'Y', '7731', '6737', '1911', 'N', '2545', 'K', '4363', 'F', 'J', '1239', '9361']
[EX A]:
8289, 1383, 343, 2065, u, 2709, L, Z, 2031, o, Y, 7731, 6737, 1911, N, 2545, K