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]: 7, ['8783', '5381', '2769', '6961', '5223', 's', 'U', 'i', 'd', 'F', '8159', 't', 'H', 'e', 't', '3747', '8047', '8479', '4807', 'T']
[A]: 8783, 5381, 2769, 6961, 5223, s, U, i, d, F, 8159, t, H


[Q]: 2, ['1831', '8397', '415', 'j', 'B', 'a', 'w', 'i', '1191', 'z', 'T', '6749', 'p', '2957', 'X', '6813', 'u', '9359', '7259', '7483', 'W', 'v', '9933', 'e', '3369', '9953', '6501', 'Y', '6207']
[A]: 1831, 8397, 415, j, B, a, w, i, 1191, z, T, 6749, p, 2957, X, 6813, u, 9359, 7259, 7483, W, v, 9933, e, 3369, 9953, 6501


[Q]: 11, ['1593', 'L', 'q', '7613', '5091', 'i', 'v', '1193', 'p', 'J', '7227', 'p', '1447', '9207', 'c', '1349', '825', 'j', '5979', '2371', '9471', 'x', 'B', '8103', 'o', 'r', '2409', 'w']
[A]:
1593, L, q, 7613, 5091, i, v, 1193, p, J, 7227, p, 1447, 9207, c, 1349, 825