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: 7, ['1271', 'y', '9543', '5773', '567', '8609', 'Q', '8599', '1801', '4245', 'U', 'z', 'a', '3753', '3283', '9711', 'N']

Output: 1271, y, 9543, 5773, 567, 8609, Q, 8599, 1801, 4245


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: 13, ['3667', '2381', 'm', 'v', '3853', 'X', 'E', 'h', '8035', '223', '5507', '7527', '1535', 'r', 'z', 'N', 'e', 'Z', 'd', '8879', 'G', 'q', '7279', '4183', '6097', '3271', '765', 'r']


Output: 3667, 2381, m, v, 3853, X, E, h, 8035, 223, 5507, 7527, 1535, r, z