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]: 5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']
[EX A]: b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361

[EX Q]: 2, ['3999', '8117', '6037', 'Q']
[EX A]: 3999, 8117

[EX Q]: 13, ['7771', '2665', 'P', 'R', '7171', 't', '8123', '9417', '2055', '7111', 'D', '6563', 'N', 'W', 'a', 'U', 'k', 'N', 'D', '9715', 'S', '7449', 'O', '3367', '331', 'w', '7719']
[EX A]:
7771, 2665, P, R, 7171, t, 8123, 9417, 2055, 7111, D, 6563, N, W