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.

1, ['s', 'C', 'B', 'L', 'f']
s, C, B, L

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']
m, 4399, 9663, e, A, t, 5629, 1611, 3415, F, x, H, E, 8461, 2341, 3385, 6163, 2239, 2189, 8123, y

1, ['5711', '9215', '5737', '5243', 'i', 'E', 'X', '4837', '5081', '3577', '3191', '9433', 'L', 'A', '3535', '8185', '5677', '5097', 'p', 'x', '5987', 'U', '4273', '2697', '8345', 'K', 'S', 'y', '3025']

5711, 9215, 5737, 5243, i, E, X, 4837, 5081, 3577, 3191, 9433, L, A, 3535, 8185, 5677, 5097, p, x, 5987, U, 4273, 2697, 8345, K, S, y