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.

2, ['4619', '6389', '7529', 'B', '8289', '6167']
4619, 6389, 7529, B

8, ['3915', '1677', 'O', '6549', '4947', '3511', 'X', '391', 'e', 'y', 'u', 'E', '1981', '9039', 'U', '8203', '4305', 'Y', 'l', 'S']
3915, 1677, O, 6549, 4947, 3511, X, 391, e, y, u, E

10, ['N', '6877', '1655', '1677', 'K', '8003', '9809', '6617', '8459', 's', '509', 'b', '3533', 'I', 'V', '8907', '4989', 't', 'n', 'C', 'A', 'B', 'r', 'K', 'X', '5183', '3617', '4235']

N, 6877, 1655, 1677, K, 8003, 9809, 6617, 8459, s, 509, b, 3533, I, V, 8907, 4989, t