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:
1, ['D', 'X', 'M', '3281', 't', '5373', '5539', 'r', '1655', 'S', 'v', 'r', '5935', '3859', 'd', 'z', 'L', 'Z']

Ex Output:
D, X, M, 3281, t, 5373, 5539, r, 1655, S, v, r, 5935, 3859, d, z, L


Ex Input:
1, ['i', '1499', '4503', '195', 'x', 'h', 'x', '9265', 'O', 'p', '5391', 'y', 'C', '6211', 'Y', '7911', 'r']

Ex Output:
i, 1499, 4503, 195, x, h, x, 9265, O, p, 5391, y, C, 6211, Y, 7911


Ex Input:
10, ['2291', 'U', '4391', '1323', 'e', 'e', 'h', '1339', '7691', '1485', '9935', '2075', 'M', 'Z', '4261', '7387', '3715', 'V', 'H', '8297', '245', '8511', '4845', '151', '4907', 'G', 'V']

Ex Output:

2291, U, 4391, 1323, e, e, h, 1339, 7691, 1485, 9935, 2075, M, Z, 4261, 7387, 3715