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, ['8385', 'J', 'f', 'u', 'B', 'n', 'D', '6213', 'J', '3653', 'L', '5991', '7931', '6341', '1045', 'T', 'w', '9735', 'q', '9023', '6277', 'y', 'E', 'u', 'S', '8805', '1479', 'q', '233']