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, ['5821', '5977', '5433', 'V', 'r', '8257', '9097', '1943', '8199', 'u', '6249', '559']
5821, 5977, 5433, V, r, 8257, 9097, 1943

11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']
2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F

4, ['7201', 'm', 'F', 'b', 'c', '9373', 'L', 'C', 'K', 'H', 'w', '4211', 'E', 'x', 'p', '2983', 'o', '5109', '3421', 'W', 'e', 'u', 'G', 'y', 'W', 'A', '8695', '5645', '4539', 'p']

7201, m, F, b, c, 9373, L, C, K, H, w, 4211, E, x, p, 2983, o, 5109, 3421, W, e, u, G, y, W, A