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, ['v', 'f', 'X', '1101', '2213', 's', 'I', 'y', '8609', '9413', 'w', '9375', 'J', '5047', 'y', '9483', 'Q', '1007', '2609', '8947', 'L', '7773', 'D', '4699', 'B', '6103', 'B', '9933']