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.
11, ['6889', '1701', 'L', '2517', 'Y', '8787', 'C', '8987', 'V', '3687', '9159', 'b', 'X', '3209', '205', 'H', 'I', '3893', '8833', '359', '459', 'J', '9493', '1187', 'B', 'e', 'Z', 'q', 'Z', 'j']