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, ['M', '5663', '4129', 'B', '7459', 's', '6615', 's']
answer:
M, 5663, 4129, B, 7459


question:
10, ['d', 'c', 'Z', 'b', '4185', 'Y', '3381', 'd', '4167', 'J', '539', 'h', 'Q', '165', '8025', 'M', '6337', 'z', 'k', 'A', 'E', '9729', '7747', '7387', 'S', 'U']
answer:
d, c, Z, b, 4185, Y, 3381, d, 4167, J, 539, h, Q, 165, 8025, M


question:
5, ['3403', '6687', 'c', '4199', 'Q', 'X', 'e', '4419', '5599', 'h', 'W', '2869', '1597', '9815', 'H', 'r', '497', 'u', '1377', '6659', 'P', 'D', '4221', 'D', '9235', 'S', 'K', '4453']
answer:

3403, 6687, c, 4199, Q, X, e, 4419, 5599, h, W, 2869, 1597, 9815, H, r, 497, u, 1377, 6659, P, D, 4221