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:
2, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']

Ex Output:
c, 2337, 5909, 2409, 6989, 7645, 469


Ex Input:
8, ['3863', '9427', '8093', 'g', '7711', 'T', 'h', 'i', 'a', '4435', 'V', '9541', '1355', '3987', 'w', 'r', '9843', '2299', 'N', '4891', 'w', '1907', '9111', '6405', 'l', '5311', '3407']

Ex Output:
3863, 9427, 8093, g, 7711, T, h, i, a, 4435, V, 9541, 1355, 3987, w, r, 9843, 2299, N


Ex Input:
4, ['n', 'c', 'A', '1073', 'T', '997', 'Q', '9105', 'b', 'Z', '471', '447', 'x', '5919', 'S', '5599', 'k', '4737', '597']

Ex Output:

n, c, A, 1073, T, 997, Q, 9105, b, Z, 471, 447, x, 5919, S