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, ['X', '245', 'e', 'Z', '1475']

Ex Output:
X, 245, e, Z


Ex Input:
10, ['B', '9661', 'L', 'A', '8735', '5487', 'n', 'd', 'h', '6199', '5419', 't', '7899', '2907', '725', '4153', '6577', 'Q', '5947', 'B']

Ex Output:
B, 9661, L, A, 8735, 5487, n, d, h, 6199


Ex Input:
9, ['f', '6097', '1471', '2431', '9617', 'G', '7865', 'P', 'K', '431', '7213', '1627', '6781', '2423', 'E', '6035', '1703', 'G', '3817', '3143']

Ex Output:

f, 6097, 1471, 2431, 9617, G, 7865, P, K, 431, 7213