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, ['2935', 'H', '5139', 'n', 'X', '5999', 'C', '5147', 'J', '293', 'c', 'u', '9859', 'H', 'W', '2171', 'w', '3431', '1515']
Example Output: 2935, H, 5139, n, X, 5999, C, 5147, J, 293, c, u, 9859, H, W, 2171, w, 3431

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: 1, ['U', 'x', '8563', 'E', 'E', '4579', 'X', '9047', 'a', 'q']
Example Output:
U, x, 8563, E, E, 4579, X, 9047, a