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]: 1, ['4009', 'a']
[EX A]: 4009

[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]: 6, ['8771', 'u', 'p', 'G', '1319', 'K', '3', 'k', '423', 'S', '6247', 'o', '469']
[EX A]:
8771, u, p, G, 1319, K, 3