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: 3, ['Z', 't', '8689', 'j', '7065', 'g', 'i', '5261', '7243', 'z', 'Q', 'V', '9083', 'L', 'X', '4439']

Output: Z, t, 8689, j, 7065, g, i, 5261, 7243, z, Q, V, 9083


Input: Consider Input: 8, ['x', '9567', 'T', 'y', '2253', '7641', '5451', 'j', 'q', '6853', '4769', '9425', 'y', '61', '1439', 'A', '7223', 'R', 'c', 'n', 'N', '9237', 'V', 'V', '5655', 't']

Output: x, 9567, T, y, 2253, 7641, 5451, j, q, 6853, 4769, 9425, y, 61, 1439, A, 7223, R


Input: Consider Input: 4, ['7945', '6391', '4297', 'R', '7545', '5267', 'j', 'g', '7457', '2301', '8035', 'D', '885']


Output: 7945, 6391, 4297, R, 7545, 5267, j, g, 7457