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:
2, ['M', '4555', '3495', '6283', '6109']
answer:
M, 4555, 3495


question:
7, ['t', 'K', 'i', '2959', 't', '6067', 'R', 'B', 'i', 'S', 'k', '3319', 'c', '4817', 'U', 'Z', '1965', '7611', 'r', 'C']
answer:
t, K, i, 2959, t, 6067, R, B, i, S, k, 3319, c


question:
2, ['O', 'x', 'e', '2989', '19', '6099', 'I']
answer:

O, x, e, 2989, 19