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: 1, ['6421', '8369', 'Y', '6487', '7131', '2359', 'e', '2763', 'L', '6021', '1685', 'A', '9371', '7243', 'I', 'T', '659', 'E', '6979']

Output: 6421, 8369, Y, 6487, 7131, 2359, e, 2763, L, 6021, 1685, A, 9371, 7243, I, T, 659, E


Input: Consider Input: 3, ['T', 'g', '4755', 'O', 'G', 'Z', 'r', '9337', '2691', 'h', 'j', '4271', 'T', '5217', 'a', '9671']

Output: T, g, 4755, O, G, Z, r, 9337, 2691, h, j, 4271, T


Input: Consider Input: 9, ['71', '3473', 'w', 'Z', 'G', '1161', 'y', '7855', 'b', 'i', '499', '2463', '9713', 'Z', 'R', 'F', 'h', '6367', '4299', 'K', 'B', 'Y', '959', 'd', '5241', 'Z', 'b', '4309']


Output: 71, 3473, w, Z, G, 1161, y, 7855, b, i, 499, 2463, 9713, Z, R, F, h, 6367, 4299