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.

Example Input: 8, ['c', '4957', 'b', 'm', '4285', 'p', '4795', 'm', 'f', 'R', 'M', '375', '6087', 'J', '3193', 'F', '4517', 'L', 'm', '2611', '3395']
Example Output: c, 4957, b, m, 4285, p, 4795, m, f, R, M, 375, 6087

Example Input: 1, ['D', 'X', 'M', '3281', 't', '5373', '5539', 'r', '1655', 'S', 'v', 'r', '5935', '3859', 'd', 'z', 'L', 'Z']
Example Output: D, X, M, 3281, t, 5373, 5539, r, 1655, S, v, r, 5935, 3859, d, z, L

Example Input: 3, ['8777', 'x', 'm', 'F', '9959', 's', '9149', 'B', '9457']
Example Output:
8777, x, m, F, 9959, s