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, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']
[EX A]: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X

[EX Q]: 3, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']
[EX A]: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

[EX Q]: 4, ['q', '2205', '7605', 'b', 'f', 'q', 'j', 'b', '8019', 'a', '85', 'p', 'M', 'a', '4123', '7899', '1337', 'N', 'i', 'x', 'Z']
[EX A]:
q, 2205, 7605, b, f, q, j, b, 8019, a, 85, p, M, a, 4123, 7899, 1337