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.
11, ['4787', 'b', '701', '6301', 'Y', '9621', 'n', '5213', '6165', 'q', '7177', '9583', '5133', '61', '7931', 'F', '9521', 'c', 'n', 'd', 'f', '7009', '255', 'W', '1581', 'v', '5877']