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, ['C', '9539', '7199', '9891']
[EX A]: C, 9539, 7199

[EX Q]: 10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']
[EX A]: 1647, E, J, B, S, X, 7779, 931, N, k, o

[EX Q]: 5, ['4929', '1045', 'i', '691', 'i', 'S', '5395', 'w', '7135', 'V', '3913', 'O', 'A']
[EX A]:
4929, 1045, i, 691, i, S, 5395, w