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, ['K', 'x', 'B', 'L', 'a', 'P', 'w', 'R', '1495', '737', 'v', '4079', '6945', '4801', 'c']
[A]: K, x, B, L, a, P, w, R, 1495, 737, v, 4079, 6945


[Q]: 2, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']
[A]: 4745, 1001, z, c, 143, d, 3291, r, 5543


[Q]: 7, ['91', '3037', '1791', 'C', 'R', 'r', '2169', 'c', 'T', '829', '1213', 'p', 'n', '2761', '2789', 'r', '7521', '8749', 'y', 'm', '175', '3713', 'A', 'l', 'K', '1489']
[A]:
91, 3037, 1791, C, R, r, 2169, c, T, 829, 1213, p, n, 2761, 2789, r, 7521, 8749, y