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:
1, ['i', '1499', '4503', '195', 'x', 'h', 'x', '9265', 'O', 'p', '5391', 'y', 'C', '6211', 'Y', '7911', 'r']
answer:
i, 1499, 4503, 195, x, h, x, 9265, O, p, 5391, y, C, 6211, Y, 7911


question:
5, ['W', '9233', '4001', 'R', '2829', 't', 'T', '3353', '1013', 'w']
answer:
W, 9233, 4001, R, 2829


question:
2, ['5043', 'S', '1623', 'H', '4435', '1947', '6135', '9205']
answer:

5043, S, 1623, H, 4435, 1947