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.

[EX Q]: 13, ['9091', '4757', '7049', 'e', '8603', 'h', 'P', 'i', 'Q', 'u', '4849', '781', 'l', '4399', 'f', 'k', 'U', '9555', 'k', '8339', '3035', '1885', '6853', '4705', 'J', '69']
[EX A]: 9091, 4757, 7049, e, 8603, h, P, i, Q, u, 4849, 781, l

[EX Q]: 4, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']
[EX A]: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O

[EX Q]: 2, ['T', 'y', 'S', 'U', 'Y', '3423', '1265', '1681']
[EX A]:
T, y, S, U, Y, 3423