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:
1, ['8317', 'T', '5809', 'q', '2317', '7535', '2891']
answer:
8317, T, 5809, q, 2317, 7535


question:
2, ['k', 'k', 'A', '5571', '3033', '5481']
answer:
k, k, A, 5571


question:
3, ['h', '7251', 'o', '8773', 'F', 'Q', 'N', '6839']
answer:

h, 7251, o, 8773, F