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, ['v', '371', '1799', 'E', '7605', 'k', '6133', '2871', 's', '9981', 'E']
answer:
v, 371, 1799, E, 7605, k


question:
4, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']
answer:
8667, w, M, 3117, r, 7759, B, t, r, 7625


question:
10, ['E', '7363', 'X', '7743', '8777', '2163', '6995', 'b', 'Q', 'k', '3041', 'v', '8685', 'o', 'V', '5401', '8187', '6495', '9233', 'h', 'P', 'p', '9821', '4807', 'H']
answer:

E, 7363, X, 7743, 8777, 2163, 6995, b, Q, k, 3041, v, 8685, o, V