instruction:
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.
question:
5, ['j', 'e', '6673', 'O', '8997', 'e', 'G', 'J', 'm', 'A', 'c', '6761', '1443', '6789', 'i', 'q', 'u', 'X', '1785']
answer:
j, e, 6673, O, 8997, e, G, J, m, A, c, 6761, 1443, 6789


question:
5, ['1955', 'I', '5255', '3981', '9087', '5705', 'l', 'n', 'd', '2359', '9199']
answer:
1955, I, 5255, 3981, 9087, 5705


question:
7, ['6729', '279', 'Y', '6873', '8341', '1499', 'O', '1903', '1581', '641', '2007', '6223', '2497', 'I', 'A', '5351', '4523', 'H', '4485', '8351']
answer:

6729, 279, Y, 6873, 8341, 1499, O, 1903, 1581, 641, 2007, 6223, 2497