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.
8, ['4119', 'z', 'a', 'L', 'Z', 'n', '323', 'A', 'N', '2033', '5289', '163', '1509', '8405', '1521', '3365', 'P', 'K', 'G', 'w', '1685', '6413', '4053', 'H', '5375']