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:
4, ['4951', 'S', '8149', '6325', '7631', 'I', 'Z', '9273', '1193']
answer:
4951, S, 8149, 6325, 7631


question:
1, ['W', 'c', '5875', 'j', '7453', '7255', 'f', 'Q', '7089', 'P', 'g', 'X']
answer:
W, c, 5875, j, 7453, 7255, f, Q, 7089, P, g


question:
10, ['8181', 'T', '4107', 'd', '7733', 'k', 'U', '741', '3687', '6565', 'C', '9899', 'm', '1105', 'O', '1087', 'c', '2757', 'f', '8291', 'C', 'w', '7737', 'n', '4665', '6221']
answer:

8181, T, 4107, d, 7733, k, U, 741, 3687, 6565, C, 9899, m, 1105, O, 1087