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:
5, ['y', 'L', '3769', '9435', 'o', '801', 'Y', 'Q', '9365', '1947', '6731']
answer:
y, L, 3769, 9435, o, 801


question:
1, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']
answer:
c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079


question:
8, ['5365', 'O', '5543', '9605', '7957', 'S', '9157', '8827', 'V', 'B', 'c', 'a', '6045', 'j', 'z', 'u']
answer:

5365, O, 5543, 9605, 7957, S, 9157, 8827