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: 3, ['R', '7505', 'z', '3269', 'r', 'L', 'Q', '3693', '4919', '963', 'R', 'i', 'C', 'O']

A: R, 7505, z, 3269, r, L, Q, 3693, 4919, 963, R
****
Q: 8, ['m', '4399', '9663', 'e', 'A', 't', '5629', '1611', '3415', 'F', 'x', 'H', 'E', '8461', '2341', '3385', '6163', '2239', '2189', '8123', 'y', 'D', '9571', '7377', '4305', 'l', '2901', 'O', '6273']

A: m, 4399, 9663, e, A, t, 5629, 1611, 3415, F, x, H, E, 8461, 2341, 3385, 6163, 2239, 2189, 8123, y
****
Q: 9, ['Z', '8849', '2455', '9287', 'D', 'c', '5517', 'P', '2007', 'N', '7805', 'z', '5067', '6929', '8651', 'C', 'l', '7267', '493', '3975', 'E', '2841', '9073', 'I', 'V']

A:
Z, 8849, 2455, 9287, D, c, 5517, P, 2007, N, 7805, z, 5067, 6929, 8651, C
****