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]: 2, ['l', 'Z', 'U', '3803', '7271', '983', '3101', '833', 'q', '4131', 'u', 'z', 'p', 'e', 'X', '1541', '3273', '8851', 'k', '8319', '5779', '6401', '7265', 'N', '1173']
[A]: l, Z, U, 3803, 7271, 983, 3101, 833, q, 4131, u, z, p, e, X, 1541, 3273, 8851, k, 8319, 5779, 6401, 7265


[Q]: 4, ['I', '2991', '9273', '9003', 'O', '8771', 'O', '2429']
[A]: I, 2991, 9273, 9003


[Q]: 7, ['7751', '129', 'V', '7175', '613', '1805', '4745', '6875', 'H', 'f', '3981', '3799', 'K', '7225', '5917', '9443', 'v', '5075', '5039', 'T', '2683', 'w', '9559', '4177', 'F', '6945', '7547', 'U', 'a', 't']
[A]:
7751, 129, V, 7175, 613, 1805, 4745, 6875, H, f, 3981, 3799, K, 7225, 5917, 9443, v, 5075, 5039, T, 2683, w, 9559