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]: 9, ['M', '5097', 'b', 'W', '4627', 'i', 's', 'H', '3203', 'V', '2689', 'Y', 'G', 'G', 'O', '7913', '4265', '5203', '8085', 'c', '6847', '7825', 'O', 'K', '8371', '8899', '7721', '6695', 'r', 'q']
[EX A]: M, 5097, b, W, 4627, i, s, H, 3203, V, 2689, Y, G, G, O, 7913, 4265, 5203, 8085, c, 6847

[EX Q]: 1, ['4605', 'E', '7663', 'R', '2159', '6297', 'Z', 'j', '7075', '4355', 'b', '9585', '2707', 'n', '2899', 'v', '8237', '773', 'L', '4905', '9885', 'V', '8165', '6037', 'R', 'A']
[EX A]: 4605, E, 7663, R, 2159, 6297, Z, j, 7075, 4355, b, 9585, 2707, n, 2899, v, 8237, 773, L, 4905, 9885, V, 8165, 6037, R

[EX Q]: 4, ['9027', '8383', 'i', '7473', '5799', '1691', 'Q', 'C', '6489', 'o']
[EX A]:
9027, 8383, i, 7473, 5799, 1691