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:
3, ['161', 'Z', '5715', '9755', '2855', 'P']

Ex Output:
161, Z, 5715


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

Ex Output:
M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885


Ex Input:
6, ['a', 'U', '735', 'R', 'u', 'R', '4601', 'j', '8283', 'L', 'P', '3457', '6965', '9947', 'w', 'E', 'Q', 'x', 'm', '213', 'K', 'R', 'L', 'x', '6423', 'U']

Ex Output:

a, U, 735, R, u, R, 4601, j, 8283, L, P, 3457, 6965, 9947, w, E, Q, x, m, 213