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, ['9055', '7811', 'd', '7067', '4593', 'F', '9261', 'H']
answer:
9055, 7811, d, 7067, 4593, F


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:
3, ['4107', 'N', '2271', '9369', '3971', 'd', 'D', 'J', '6779', '999', 'g', 'o', 'x', '2891', 'w', '5963', 'H', 'i', 'C']
answer:

4107, N, 2271, 9369, 3971, d, D, J, 6779, 999, g, o, x, 2891, w, 5963