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: 7, ['t', 'x', 'A', 't', 'j', 'E', '1949', '57', '9477', 'W', 'h', 'Q', '6787', '8505', '1725', 't', '4437', 'x', '6937', 'F', 'V', '6427', '57', '6387', 'Y', '9933', '3067', '7327', 'n']
Example Output: t, x, A, t, j, E, 1949, 57, 9477, W, h, Q, 6787, 8505, 1725, t, 4437, x, 6937, F, V, 6427

Example Input: 2, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']
Example Output: 4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723

Example Input: 6, ['1015', '9805', '8315', '7951', '193', 'J', 'R', 'o', 'b', '3917', 'm', '3805', 'M', '1491', 'L', '7299', '8003', 'q', 'E', 't', '1941', '8371', '4479', '4361', '5225', '855', 'K', 'I', 'C']
Example Output:
1015, 9805, 8315, 7951, 193, J, R, o, b, 3917, m, 3805, M, 1491, L, 7299, 8003, q, E, t, 1941, 8371, 4479