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: 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: 1, ['t', '8485']
Example Output: t

Example Input: 5, ['547', '8089', '8389', 'y', '6345', '9059', '9779', '3585', 'R', 'U', 'C', '8969', '2793', 'C', 'F', '2047', 'j', '3989', '9639', '1683', 'f']
Example Output:
547, 8089, 8389, y, 6345, 9059, 9779, 3585, R, U, C, 8969, 2793, C, F, 2047