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.
7, ['6203', '951', 'O', 'u', 'B', '2147', '1569', '7681', 'I', '2905', '8447', 'I', 'G', '2981', '511', 't', '1977', '8307', 'g', '4461', '6929', '8183', 'm', '3109', 'Z', '6773', '851', '4673']