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, ['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:
1, ['t', '8485']
answer:
t


question:
7, ['Z', '6353', '4193', 'g', '8885', 'Q', '3463', 'j', '4395', '563', '8943', 'T', 'o', '123', 'r', '8471', '9781', '2203', 'e', 'x', 'y']
answer:

Z, 6353, 4193, g, 8885, Q, 3463, j, 4395, 563, 8943, T, o, 123