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, ['3353', 'o', '8499', 'N', 'P', 'h', 'I', 'i', '4963', 'F', 'b', '5717', '6495', '5039', '6397', 'M', '7071', 'k', 'g', '7837', 'k', '975', '7297', '2215']