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, ['v', 'l', 'a', '4761', '3467', 'd', 'i', '4703', 'Y']

Output: v, l, a, 4761, 3467, d, i


Input: Consider Input: 4, ['b', 'j', '5513', '2675', 'X', 't', '5799', '3691', 'q', 'v', 'X', 'F', 'Z', '3995', 'K', '5143', 'W', 'L', 'D', 'Y', 'G', 'E']

Output: b, j, 5513, 2675, X, t, 5799, 3691, q, v, X, F, Z, 3995, K, 5143, W, L


Input: Consider Input: 5, ['c', 'T', '4243', '8453', 'b', 'Y', 'k', 'f', '4903', '2945', 'j', 'c', 'n', 'S', 't', '699', 'z', 'N', 'Q', '1607', 'z', '3715', '419', 'S', 'u', 'k', 'Z', 'y', '2545']


Output: c, T, 4243, 8453, b, Y, k, f, 4903, 2945, j, c, n, S, t, 699, z, N, Q, 1607, z, 3715, 419, S