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, ['5957', '3849', '607', '7883', 'y', 'y', '3165', '2541', 'z', 'g', '6123', 'q', '527', 'q', '8515', '1189', 't', 'e', 'j', '1389', '7571', '7485', '1017', '3799', '6519']

Output: 5957, 3849, 607, 7883, y, y, 3165, 2541, z, g, 6123, q, 527, q, 8515, 1189, t, e, j, 1389, 7571, 7485, 1017


Input: Consider Input: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']

Output: X, 2625, l, 533, j, 265, O, h, 9031


Input: Consider Input: 4, ['3785', 'E', '2319', 'k', '8489', 'D', '4617', '4079', 'i', '1859', 'c', '1565', 'K', 'l', 'x', 'J', 'R', 'U', '3491', '6321']


Output: 3785, E, 2319, k, 8489, D, 4617, 4079, i, 1859, c, 1565, K, l, x, J