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]: 1, ['a', 'k', 'B', '7647', '5407', 'f', '9239', '4391', '4439', 'y']
[EX A]: a, k, B, 7647, 5407, f, 9239, 4391, 4439

[EX Q]: 2, ['z', 'C', '1787', 'P', 'i', 'M', 'V', '7833', 'i', '189', '6017', 'I']
[EX A]: z, C, 1787, P, i, M, V, 7833, i, 189

[EX Q]: 5, ['9065', 'V', 'd', '4013', 'y', '3375', '5613', 'c', '9015', 'w', 'g', 'k', 'Q', '9647', '6193', 'P', '4417', '559', 'S', '861', '8001', 'F', 's', 'L', '7841', 'A', '9773', '689', '897', '7637']
[EX A]:
9065, V, d, 4013, y, 3375, 5613, c, 9015, w, g, k, Q, 9647, 6193, P, 4417, 559, S, 861, 8001, F, s, L, 7841