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:
6, ['1865', '5353', 'H', 'X', 'N', '5561', 'A', 'o', '8715', 'w', '6513', '8239', '3677', 'W', '7459', 'K', 'F', '39', '307', '7629', '6517', '9233']

Ex Output:
1865, 5353, H, X, N, 5561, A, o, 8715, w, 6513, 8239, 3677, W, 7459, K


Ex Input:
7, ['F', 'u', '227', 'L', 'n', 'L', '5451', '6695', '3789', '4127', '2377', 'd', 'e', '7091', 'R', '4871', '6359', 'j', '8397', '8415', 'S', '8009', '2493', 'B', '3237', 'i']

Ex Output:
F, u, 227, L, n, L, 5451, 6695, 3789, 4127, 2377, d, e, 7091, R, 4871, 6359, j, 8397


Ex Input:
5, ['1449', 'S', 'U', 's', '6775', 'z', 'h', '6559', '2173', '9057', 'r', 'd', 'p', 'i', 'K', '4539', '2321', '6701', '2145', 'g', '8967', '4579', '9993', 'K', '1355']

Ex Output:

1449, S, U, s, 6775, z, h, 6559, 2173, 9057, r, d, p, i, K, 4539, 2321, 6701, 2145, g