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, ['8045', '8869', 'O', '23', 'o', '8949', '2479', '6639', '7525', '7801', '1215', '5597', 'v', '6545', '335', 'e', 'T', '3517', 'a', '171', '7273', 'g', 'E', '8473', 'm', '2977', '7633', '7349']