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, ['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]: 9, ['c', '1823', 'I', '2553', 'D', 'S', 'e', 'W', '6845', 'f', 'w', '8227', '4171', '2819', 'q', 'c', 'O', 'q', '1547', '9585', '5559', '9907', 'Q', 'M', '9811', '5061', 'A', 'x', '9997', 's']
[EX A]: c, 1823, I, 2553, D, S, e, W, 6845, f, w, 8227, 4171, 2819, q, c, O, q, 1547, 9585, 5559

[EX Q]: 4, ['8311', '4637', 'N', '639', '8975', 'Y', 'T', '6523', '1771', '687', 'R', '3153', 'z', '3251', '1527', '8683', 'U', '807', 't', '1927', 'e', 'w', 'w', 'Z', 'u']
[EX A]:
8311, 4637, N, 639, 8975, Y, T, 6523, 1771, 687, R, 3153, z, 3251, 1527, 8683, U, 807, t, 1927, e