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, ['9579', 'A', 'z', '2039', 'a', 'E', 'v', 'n', 'H', 'D', '1505', '8767', 'T', '1271', '3807', '5677', '8119', '4973', 'k', '3567']
[EX A]: 9579, A, z, 2039, a, E, v, n, H, D, 1505, 8767, T, 1271, 3807, 5677, 8119, 4973, k

[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]: 10, ['1781', '5397', 'z', '5717', '6007', 'Q', 'c', 'I', 'V', '3535', '6111', 'E', '4533', '8607', '399', '8651', '5885', 'p', 'A', '1551', 'u', 'T', 'b', 'v', '8791', 'n', 'K', '1917']
[EX A]:
1781, 5397, z, 5717, 6007, Q, c, I, V, 3535, 6111, E, 4533, 8607, 399, 8651, 5885, p