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:
9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']

Ex Output:
X, 2625, l, 533, j, 265, O, h, 9031


Ex Input:
4, ['c', '3351', '5559', 'A', 'g', 'v', '2673', '9251', 's', 'g', '5563', 't', 'j']

Ex Output:
c, 3351, 5559, A, g, v, 2673, 9251, s


Ex Input:
2, ['5247', 'O', '2283', '6945', 'S', 'c', 'X', '7863']

Ex Output:

5247, O, 2283, 6945, S, c