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, ['w', '273', '3987', 'J', 'm', 'v', '321', '8839', 'e', 'E', '5029', '1825', 't', 'a', '1257']

Output: w, 273, 3987, J, m, v, 321, 8839, e, E, 5029, 1825


Input: Consider Input: 2, ['V', '5139', 'G', 'L', '9827', 'm', 'E', '8499', '4761', 'W', '6731', '1859', '2187', '365', 'L', 'C', '4113', '6693', 'N', '5881', '4955', '293', 'W', 'h', '4913', 'P', '5193', '4385', '2819']

Output: V, 5139, G, L, 9827, m, E, 8499, 4761, W, 6731, 1859, 2187, 365, L, C, 4113, 6693, N, 5881, 4955, 293, W, h, 4913, P, 5193


Input: Consider Input: 6, ['7901', '5495', '1007', 'H', 'c', 'j', 'n', '163', '9413', 'V', '8785', 'A', 'V', 'Q', '8279', '5635', 'q', '1915', '3727', '7219', '2641']


Output: 7901, 5495, 1007, H, c, j, n, 163, 9413, V, 8785, A, V, Q, 8279