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:
1, ['n', 'i', 'z', '2467']

Ex Output:
n, i, z


Ex Input:
3, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']

Ex Output:
9861, h, 87, z, 805, M


Ex Input:
7, ['c', 'H', 't', '8521', '6155', 'B', 'K', '1219', '4801', '9075', 'r', 't', 'H', '7215', '6299', '3073', 'b', '341', '6467', '8281', 'I', '711', 'O', 'P', '2805', 'y', '1905', '7117', 'O', 'Q']

Ex Output:

c, H, t, 8521, 6155, B, K, 1219, 4801, 9075, r, t, H, 7215, 6299, 3073, b, 341, 6467, 8281, I, 711, O