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.

Q: 3, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']

A: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195
****
Q: 9, ['M', '5097', 'b', 'W', '4627', 'i', 's', 'H', '3203', 'V', '2689', 'Y', 'G', 'G', 'O', '7913', '4265', '5203', '8085', 'c', '6847', '7825', 'O', 'K', '8371', '8899', '7721', '6695', 'r', 'q']

A: M, 5097, b, W, 4627, i, s, H, 3203, V, 2689, Y, G, G, O, 7913, 4265, 5203, 8085, c, 6847
****
Q: 10, ['R', '715', 'n', '1723', 'P', 'R', '5521', '7225', 'a', '3959', 'y', 'e', '8873', '6403', 'E', '3159', 'e', '9919', 'V', 'v', 'q', 'd', 'U', '3573', '9787', 'Q', 'j']

A:
R, 715, n, 1723, P, R, 5521, 7225, a, 3959, y, e, 8873, 6403, E, 3159, e
****