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, ['6265', '495', '935', '2023', 'm', 'X', 'c', '2263', 'T', '9929', '1553', 'k', 'k', 'u', '7263', '4573', '7449', '2335', '9845', 'C', '9023', '4069', 'X', '607', 'F', 'E', '2485', 'B', 'Z']