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, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']
Example Output: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X

Example Input: 5, ['5145', '3227', 'E', 'S', '3051', 'J', 'Y', '7723', 'e', '5787', '2113', 'D']
Example Output: 5145, 3227, E, S, 3051, J, Y

Example Input: 7, ['c', '2369', '2505', '9691', '9097', '7581', 'O', '5597', '4453', 'h', '2193', '5233', '583', 'z', 'G', '8563', 'N', 'a', 'n', '5587', 'B', '3599', '2739', '5689', 'q', '8805', '2157', '4005']
Example Output:
c, 2369, 2505, 9691, 9097, 7581, O, 5597, 4453, h, 2193, 5233, 583, z, G, 8563, N, a, n, 5587, B