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: 10, ['5481', '2055', '7495', '2107', 's', 'y', 'F', 'e', 'J', 'S', '8789', 'y', 'h', '9131', '775', 'x', 'K', '5149', 'B', '4323', '731']

Output: 5481, 2055, 7495, 2107, s, y, F, e, J, S, 8789


Input: Consider Input: 1, ['a', 'k', 'B', '7647', '5407', 'f', '9239', '4391', '4439', 'y']

Output: a, k, B, 7647, 5407, f, 9239, 4391, 4439


Input: Consider Input: 2, ['f', 'D', '5335', 'D', '9741', '7551', '577', '1687', '2351', '7425', 'p', '2199', 'F', 'T', 'r', 'P', 'r', '1925', 'm', '8883', 'q', 't', 'S', 'O', 'z', 'B', 'C', 'Z', 'X', '5083']


Output: f, D, 5335, D, 9741, 7551, 577, 1687, 2351, 7425, p, 2199, F, T, r, P, r, 1925, m, 8883, q, t, S, O, z, B, C, Z