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:
1, ['F', 'p', '9513', '4451', 'M', 'H', 'u', 'c', '9279']

Ex Output:
F, p, 9513, 4451, M, H, u, c


Ex Input:
8, ['8783', 'S', '9775', 'Q', '9201', 'C', 'N', '6811', 'y', 'a', '6873', 'C', '3253', '7411', 'h', 'S', '2607', '3657', '9267', 'J', '4757', 'W', '5667', '2453', 'i', 'X']

Ex Output:

8783, S, 9775, Q, 9201, C, N, 6811, y, a, 6873, C, 3253, 7411, h, S, 2607, 3657