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, ['8681', 'x', '4107', '7827', 'l', 'K', 'v', '4089', '5563']
[EX A]: 8681, x, 4107, 7827, l, K, v, 4089

[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]: 3, ['4859', 'o', '6927', '7439', 'i', '3363']
[EX A]:
4859, o, 6927