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:
3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']

Ex Output:
9869, k, 3023, 4437


Ex Input:
3, ['4085', 'G', 'j', '2887', '4751', '3823', 'N', 'F', '7773', 'L', 'A', '7895', '3721', '2139', '9455', 'e', '5705', '6443', '4083']

Ex Output:

4085, G, j, 2887, 4751, 3823, N, F, 7773, L, A, 7895, 3721, 2139, 9455, e