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]: 1, ['o', 'l', '6453', '2359', '4999', 'b', '5509', 'k', 'K', '1805', 'l', 'U', '9413', '6415', '7847', '6857', 'C', '5703', 'E', '8363']
[A]: o, l, 6453, 2359, 4999, b, 5509, k, K, 1805, l, U, 9413, 6415, 7847, 6857, C, 5703, E


[Q]: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']
[A]: 9331, 9975, G, p, 2841


[Q]: 2, ['6891', 'I', 't', 's', '6551', '2337', 'Q', '4525', '1757', 'M', '2569', 'h', 'N', 'x', '1691', '2923', '9965', 'X', '9781', '3175', '4891', '1673', 'r', '6763']
[A]:
6891, I, t, s, 6551, 2337, Q, 4525, 1757, M, 2569, h, N, x, 1691, 2923, 9965, X, 9781, 3175, 4891, 1673