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:
2, ['687', '8957', '9003', '9701', 'K', '9929', '6287', 'r', 'd', '8885', '1275', '3815', 'i', 'W', 'K', '9301', '2777', '5839', 's', '2333', '1057', 'a']
answer:
687, 8957, 9003, 9701, K, 9929, 6287, r, d, 8885, 1275, 3815, i, W, K, 9301, 2777, 5839, s, 2333


question:
2, ['y', '9251', '9425', 'B']
answer:
y, 9251


question:
10, ['6951', 'E', 's', '3359', 'a', '6111', 'U', '1977', '2763', 'l', 'z', 'w', '8825', 'y', '4357', '5585', '7603', 'i', '6491', '9395', '2135', 'l', 'n', 'H', '499', 'm', 'D']
answer:

6951, E, s, 3359, a, 6111, U, 1977, 2763, l, z, w, 8825, y, 4357, 5585, 7603