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]: 10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']
[A]: 1647, E, J, B, S, X, 7779, 931, N, k, o


[Q]: 5, ['9903', 'P', '1623', '5483', 'D', 'W', '689', '5935', '1897', '233']
[A]: 9903, P, 1623, 5483, D


[Q]: 3, ['1331', '3297', 'k', 'u', 'j', 'y', '7607', '857', '9287', '5989', '9899', 'I', 'M', '9687', '7845', 'l', 'k', '7285', 'j', 'W', 'N', '4515', '773', 'I', 'q', '9007', 'm', 'f']
[A]:
1331, 3297, k, u, j, y, 7607, 857, 9287, 5989, 9899, I, M, 9687, 7845, l, k, 7285, j, W, N, 4515, 773, I, q