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]: 3, ['Z', 't', '8689', 'j', '7065', 'g', 'i', '5261', '7243', 'z', 'Q', 'V', '9083', 'L', 'X', '4439']
[EX A]: Z, t, 8689, j, 7065, g, i, 5261, 7243, z, Q, V, 9083

[EX Q]: 3, ['Y', '3499', '2787', 'C', 'U', '4895']
[EX A]: Y, 3499, 2787

[EX Q]: 9, ['z', '6243', 'r', 'A', '7345', '1785', 'm', '245', 'M', '5943', 'Q', '5177', '3957', '8421', '2807', '5693', '7681', 'K', '2883', '3997']
[EX A]:
z, 6243, r, A, 7345, 1785, m, 245, M, 5943, Q