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]: 12, ['E', '3459', 'J', 'd', 'k', '6663', 'z', 'X', '823', '7451', 'V', '81', 'M', '9619', '1435', '5885', 'y', '8269', '5829', 'A', '9089', 'k', 'u', '3689', 'x', '6195', 'k']
[EX A]: E, 3459, J, d, k, 6663, z, X, 823, 7451, V, 81, M, 9619, 1435

[EX Q]: 3, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']
[EX A]: 9861, h, 87, z, 805, M

[EX Q]: 5, ['6421', '8353', '5159', '9235', 'f', 'F', 'R', '9435', '1705', '6611', 'I', '8237', 's', '1169', 'Q', '2337', '6353', 'S', '1861', 'o']
[EX A]:
6421, 8353, 5159, 9235, f, F, R, 9435, 1705, 6611, I, 8237, s, 1169, Q