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, ['T', 'g', '4755', 'O', 'G', 'Z', 'r', '9337', '2691', 'h', 'j', '4271', 'T', '5217', 'a', '9671']
answer:
T, g, 4755, O, G, Z, r, 9337, 2691, h, j, 4271, T


question:
10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']
answer:
1647, E, J, B, S, X, 7779, 931, N, k, o


question:
3, ['4573', '8407', '3523', 'Y', '7181', '81', 'z']
answer:

4573, 8407, 3523, Y