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]: 12, ['E', '3459', 'J', 'd', 'k', '6663', 'z', 'X', '823', '7451', 'V', '81', 'M', '9619', '1435', '5885', 'y', '8269', '5829', 'A', '9089', 'k', 'u', '3689', 'x', '6195', 'k']
[EX A]: E, 3459, J, d, k, 6663, z, X, 823, 7451, V, 81, M, 9619, 1435

[EX Q]: 1, ['n', '2253', '7809', 'U', 'X', '5899', 'R', '6509']
[EX A]: n, 2253, 7809, U, X, 5899, R

[EX Q]: 9, ['Q', 'Q', '2239', 'W', '1285', '2119', '2611', 'P', '195', '1057', '3361', 'd', '7207', '8693', 'R', 'O', 'N', 'p', '8903', 'h', 'l', 'J', 'L', '7709', 'Z', '1971', '6569', 'E', 'H', 'F']
[EX A]:
Q, Q, 2239, W, 1285, 2119, 2611, P, 195, 1057, 3361, d, 7207, 8693, R, O, N, p, 8903, h, l