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: 3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']
Example Output: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u

Example Input: 10, ['c', '2459', 'Z', '221', '6821', 'D', 'i', '8517', 'R', 'F', 'b', 'Z', '8771', '5713', '2703', '3003', '2627', 'y', '4817', '2005', '2851', '5563', 'l', '3069', 'm', '6701', '3', '2337', '3693', 'T']
Example Output: c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005

Example Input: 9, ['1389', 'm', '9109', 'Y', '735', '3349', '5609', '3553', 'h', 'A', '3381', '2525', '2823', '2205', '5665', 'v', '9255', 'e', '7573', 'q', 'j', '6673', '6629', '8309', 'E', 'G']
Example Output:
1389, m, 9109, Y, 735, 3349, 5609, 3553, h, A, 3381, 2525, 2823, 2205, 5665, v, 9255