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, ['Z', '2573', '3413', 'K', '1989', '143', 'u', 'N', 'O', 'C', 'o', 'O', 'U', '9545', '5523', 'u', 'a', '9905', 'x', '311', 'I', '8255', 'b', '8349', '9455', '207', 'T']