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.

4, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']
u, 8921, 7805, 1995

11, ['6101', 'T', 'S', '7977', 'N', 'V', 's', '7859', '3191', '741', 's', '433', '6065', '7845', '6535', 'y', 'Z', '1015', '1797', '5903', 'u', '4795', 'L', 'H']
6101, T, S, 7977, N, V, s, 7859, 3191, 741, s, 433, 6065

10, ['C', '4401', 'B', '2999', '1235', 'W', '5037', '6689', 'u', 'W', 'o', '4545', 'J', '3231', 'F', 'p', '6059', 'I', 'b', 'u', 'I', 'u', '9307', 'a', '3079', '2965']

C, 4401, B, 2999, 1235, W, 5037, 6689, u, W, o, 4545, J, 3231, F, p