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, ['2655', '829', '9303', '6983', '6311', '9929', 'J']
[EX A]: 2655, 829, 9303, 6983, 6311

[EX Q]: 1, ['6109', 'd']
[EX A]: 6109

[EX Q]: 1, ['5659', 'I', 'i', '4263', 'B', 'P', 'W', '6357', '8513', 'T', '1283', '4727', 'N', 'C', 'g']
[EX A]:
5659, I, i, 4263, B, P, W, 6357, 8513, T, 1283, 4727, N, C