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: 1, ['8681', 'x', '4107', '7827', 'l', 'K', 'v', '4089', '5563']

A: 8681, x, 4107, 7827, l, K, v, 4089
****
Q: 3, ['323', 'C', 'R', '5703', 'E', '1017', '4417', 'W', '2391', '7173', '1207', '7323', 'v', 'Q', '9621', 'N', '2419', 'o', 'v', 'B']

A: 323, C, R, 5703, E, 1017, 4417, W, 2391, 7173, 1207, 7323, v, Q, 9621, N, 2419
****
Q: 1, ['f', '9595', '3959', 'z', 'B', 'G', 'i', 'm', 'C']

A:
f, 9595, 3959, z, B, G, i, m
****