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

Ex Output:
9869, k, 3023, 4437


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:
1, ['6983', '4863', '2511', '4261', 'P', 'Y', '1463', '4515', 'W', 'H', 'o']

Ex Output:

6983, 4863, 2511, 4261, P, Y, 1463, 4515, W, H