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:
2, ['843', 'v', 'B', '8973', '3865', 'R', '3077', 'H', '1685']

Ex Output:
843, v, B, 8973, 3865, R, 3077


Ex Input:
4, ['i', '5977', 'a', '3031', 'C', '2095', 'g', 'X', 'o', 's', 'B', 'i', '8257', '8199', '8601', '5427', '5089', 'm', '2887', 'h', '8699', '8579', '8475', 'c', 'J', 'R', 'z']

Ex Output:
i, 5977, a, 3031, C, 2095, g, X, o, s, B, i, 8257, 8199, 8601, 5427, 5089, m, 2887, h, 8699, 8579, 8475


Ex Input:
11, ['T', 'r', 'N', '7151', 'p', 'e', '405', 'n', 'F', '4191', '1741', '2655', 'N', 'G', '1925', '9481', 'm', 'b', 'a', 'g', '6035', 'I', 'G', 'v', 'S', 'c']

Ex Output:

T, r, N, 7151, p, e, 405, n, F, 4191, 1741, 2655, N, G, 1925