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]: 5, ['467', 'X', 'l', '895', 'F', '9837', 'H', 'y', 'n', '8395', '8195', 'Y', 'O', 'T']
[A]: 467, X, l, 895, F, 9837, H, y, n


[Q]: 1, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']
[A]: 413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L


[Q]: 4, ['S', 'p', 'g', '4995', '5951', '2951', 'J', 'c', '3137', 'I', '7991', '5707', '8725', '1205', 't']
[A]:
S, p, g, 4995, 5951, 2951, J, c, 3137, I, 7991