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: 9, ['3263', '9551', 'x', 'C', 'I', 'J', 'Z', '1139', '171', '237', 'V', 'Y', '2109', '7481', 'q', 'h', '9631', 'o', '9295']
Example Output: 3263, 9551, x, C, I, J, Z, 1139, 171, 237

Example Input: 8, ['o', 'i', 'D', '8205', '7451', 'J', 'f', '5177', 'a', 'O', '4499', '8375', '8559', '2119', 'S', '2435', 'w', 'L', 'h', '2053', 's', 'j']
Example Output: o, i, D, 8205, 7451, J, f, 5177, a, O, 4499, 8375, 8559, 2119

Example Input: 3, ['M', 'T', '5457', '4591', 'O', '6549', 'T', 'M', 'X', 'h', '9331', '8953', 'R', '3747', '8115', '6895', '1653', '4319']
Example Output:
M, T, 5457, 4591, O, 6549, T, M, X, h, 9331, 8953, R, 3747, 8115