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.

Input: Consider Input: 1, ['P', 'Q', '2335', 'Z', 'B', '4397', '8329', 'S', 'N', '9733', '4569', 'Z', 'G', '1243', '7337', '2581', '3033', '9325', '7911', '1175', 'G', '4717', '4581', 'e', '4439', 'i', 'J', '9957']

Output: P, Q, 2335, Z, B, 4397, 8329, S, N, 9733, 4569, Z, G, 1243, 7337, 2581, 3033, 9325, 7911, 1175, G, 4717, 4581, e, 4439, i, J


Input: Consider Input: 3, ['9011', '6839', 'D', 'D', '8377', 'J', 'y', '8107', '7147', '8957', 'i', '8105', '7419', 'a', '1783', 'l', '9973', 'H', 't', 'b', 'G', '141', '1549', '677', 'c', 'M', 'b']

Output: 9011, 6839, D, D, 8377, J, y, 8107, 7147, 8957, i, 8105, 7419, a, 1783, l, 9973, H, t, b, G, 141, 1549, 677


Input: Consider Input: 4, ['8535', '7779', 'X', 'x', 'X', 'W', '5295', 'l', '9897', '7459', '9811', '9061', '7191', 'm', 'R', '6415', '3193', 'U', '4887', '5079', 'e', 'P', '2265']


Output: 8535, 7779, X, x, X, W, 5295, l, 9897, 7459, 9811, 9061, 7191, m, R, 6415, 3193, U, 4887