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, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']
[EX A]: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701

[EX Q]: 3, ['7835', '8157', 'q', '1331', '9025', '8057', '1681', '4049', '5333', 'H', '8769', 'h', 'y']
[EX A]: 7835, 8157, q, 1331, 9025, 8057, 1681, 4049, 5333, H

[EX Q]: 3, ['I', 'F', '25', '5971', 'S', 'N', 'C', '9449', 'S', 'Y', '7457', 'M', 'L', 'G', 'I', 'k', 'V', '9347', 'f', 'r', 'T', 'A']
[EX A]:
I, F, 25, 5971, S, N, C, 9449, S, Y, 7457, M, L, G, I, k, V, 9347, f