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]: 6, ['x', '7725', '833', 'B', 'p', 'F', '591', 'A', 'C', '1785', '2309', 'E']
[EX A]: x, 7725, 833, B, p, F

[EX Q]: 10, ['c', '2459', 'Z', '221', '6821', 'D', 'i', '8517', 'R', 'F', 'b', 'Z', '8771', '5713', '2703', '3003', '2627', 'y', '4817', '2005', '2851', '5563', 'l', '3069', 'm', '6701', '3', '2337', '3693', 'T']
[EX A]: c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005

[EX Q]: 1, ['t', '2407', 'e', 'm', '9165', 'f', '1191', '5485', 'b', '6471', '9793', '3959', 'A', 'b', 'a']
[EX A]:
t, 2407, e, m, 9165, f, 1191, 5485, b, 6471, 9793, 3959, A, b