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]: 8, ['4111', 'k', 'R', 'T', '7401', '9155', 'a', '8387', 'H', 'k', 'c', '4927', 'Z', '8959', '6207', '3209', 'X', '5647', 'B', 'c']
[EX A]: 4111, k, R, T, 7401, 9155, a, 8387, H, k, c, 4927

[EX Q]: 3, ['r', '8867', '8469', '67', '6845', '7875', 'n', '9255', '6723', '1609', '1589', 'T', 'H', '5767', 'e', '5283', '8659']
[EX A]: r, 8867, 8469, 67, 6845, 7875, n, 9255, 6723, 1609, 1589, T, H, 5767

[EX Q]: 2, ['T', '1751', '2559', '4365', 'S', 'n', 's', '2577', '3221', 'B', 'A', 'M', '6009', '8961', '5521', 't', '6735', '307', '705', 'f', '7023', '6093', '245', '6187', 'z', '4327', '3525', 'q', 'E']
[EX A]:
T, 1751, 2559, 4365, S, n, s, 2577, 3221, B, A, M, 6009, 8961, 5521, t, 6735, 307, 705, f, 7023, 6093, 245, 6187, z, 4327, 3525