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:
10, ['c', '2459', 'Z', '221', '6821', 'D', 'i', '8517', 'R', 'F', 'b', 'Z', '8771', '5713', '2703', '3003', '2627', 'y', '4817', '2005', '2851', '5563', 'l', '3069', 'm', '6701', '3', '2337', '3693', 'T']

Ex Output:
c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005


Ex Input:
3, ['z', '6977', '5793', '8711', 'm', '7889', 'y']

Ex Output:
z, 6977, 5793, 8711


Ex Input:
6, ['4459', 't', 'y', 'w', 'H', '7191', '6923', 'x', 'K', '6683', 'n', 'C', '505', '8207', 'A', '7563', '63', '2079', 'j', 'R', '4951', '9859']

Ex Output:

4459, t, y, w, H, 7191, 6923, x, K, 6683, n, C, 505, 8207, A, 7563