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, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']
[A]: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u


[Q]: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
[A]: X, 2625, l, 533, j, 265, O, h, 9031


[Q]: 2, ['5465', 'e', 'E', '8829', '8153', '2175', '9013', '429', '7761', 'h', 'U', '8325', '8763', 'Y', '7991', '9093', '2671', '8689', 'Q', '8901', 'd', 'U', 'Y', '4583', 'G', '2241', 'i', 'G', '8389']
[A]:
5465, e, E, 8829, 8153, 2175, 9013, 429, 7761, h, U, 8325, 8763, Y, 7991, 9093, 2671, 8689, Q, 8901, d, U, Y, 4583, G, 2241, i