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]: 14, ['9735', '7407', '2315', '635', '4435', 'I', 'q', '4041', 'Z', '8667', 'x', 'n', 'p', 'h', '1391', '6509', 'u', 'O', '5497', '2601', '6359', 'Z', 'g', 'w', 'g', '2135', 'Z', 'a']
[EX A]: 9735, 7407, 2315, 635, 4435, I, q, 4041, Z, 8667, x, n, p, h

[EX Q]: 1, ['D', 'X', 'M', '3281', 't', '5373', '5539', 'r', '1655', 'S', 'v', 'r', '5935', '3859', 'd', 'z', 'L', 'Z']
[EX A]: D, X, M, 3281, t, 5373, 5539, r, 1655, S, v, r, 5935, 3859, d, z, L

[EX Q]: 2, ['3851', '2101', '7061', 'G', 'F', 'J', 'T', 'D', 'v', 'u', 'n', '7045']
[EX A]:
3851, 2101, 7061, G, F, J, T, D, v, u