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, ['7909', '2675', 'Y', '8083', '379', 'K', '9823', '7959', 'w', '7649', 'C', 'S']
[A]: 7909, 2675, Y, 8083, 379, K, 9823, 7959, w, 7649


[Q]: 8, ['9417', '9391', '4331', 'q', '9721', 'w', '5021', '6915', '6291', 'U', 'B', 'H', '7511', '8761', 'w', '6675', '6919', '5193', 'e', '4799', '6435', 'D', '5285', 's']
[A]: 9417, 9391, 4331, q, 9721, w, 5021, 6915, 6291, U, B, H, 7511, 8761, w, 6675


[Q]: 11, ['e', '1295', '3167', '3871', 'D', 't', 'V', '2859', 'k', 'M', 'C', 'C', '9747', 'm', 'O', 'l', '1737', 'N', '9325', 'W', 'V', '6607', 'I', '2549', 'b', '4673']
[A]:
e, 1295, 3167, 3871, D, t, V, 2859, k, M, C, C, 9747, m, O