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, ['W', '5197']
answer:
W


question:
3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']
answer:
9869, k, 3023, 4437


question:
1, ['9945', 'O', '5135', '5139', '1539', '235', '7963']
answer:

9945, O, 5135, 5139, 1539, 235