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.
9, ['959', '9139', '3787', '2337', '29', '3013', 'T', 'K', '6755', 'l', 'U', 'i', 'R', '9549', '4949', 'C', '6569', '585', 'j', '4185', '7553', '7353', 'q', 'N', '3395', 'd', 'W', '6109']