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]: 2, ['175', '9189', 'p', '7643', '6937']
[EX A]: 175, 9189, p

[EX Q]: 11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']
[EX A]: 2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F

[EX Q]: 9, ['y', '6517', 'N', 'Y', '9339', '1307', 'c', 'z', '455', 't', 'X', 'D', '537', '7861', '4195', 'W', 'r', '3727', 'Z', 'C', '7543']
[EX A]:
y, 6517, N, Y, 9339, 1307, c, z, 455, t, X, D