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, ['n', 's', 'z', '3985', 'J', '5025', 'd', 'L', '2387', '2949', '8315', 'z', '2229', '5279', '4737', '4953', 'f', '671', 'p', 'J', 'a', '2373', 'f', '1671', 'u', '5257']