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:
4, ['F', 'k', '5745', 'T', 'p', '1283', 'A', '3837', 'y', 'j', '4083', 'm', '879', '1907', '2417', 'Q', '5303', '8327', 'd', '8699', '4873', '4291']
answer:
F, k, 5745, T, p, 1283, A, 3837, y, j, 4083, m, 879, 1907, 2417, Q, 5303, 8327


question:
5, ['l', 'M', '5143', '6301', 'W', 'H', 'D', 'o', '7457', 'o', '5021', 'a', '5621', 'g', 'A', 'Q', 'X', 'X', 'b']
answer:
l, M, 5143, 6301, W, H, D, o, 7457, o, 5021, a, 5621, g


question:
3, ['Y', '3499', '2787', 'C', 'U', '4895']
answer:

Y, 3499, 2787