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, ['w', '111']
[EX A]: w

[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]: 9, ['2507', '7401', 'U', 'j', '981', 'z', '7539', '927', 'T', 'M', '1227', '207', 'a', '5113', '5079', '7003', '2635', '8229', 'n', '1863', 'u']
[EX A]:
2507, 7401, U, j, 981, z, 7539, 927, T, M, 1227, 207