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, ['4421', 'm', '6963', '6375', '4091', 'x', '6913', 'P', '3573', '8383', '5081', '9329', '5375', 'F', '6687', '5247', 'k', '7757', '7719', 'G', 'C', '2727', 'C', '6229', 'N', 'j', '5087', '8789', '8919', 'r']

Output: 4421, m, 6963, 6375, 4091, x, 6913, P, 3573, 8383, 5081, 9329, 5375, F, 6687, 5247, k, 7757, 7719, G

Input: Consider Input: 1, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']

Output: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915

Input: Consider Input: 7, ['1709', '6495', 'J', '1327', '3581', 'p', '421', '6471', '4785', '2283', 'V', 'D', '3101', '5719', '4481', '2901', '6377', 'S', 'h', '4887', 'W', '6161', '4687', '299', 'f', '1867', '8163', '7111']
Output: 1709, 6495, J, 1327, 3581, p, 421, 6471, 4785, 2283, V, D, 3101, 5719, 4481, 2901, 6377, S, h, 4887, W