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.

[Q]: 3, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']
[A]: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


[Q]: 4, ['5263', '8669', '8175', 't', 'a', 'c', '217', '891']
[A]: 5263, 8669, 8175, t


[Q]: 1, ['n', 'Y', 'J', '4493', 'X', 'W', '6685', 'n', 'o', '7311']
[A]:
n, Y, J, 4493, X, W, 6685, n, o