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]: 2, ['8883', '1411', '9753', '3947', 'Y', 'E', 'B', '4923', 'B', 'E', 'd', '1659', 'y', 't', 'd', '2321', 'C', 'M', '9013', 'U', '579', '399']
[A]: 8883, 1411, 9753, 3947, Y, E, B, 4923, B, E, d, 1659, y, t, d, 2321, C, M, 9013, U


[Q]: 1, ['N', 'q', 'H', 'd', 'X', 'z', 'c', 'L', 'N', 'E', 'u', '4515', 'E', '7365', 'P', 'N', 'L', '4093', '9033', 't', 'r', '4745', 'u', 'a', 'F', '9361', '2259', '209', '8751', '8893']
[A]:
N, q, H, d, X, z, c, L, N, E, u, 4515, E, 7365, P, N, L, 4093, 9033, t, r, 4745, u, a, F, 9361, 2259, 209, 8751