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: 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, ['Z', '1867', '3395', '4065', 'a', 'f', 'X', 'V', 'R', 'P', 'g', '2191', '933', '7691', '4161', 'P', 'r', '4905', '251', 'r', 'j', '5105', '1141']

Output: Z, 1867, 3395, 4065, a, f, X, V, R, P, g, 2191, 933, 7691, 4161, P, r, 4905, 251, r


Input: Consider Input: 2, ['D', '3717', '265', '9393', 'C', 'U', '3583', '9391', 'V', 'q', 'Y', 'F', '6275', '8601']


Output: D, 3717, 265, 9393, C, U, 3583, 9391, V, q, Y, F