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, ['4605', 'E', '7663', 'R', '2159', '6297', 'Z', 'j', '7075', '4355', 'b', '9585', '2707', 'n', '2899', 'v', '8237', '773', 'L', '4905', '9885', 'V', '8165', '6037', 'R', 'A']
4605, E, 7663, R, 2159, 6297, Z, j, 7075, 4355, b, 9585, 2707, n, 2899, v, 8237, 773, L, 4905, 9885, V, 8165, 6037, R

4, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']
8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j

1, ['9085', '9893', '1949', 'i', '7047', '6643', '3735', '2189', 'h', 'O', '7415', '7863', 'p', 'M', '3607']

9085, 9893, 1949, i, 7047, 6643, 3735, 2189, h, O, 7415, 7863, p, M