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]: 4, ['M', '6571', '2555', 'w', '5679', 'C', '2401', 'Q', 'a', '6885', 'N', '9237', 'p', 'n']
[EX A]: M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885

[EX Q]: 11, ['L', 'u', '2683', '1891', 'F', 'Z', '1443', 'h', 'n', 'L', 'X', '2321', '6451', 'N', 'e', 'H', 'P', '6171', 'P', '929', 'i', '9873', '1097', 'z', '5943', '427', 'R', '175']
[EX A]: L, u, 2683, 1891, F, Z, 1443, h, n, L, X, 2321, 6451, N, e, H, P

[EX Q]: 5, ['5769', '6341', '8653', 'o', '2473', '9589', 'g', '5233', '1959', 'g', 'M', '7945', 'H', 'w', 'Y', 'w', 'G', 'o', '1379', '8889', '3055', '101']
[EX A]:
5769, 6341, 8653, o, 2473, 9589, g, 5233, 1959, g, M, 7945, H, w, Y, w, G