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, ['O', '4045', 'd', 'r', 'h', '3903', 'I', '5309', '7833', 'c', '7265', 'X']

Ex Output:
O, 4045, d, r, h, 3903, I, 5309, 7833


Ex Input:
2, ['k', 'k', 'A', '5571', '3033', '5481']

Ex Output:
k, k, A, 5571


Ex Input:
12, ['7681', 'P', 'O', '7193', '6731', 't', '1211', 'L', '5521', 'b', '5497', '8485', '649', 'P', 'z', '4755', 'D', '7777', '5377', '7355', 'x', '9523', '5505', '4147', '179', 'M']

Ex Output:

7681, P, O, 7193, 6731, t, 1211, L, 5521, b, 5497, 8485, 649, P