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.

Q: 10, ['b', 'x', '7977', 'W', '1709', '9149', 'F', '375', '6819', 'c', '6487', 'W', '7829', '4627', 'f', 'k', '5761', 'u', '4451', '7011', 'v', 'C', 'K', 'n', '41', '7439', 'h', 'u']

A: b, x, 7977, W, 1709, 9149, F, 375, 6819, c, 6487, W, 7829, 4627, f, k, 5761, u
****
Q: 11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']

A: 2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F
****
Q: 4, ['7933', '2511', 'd', 'E', 'z', '7529', 's', 'T', '5869', '8187', 'u', '8949', '6387', '4841', 'w', '6425', '9669', 'X', '155', '3047', '1659', '9309', '1781']

A:
7933, 2511, d, E, z, 7529, s, T, 5869, 8187, u, 8949, 6387, 4841, w, 6425, 9669, X, 155
****