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, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']
[A]: 9861, h, 87, z, 805, M


[Q]: 1, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']
[A]: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701


[Q]: 14, ['y', '4531', 'C', 'B', '5387', '4277', '9827', 'Z', 'u', '9293', 'H', 'x', 'z', '8207', '3537', '6929', 'H', 'X', 'e', 'L', 'X', '2181', '79', 'p', 'z', 'e', 'q', '2355', '755', 'k']
[A]:
y, 4531, C, B, 5387, 4277, 9827, Z, u, 9293, H, x, z, 8207, 3537, 6929