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, ['2935', 'H', '5139', 'n', 'X', '5999', 'C', '5147', 'J', '293', 'c', 'u', '9859', 'H', 'W', '2171', 'w', '3431', '1515']
Example Output: 2935, H, 5139, n, X, 5999, C, 5147, J, 293, c, u, 9859, H, W, 2171, w, 3431

Example Input: 2, ['d', '7863', 'n', 'C', 'u', '1989', 'Y', '7573', 'a', '265', 'l', 'O', 'e', 'v', 'r', 's', 'Z', 'c', 'I', '8601']
Example Output:
d, 7863, n, C, u, 1989, Y, 7573, a, 265, l, O, e, v, r, s, Z, c