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:
4, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']

Ex Output:
3119, N, 6795, r, o, i, 9875, e, I, A, d, X


Ex Input:
5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']

Ex Output:
X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173


Ex Input:
6, ['5709', 'F', 'D', 'M', 'm', '6277', 'A', 'K', '3165', 'n', 'n', 'w', 'o', '7817', '1569', 'y', '8069', 'F']

Ex Output:

5709, F, D, M, m, 6277, A, K, 3165, n, n, w