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: 2, ['A', 'w', '4031', '5175', 'H', '4627', '8031', 'Z', 'u', '5489', '1145', '1173', '5959', '5695', 'b', '9535', '8215', 'x', 'U', 'V', '773']

Output: A, w, 4031, 5175, H, 4627, 8031, Z, u, 5489, 1145, 1173, 5959, 5695, b, 9535, 8215, x, U


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

Output: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763


Input: Consider Input: 2, ['C', '8469', 'E', 'C', '5603', 'K', '7527', '9543', 'S', '6973', '8165', '4167', 'i', '387', '1739', '8593', 'B', 'D']


Output: C, 8469, E, C, 5603, K, 7527, 9543, S, 6973, 8165, 4167, i, 387, 1739, 8593