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.
4, ['8061', 'R', '7711', '1785', 'L', '4211', 'W', 'Q', '4723', 'f', 'x', '1437', '9421', '4803', 'I', 'C', '3815', '191', 'K', '8655', '5583', 'V', '9607', '1343', '8813', 'y', 'w', '1937', 'w', 'v']