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, ['m', 'O', 'w', 'g', '6477', 'w', '3709', 'k', 'B', '3485', 't', 'I', 'a', 'Z']
answer:
m, O, w, g, 6477, w, 3709, k, B, 3485


question:
2, ['v', 'l', 'a', '4761', '3467', 'd', 'i', '4703', 'Y']
answer:
v, l, a, 4761, 3467, d, i


question:
2, ['r', 'Q', 'D', '5533', 'v', 'f', 'D']
answer:

r, Q, D, 5533, v