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: 2, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']
Example Output: G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909

Example Input: 3, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']
Example Output: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

Example Input: 10, ['c', 'M', '1043', '1047', 'M', '7107', 'S', 'm', '5031', 'Y', '3275', '3841', '5657', 'b', '4503', 'x', 'I', 'G', '5111', 'U', 'c', 'M']
Example Output:
c, M, 1043, 1047, M, 7107, S, m, 5031, Y, 3275, 3841