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:
5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']

Ex Output:
h, 5371, Y, E, 4733, 9039, w, p


Ex Input:
11, ['L', 'u', '2683', '1891', 'F', 'Z', '1443', 'h', 'n', 'L', 'X', '2321', '6451', 'N', 'e', 'H', 'P', '6171', 'P', '929', 'i', '9873', '1097', 'z', '5943', '427', 'R', '175']

Ex Output:
L, u, 2683, 1891, F, Z, 1443, h, n, L, X, 2321, 6451, N, e, H, P


Ex Input:
11, ['G', '5543', 'P', '4897', 'Y', 'V', '8425', 'H', '6525', '4351', '8893', 'G', 'z', 'd', 'u', '4087', '8075', '9211', 'f', '9171', '2163', 'w']

Ex Output:

G, 5543, P, 4897, Y, V, 8425, H, 6525, 4351, 8893