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]: 11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']
[EX A]: 2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F

[EX Q]: 4, ['5805', '6691', 'n', 'Z', 'U', '5017', '499', '7849', 'L', 'l']
[EX A]: 5805, 6691, n, Z, U, 5017

[EX Q]: 4, ['Q', '7675', '7535', 'K', '8307', 'J', 'n', '6575']
[EX A]:
Q, 7675, 7535, K