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: 3, ['3901', 'l', 'h', '9541', '9307', 'm', 't', 'W']

Output: 3901, l, h, 9541, 9307


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: 3, ['M', '8485', '6949', 'R', '1347', 'F', 'f', 'P', 'E', '5431', 'L', 'A', 'z', '7067', 'T', '8009', 'F', 'T', 'd', '2737', 'z', 'V', '1311', 'L', 'Z', 'e', '5763']


Output: M, 8485, 6949, R, 1347, F, f, P, E, 5431, L, A, z, 7067, T, 8009, F, T, d, 2737, z, V, 1311, L