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, ['x', 'y', 'M', '9519', '6553', '7497', 'j', '9587', 'g', '9393', 'C', 'T']

A: x, y, M, 9519, 6553, 7497, j, 9587, g
****
Q: 6, ['4355', '9479', '3741', '6469', 'r', 'n', 'e', '2955', '8441', '8099', 'x', 's']

A: 4355, 9479, 3741, 6469, r, n
****
Q: 8, ['x', '9567', 'T', 'y', '2253', '7641', '5451', 'j', 'q', '6853', '4769', '9425', 'y', '61', '1439', 'A', '7223', 'R', 'c', 'n', 'N', '9237', 'V', 'V', '5655', 't']

A:
x, 9567, T, y, 2253, 7641, 5451, j, q, 6853, 4769, 9425, y, 61, 1439, A, 7223, R
****