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, ['n', '2253', '7809', 'U', 'X', '5899', 'R', '6509']
[EX A]: n, 2253, 7809, U, X, 5899, R

[EX Q]: 10, ['1287', 'v', 't', '7091', '7831', 't', '5853', '5609', 'J', 'p', '5277', '361', 't', 'u', 'H', '7867', '9503', '5817', 'f', '6005', 'B', 'z', 'q', 'o']
[EX A]:
1287, v, t, 7091, 7831, t, 5853, 5609, J, p, 5277, 361, t, u