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, ['2559', 'z', 'J', 'Z']

Output: 2559, z


Input: Consider Input: 1, ['4549', '1739', '2901', 'X', 'y', 'R', 'w', 'b']

Output: 4549, 1739, 2901, X, y, R, w


Input: Consider Input: 11, ['6309', 'a', 'Q', 'O', 'l', 'a', '6283', 'j', '6427', '5297', 'K', '6089', '5147', '3041', 'F', 'D', 'F', '3609', 'B', '2249', '2103', '6213', 'i', 'x', 'c', 'k', 'r']


Output: 6309, a, Q, O, l, a, 6283, j, 6427, 5297, K, 6089, 5147, 3041, F, D