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.

Example Input: 4, ['M', '6571', '2555', 'w', '5679', 'C', '2401', 'Q', 'a', '6885', 'N', '9237', 'p', 'n']
Example Output: M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885

Example Input: 3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']
Example Output: 9869, k, 3023, 4437

Example Input: 2, ['6341', '4033', 'b', 'j', '4861', 'z', 'k', 'h', 'w', 'X', '1619', 'T', 'd', '1641', '4225', 'K']
Example Output:
6341, 4033, b, j, 4861, z, k, h, w, X, 1619, T, d, 1641