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:
3, ['p', '7857', 'h', '7041', '7917', '1685', 'o', 'P', '5675', 'W', 'Z', 'L', 'W', 'z', '3111', 'm', 'n', '8823', 'R', '5619', '9219', 'M', 'a', '4991', '7801', '8387', '7483', 'Q', '789']
answer:
p, 7857, h, 7041, 7917, 1685, o, P, 5675, W, Z, L, W, z, 3111, m, n, 8823, R, 5619, 9219, M, a, 4991, 7801, 8387


question:
2, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']
answer:
4745, 1001, z, c, 143, d, 3291, r, 5543


question:
1, ['V', '8281', '9523', '9429', '9031']
answer:

V, 8281, 9523, 9429