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: 1, ['4937', '4149', 'h', '3383', 'm', 'b', '575', '5173', '813', '2319', '6741', 'c', 'j', 's', '91', '6989']

A: 4937, 4149, h, 3383, m, b, 575, 5173, 813, 2319, 6741, c, j, s, 91
****
Q: 3, ['p', '7857', 'h', '7041', '7917', '1685', 'o', 'P', '5675', 'W', 'Z', 'L', 'W', 'z', '3111', 'm', 'n', '8823', 'R', '5619', '9219', 'M', 'a', '4991', '7801', '8387', '7483', 'Q', '789']

A: p, 7857, h, 7041, 7917, 1685, o, P, 5675, W, Z, L, W, z, 3111, m, n, 8823, R, 5619, 9219, M, a, 4991, 7801, 8387
****
Q: 9, ['733', 'x', '4411', '9525', 'Y', '6299', '5379', 'c', 'N', '4663', 'I', 'G', 'U', 'H', 'z', 'l', '9519', '847', 'I', 'b', 'O', 'K', '7077', 'A', 'K', 'r', 'e', 'f']

A:
733, x, 4411, 9525, Y, 6299, 5379, c, N, 4663, I, G, U, H, z, l, 9519, 847, I
****