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.

Ex Input:
5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']

Ex Output:
b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361


Ex Input:
10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']

Ex Output:
1647, E, J, B, S, X, 7779, 931, N, k, o


Ex Input:
9, ['5295', '9971', '265', 'M', '5201', 'U', '4179', '2393', '1483', '5247', 'w', '1051', '6835', '4949', '7545', 'X', '1045', 'v', 'Z', 'Z', 'I', '4979', '7521', '5357', 'm', 'h', '1603', '129', 'i', '2269']

Ex Output:

5295, 9971, 265, M, 5201, U, 4179, 2393, 1483, 5247, w, 1051, 6835, 4949, 7545, X, 1045, v, Z, Z, I