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: 1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']
Example Output: 2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t

Example Input: 4, ['m', 'O', 'w', 'g', '6477', 'w', '3709', 'k', 'B', '3485', 't', 'I', 'a', 'Z']
Example Output: m, O, w, g, 6477, w, 3709, k, B, 3485

Example Input: 12, ['X', 'M', '6647', 's', '9713', 'q', '571', '837', '5983', '61', 'S', 'A', '9293', 'Q', '9571', '5695', 'E', '7887', 'f', 'd', 'F', '5559', 'W', 'J', 'O', 'd', '5331']
Example Output:
X, M, 6647, s, 9713, q, 571, 837, 5983, 61, S, A, 9293, Q, 9571