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]: 3, ['323', 'C', 'R', '5703', 'E', '1017', '4417', 'W', '2391', '7173', '1207', '7323', 'v', 'Q', '9621', 'N', '2419', 'o', 'v', 'B']
[EX A]: 323, C, R, 5703, E, 1017, 4417, W, 2391, 7173, 1207, 7323, v, Q, 9621, N, 2419

[EX Q]: 1, ['Q', 'J']
[EX A]: Q

[EX Q]: 7, ['M', '85', '7149', '4681', '2813', '8637', 'd', 'I', '6413', '2359', 'X', '8601', '9589', 'Q', '4347', '8663', 'a', '7003', '5397', '6961', '5819', '9269', '9699', '6311', 'H', '2665', 'f']
[EX A]:
M, 85, 7149, 4681, 2813, 8637, d, I, 6413, 2359, X, 8601, 9589, Q, 4347, 8663, a, 7003, 5397, 6961