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:
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:
10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']

Ex Output:
1647, E, J, B, S, X, 7779, 931, N, k, o


Ex Input:
8, ['U', 'x', 'I', '6823', '3259', 'h', 'L', '5895', '1399', '9053', '371', '6145', 'D', 'e', 'w', '8225', 'L', 'c', 'R', '8807', 'Z', '4927']

Ex Output:

U, x, I, 6823, 3259, h, L, 5895, 1399, 9053, 371, 6145, D, e