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.

7, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']
6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627

3, ['O', '4045', 'd', 'r', 'h', '3903', 'I', '5309', '7833', 'c', '7265', 'X']
O, 4045, d, r, h, 3903, I, 5309, 7833

11, ['8183', '9707', '359', '5681', 'J', '4863', '9809', 'D', '7803', '1013', '3551', 'N', 'P', 'f', 'i', 'I', '8505', '3295', 'r', 't', 'x', 'G', '8755', 'Q', 'N']

8183, 9707, 359, 5681, J, 4863, 9809, D, 7803, 1013, 3551, N, P, f