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.
10, ['4249', '2643', 'X', 'x', '3179', '2965', '2743', '7397', 'P', 'N', '2225', '1975', '4475', '4203', 'U', 'M', 'N', '6049', 'f', '3931', '1003', '829', 'L', '2801', 'B', 's', 'j', 'n', '7445']