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, ['e', '1779', 'a', '695', 'L', '8141', 'g', 'V', '5907', '8903', '2437', 'b', '5463', 'J', 'E', '5201', 'B', '2759', 'Y', 'W', 'k', 'C', 'p', '5647', '2053', '5457', '5499']