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]: 4, ['9837', '9419', 'D', '1877', 'Q', '2375', '1141', 'i', 'x']
[EX A]: 9837, 9419, D, 1877, Q

[EX Q]: 7, ['4909', '8255', 'o', '5105', '9655', '7121', 'T', 'T', '3245', 'r', '367', 'S', '2591', '7163', 'L', 'n', 'k']
[EX A]: 4909, 8255, o, 5105, 9655, 7121, T, T, 3245, r

[EX Q]: 3, ['4433', 't', '6193', '327', '2855', 'r', '4195', '4545', '51', '3347', 'j', '6867', 'k', 'A', 'i', 'k', 'F', '7589', '3079', 'y', '9519', 'G', '2735', 'Q']
[EX A]:
4433, t, 6193, 327, 2855, r, 4195, 4545, 51, 3347, j, 6867, k, A, i, k, F, 7589, 3079, y, 9519