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.
12, ['9575', '9609', '9147', 'D', 'Z', 'W', '155', 'f', 'b', '9703', 'n', '3537', '237', 'S', 'J', '3115', 'Z', '2431', 'H', 'R', '6151', 'M', 'K', 'X', '6371', 'S', 'N', 'i']