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]: 2, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']
[EX A]: 977, Z, R, 8793, 2449, 2051

[EX Q]: 9, ['3263', '9551', 'x', 'C', 'I', 'J', 'Z', '1139', '171', '237', 'V', 'Y', '2109', '7481', 'q', 'h', '9631', 'o', '9295']
[EX A]: 3263, 9551, x, C, I, J, Z, 1139, 171, 237

[EX Q]: 3, ['g', '1603', '5373', 'J', 'V', '8583', 'v', 'I', '4387', 'q', 'C', 'h', '8247', 'G', '6315', '4463', '3417']
[EX A]:
g, 1603, 5373, J, V, 8583, v, I, 4387, q, C, h, 8247, G

