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: 4, ['9827', '4159', '8267', 'B', '609', '2119', '7671', '6383', '6683', 'f', '8495', '9171', '5869', '2415', 'H', '7187', 'j', 'I', 'Y', 's', 'v', 'l', 'D']
Example Output: 9827, 4159, 8267, B, 609, 2119, 7671, 6383, 6683, f, 8495, 9171, 5869, 2415, H, 7187, j, I, Y

Example Input: 3, ['7835', '8157', 'q', '1331', '9025', '8057', '1681', '4049', '5333', 'H', '8769', 'h', 'y']
Example Output: 7835, 8157, q, 1331, 9025, 8057, 1681, 4049, 5333, H

Example Input: 4, ['6073', 'Q', '191', '9699', '9879', 'v', '4091', 'g', 'x', 'M', 'L', 'c', 'A', 'u', 'Y', '3733', 'X', '7861', 'U', '1159', '8181']
Example Output:
6073, Q, 191, 9699, 9879, v, 4091, g, x, M, L, c, A, u, Y, 3733, X