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]: 2, ['175', '9189', 'p', '7643', '6937']
[A]: 175, 9189, p


[Q]: 5, ['H', '6247', '3419', 'a', 'g', 'b', 'S', '6077', 'L', '7419', 'C', '8475', '979', '7501', '4631', 'w', 'J', '7377']
[A]: H, 6247, 3419, a, g, b, S, 6077, L, 7419, C, 8475, 979


[Q]: 3, ['n', 'B', 'q', '6595', '6747', '4421', 'U', 'P', '7341', 'b', '7857']
[A]:
n, B, q, 6595, 6747, 4421, U, P