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, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']
[EX A]: 6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627

[EX Q]: 2, ['4619', '6389', '7529', 'B', '8289', '6167']
[EX A]: 4619, 6389, 7529, B

[EX Q]: 9, ['4705', '2653', 'c', '6955', '8533', 'o', 'T', 'a', 'W', '6737', '9089', 'M', '6267', '7529', 'u', '3819', 'w', 'h', 'E', '1123', '4135', '8179', 'M', '8119', 'L', '643', '7869', 'X', '163']
[EX A]:
4705, 2653, c, 6955, 8533, o, T, a, W, 6737, 9089, M, 6267, 7529, u, 3819, w, h, E, 1123