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]: 7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']
[EX A]: 4871, 3897, B, t, V, 7127, 8163, R, c, o, w

[EX Q]: 4, ['j', '3881', 'L', '7063', '8509', 'j', 'p', 'H', '2813', 'b']
[EX A]: j, 3881, L, 7063, 8509, j

[EX Q]: 11, ['2633', 'n', 'Q', '5185', 'E', '2715', 'Q', 'u', 'C', '3741', 'i', '59', 'D', 'v', '2837', 'G', '3331', '7265', 'G', '5161', '7103', '8551', 'T', '559', 'P', '1977', 'E']
[EX A]:
2633, n, Q, 5185, E, 2715, Q, u, C, 3741, i, 59, D, v, 2837, G