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, ['5903', '9639', '6337', 'L', 'E', 'B', 'q', 'N', 'X', 'J', '9087', 'r', '9875', 'n', '3575', '5897', 't', '2697', 'R', '7853', 'n', 'm', 'K', '1521', 'y', 'u', '7433']