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, ['6299', '3195', 'm', '8167', 'F', 'B', 'B', 'Q', 'z', 'b', 'O', '3107', 'M', 'p', 'U', '2025', 'X', 'u', 'Y', 'W', '7097', 'H', '5673', 'E', '1445', 'K', '303', '3233', '7573', 'E']