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, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']

Ex Output:
9317, r, h, 8465, 8803, 9133, L, R, A, i, u


Ex Input:
1, ['5811', 'n', '6307', 'f', 'Z', '5779', 'S', 'T', 'D', '261']

Ex Output:
5811, n, 6307, f, Z, 5779, S, T, D


Ex Input:
6, ['c', '1207', '7805', '1969', 'I', 'K', '1139', '5867', 'G', 'C', 'h', 'q', '2679', '2571', '6509', '6869', 'P', 'y', '4399', '763', '999', 'T', '8855', '4887', 'j', 'K', 'P', '8981']

Ex Output:

c, 1207, 7805, 1969, I, K, 1139, 5867, G, C, h, q, 2679, 2571, 6509, 6869, P, y, 4399, 763, 999, T