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:
5, ['a', 'a', '3961', '9489', 'b', '1505', 'W', '8567', '635', 'z', 'a', '139', '3987', 'C', 'D', '3401', 'l']
answer:
a, a, 3961, 9489, b, 1505, W, 8567, 635, z, a, 139


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


question:
4, ['8967', 'd', 'y', '857', 'L', 'j', '8497', '7397', 'L', '3247', 'c', '5283']
answer:

8967, d, y, 857, L, j, 8497, 7397