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:
10, ['B', '9661', 'L', 'A', '8735', '5487', 'n', 'd', 'h', '6199', '5419', 't', '7899', '2907', '725', '4153', '6577', 'Q', '5947', 'B']
answer:
B, 9661, L, A, 8735, 5487, n, d, h, 6199


question:
4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']
answer:
s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y


question:
3, ['5895', 'z', 'K', 'j', '5225', 'E', '7983', '9953']
answer:

5895, z, K, j, 5225