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.
9, ['8437', '7191', '6391', 'S', 'q', '3467', '9617', 'L', '207', 'i', 'r', 'u', 'k', 'M', '9215', 'r', 'W', 'g', 'f', 'b', 'J', '9935', 'H']