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, ['k', '1903', 'q', 'D', 'f', '3015', 'r', '4551', '8475', 'K', '8933', 'R', 'z', '8199', 'H', 'j', 'R', '2815', 'K', '3025', '8765', 'S', 'W', 'K', 'I', 'P', '1407', 'n']

Ex Output:
k, 1903, q, D, f, 3015, r, 4551, 8475, K, 8933, R, z, 8199, H, j, R, 2815, K, 3025, 8765, S


Ex Input:
7, ['5891', 'h', '2299', '3189', 'b', '7005', 'R', 'd', 'R', '4617', 'Y', '6825', '2765', 'C', '8433', 'n', 'Y', '37', '837', 'K', '373', '7097', '8121', '4203']

Ex Output:
5891, h, 2299, 3189, b, 7005, R, d, R, 4617, Y, 6825, 2765, C, 8433, n, Y


Ex Input:
4, ['4261', 'E', '8831', 'C', 'L', 'R', '4699', '7181', 'Y', 'q', '9285', 'w', 'r', 'q', '25', '9725', 'z', '5521', '1843', '7707', 'L', 'C', 'K', '1987', '8787', 'u', '4749', '6221', '9585', 'Q']

Ex Output:

4261, E, 8831, C, L, R, 4699, 7181, Y, q, 9285, w, r, q, 25, 9725, z, 5521, 1843, 7707, L, C, K, 1987, 8787, u