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.
6, ['m', '1259', '1745', 'C', 'B', 'B', '6433', '5579', 'V', 'd', '9575', 'i', '1899', 'E', '3257', 'S', 'X', 'G', '7159', 'H', 'd', 'A', '9933', '2229', '1795', 'Z', '5467']