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: 5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']
Example Output: 6395, 6931, e, 6777, x, k, r, 8745, 6787

Example Input: 1, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']
Example Output: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079

Example Input: 4, ['h', 'k', '7693', 'P', '9329', 'L', 'V', '7661', '9209', '4627', 'I', 'a', 'Z', 'v', '5775', 'q', 'N', 'M', '3403']
Example Output:
h, k, 7693, P, 9329, L, V, 7661, 9209, 4627, I, a, Z, v, 5775