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.
3, ['9355', '6747', 'B', '8693', '3961', '7223', '1711', '11', 'w', '2353', 'd', '8959', 'd', 'k', '199', '891', '4047', '7473', 'q', 'b', '9055', '6589', '2089', '6721', 'A', 'E', '3643', '6451', 'K', '2245']