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, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']

Ex Output:
977, Z, R, 8793, 2449, 2051


Ex Input:
10, ['b', '2623', '4859', 'o', '2809', '2123', 'd', '1375', '2371', '4673', 'f', 'J', '5073', '9347', '6197', 'y', 'J', 'r', 'A', '5057', '3535']

Ex Output:
b, 2623, 4859, o, 2809, 2123, d, 1375, 2371, 4673, f


Ex Input:
6, ['6591', 'W', 'm', 'k', '4045', 'V', 'X', 'L', '2297', 'e', '2449', '2531', '7031', '6757', '7151', '8625', '6777', '4633', '9451', 'u', '4741', '8753', '5107', 'a', 'C', 'l', '6789']

Ex Output:

6591, W, m, k, 4045, V, X, L, 2297, e, 2449, 2531, 7031, 6757, 7151, 8625, 6777, 4633, 9451, u, 4741