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, ['3739', '5937', '753', '9229', 'N', '1723', 'B', '5603', 'm', '8339', 'I']
[EX A]: 3739, 5937, 753, 9229, N, 1723, B, 5603

[EX Q]: 2, ['N', 'j', 'B', 'T', '4231', '2767', '4885']
[EX A]: N, j, B, T, 4231

[EX Q]: 1, ['n', 'p', '9671', 'd', '5965', '4063', 'A', '8777', 'N', 'u', '9613', 'Y', 'K', 'T', '7405', 'm', '1191', 'a', '7649', '3339', '8067', 'f', 'B']
[EX A]:
n, p, 9671, d, 5965, 4063, A, 8777, N, u, 9613, Y, K, T, 7405, m, 1191, a, 7649, 3339, 8067, f