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, ['9869', 'k', '3023', '4437', 'h', '877', 'y']
answer:
9869, k, 3023, 4437


question:
1, ['8423', '8687']
answer:
8423


question:
7, ['3087', 'J', 'o', '6193', 'd', '3197', 'u', '2817', '7577', 't', '3919', 'X', '3661', '6409', 'O', '471', 'o', 'C', 'I', '4695', '6485', 'y', '5481', 'l', '2479', 'X', '1653', 'Q', '9925', 'V']
answer:

3087, J, o, 6193, d, 3197, u, 2817, 7577, t, 3919, X, 3661, 6409, O, 471, o, C, I, 4695, 6485, y, 5481