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]: 9, ['e', '1509', '2895', '4747', 'i', '7541', '6273', '1271', 'f', '8157', 'h', '3091', '6259', 'a', 'S', 'c', 'S', '7737', 'p', 'T', 'z', '6117', '6627', '9999', '1011', 'l', 'K']
[A]: e, 1509, 2895, 4747, i, 7541, 6273, 1271, f, 8157, h, 3091, 6259, a, S, c, S, 7737


[Q]: 8, ['3149', '7327', '8513', '4681', 'O', '5083', 'A', 'z', '5367', '3713', '8887', 'U', '23', '8091', 'A', 'k', 'F', 's', 'Y', '2217', '6479', 'F', '2239', '3305', 'N', '8459', '667', 'D', 'j']
[A]: 3149, 7327, 8513, 4681, O, 5083, A, z, 5367, 3713, 8887, U, 23, 8091, A, k, F, s, Y, 2217, 6479


[Q]: 5, ['4973', 'b', 'S', '2949', 'h', 'U', '3957', '2877', '6361', 'E', '1079', '271', 'H', '193', '6817', '7279', 'b', '1119', 'x', '1529', 'T', '7823', 'W', 'l', '3911', 'i']
[A]:
4973, b, S, 2949, h, U, 3957, 2877, 6361, E, 1079, 271, H, 193, 6817, 7279, b, 1119, x, 1529, T