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, ['3999', '8117', '6037', 'Q']
Example Output: 3999, 8117

Example Input: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
Example Output: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

Example Input: 11, ['d', '617', '6595', 'n', 'v', '9253', 'H', 'D', '5835', 'a', 'K', '8545', '2807', '8149', '5941', 'L', '5387', 't', 'p', '7765', '6147', '1697', 'T', '1387', '6345', 'b', '8825']
Example Output:
d, 617, 6595, n, v, 9253, H, D, 5835, a, K, 8545, 2807, 8149, 5941, L