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:
2, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
answer:
8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z


question:
3, ['9165', 'N', 'f', '5277', 'J', 'g', '833', '3227']
answer:
9165, N, f, 5277, J


question:
2, ['2283', '2213', '1913', '2121', '6733', '7779', '7979', '1291']
answer:

2283, 2213, 1913, 2121, 6733, 7779