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: 5, ['U', '3021', 's', '2595', 'g', 'q', '3943', 'M', 'X', '9035', 't']

Output: U, 3021, s, 2595, g, q


Input: Consider Input: 10, ['Z', 'd', 'z', '1581', '1397', 'g', '4749', 'F', 'a', '3139', 'M', '2299', 'G', '2599', '7529', 'U', 'C', '4531', '1841', '4159', 'L', 'R', '8543', '2183', '223', 'g', '2019', 'X']


Output: Z, d, z, 1581, 1397, g, 4749, F, a, 3139, M, 2299, G, 2599, 7529, U, C, 4531