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: 4, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']

Output: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X


Input: Consider Input: 5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']

Output: h, 5371, Y, E, 4733, 9039, w, p


Input: Consider Input: 3, ['3063', 'N', 'G', '4843', '4757', '4265', '2845', '9839', '8123', '6535']


Output: 3063, N, G, 4843, 4757, 4265, 2845