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, ['1713', 'o', '6397', '4329', 'R', '4123', '5297']
[EX A]: 1713, o, 6397, 4329, R

[EX Q]: 2, ['T', 'D', '6925', 'W', 'J', 'Q', '1373', '3577', '6399', 'd', '281', '6631', '2847']
[EX A]: T, D, 6925, W, J, Q, 1373, 3577, 6399, d, 281

[EX Q]: 1, ['6205', '4447', 'L']
[EX A]:
6205, 4447