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, ['6421', '8369', 'Y', '6487', '7131', '2359', 'e', '2763', 'L', '6021', '1685', 'A', '9371', '7243', 'I', 'T', '659', 'E', '6979']
6421, 8369, Y, 6487, 7131, 2359, e, 2763, L, 6021, 1685, A, 9371, 7243, I, T, 659, E

10, ['c', '2459', 'Z', '221', '6821', 'D', 'i', '8517', 'R', 'F', 'b', 'Z', '8771', '5713', '2703', '3003', '2627', 'y', '4817', '2005', '2851', '5563', 'l', '3069', 'm', '6701', '3', '2337', '3693', 'T']
c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005

6, ['7761', '4943', 'O', '5067', 'n', 'M', 'o', 'c', '4131', '8403', '8567', '7195', '7123', '5667', 'G', '4851', 'T', '4059', 'M', '2101', 'h', 'T', '6923', 'K', '3007', '5413', '6897', 'd', 'W']
7761, 4943, O, 5067, n, M, o, c, 4131, 8403, 8567, 7195, 7123, 5667, G, 4851, T, 4059, M, 2101, h, T, 6923