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]: 10, ['3881', 'g', 'Z', 'G', 'a', '7571', '6761', 'i', 'X', '9349', '4007', 'i', 'W', '2989', 'W', 'B', '6747', 'S', 'p', 'O', 'U', '5469']
[A]: 3881, g, Z, G, a, 7571, 6761, i, X, 9349, 4007, i


[Q]: 2, ['7289', '5445', 'I', 'M', 'A', '523', '3831', 'd', 'k', 'H', 'B', 'f', 'J', '3723', '5911', 'n', 'P', '1647', 'F', '4287', '5909', '2037', 'u', '3593', 'x', '7863']
[A]: 7289, 5445, I, M, A, 523, 3831, d, k, H, B, f, J, 3723, 5911, n, P, 1647, F, 4287, 5909, 2037, u, 3593


[Q]: 12, ['O', '7057', '2805', '3345', 'z', '1403', 'H', '3415', 'e', '2595', '6157', 'u', 'r', 'o', 'V', '237', '9199', 'J', '8295', 'y', '8739', 'l', '4465', '4971', '6551', '653', 'B', 'S', 'f']
[A]:
O, 7057, 2805, 3345, z, 1403, H, 3415, e, 2595, 6157, u, r, o, V, 237, 9199