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]: 7, ['E', '2953', 't', 'M', '7543', 'X', 'J', 'N', 'N', 'J', 'w', 'c', '2417', 'p', '9453', 'O', '3625', 't', 't', 'a', 'v', 'N', 'U', 's']
[EX A]: E, 2953, t, M, 7543, X, J, N, N, J, w, c, 2417, p, 9453, O, 3625

[EX Q]: 2, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']
[EX A]: t, 51, 4787, 2989, o, J, 7547, 5727, 5705

[EX Q]: 11, ['C', 'W', '2473', '6607', 'k', '6671', 'K', 'U', '799', '3427', '7835', '1127', 'X', 'T', 'F', 'l', '4775', '8155', 'a', '8499', '4977', 'y', 'o', 'J', 'A', 'w', 'D', 'x', '7505', 'p']
[EX A]:
C, W, 2473, 6607, k, 6671, K, U, 799, 3427, 7835, 1127, X, T, F, l, 4775, 8155, a