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, ['t', 'x', 't', 'O', 'L', '2937', 'A', '4883', '745', 'H', '1661', 'u', '9837', '7675', '7471', '3781', 'n', '8275']
[EX A]: t, x, t, O, L, 2937, A, 4883, 745, H, 1661, u, 9837, 7675, 7471

[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]: 4, ['4973', '3407', 'Z', '1991', 'b', '6853', '3703', '343', 'i', '1201', '8045', 't', '5509', '611', '9559', 'f', '9283', '1349', 'Y', '3913', 'W', 'n', '2809', 'i', 'K', '8103']
[EX A]:
4973, 3407, Z, 1991, b, 6853, 3703, 343, i, 1201, 8045, t, 5509, 611, 9559, f, 9283, 1349, Y, 3913, W, n