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.
10, ['C', '4401', 'B', '2999', '1235', 'W', '5037', '6689', 'u', 'W', 'o', '4545', 'J', '3231', 'F', 'p', '6059', 'I', 'b', 'u', 'I', 'u', '9307', 'a', '3079', '2965']