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.
4, ['5325', '2289', '8845', 'F', 'L', 'H', '119', 'x', '6019', '3637', '9727', '5859', '3835', 'F', 'C', 'Q', '343', 'y', '9375', '6819', 'l', 'p', '815', '2143', '2567', 'g', 'c', '3297']