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, ['8489', 'w', '8869', 't', '5997', '8863', 'e', '6229', 'b', '83', 'l', '7271', '4205', 'G', '3375', '7663', 'w', 'N', '493', '6629', 'o', 'Q', '3543', '2725', 'G', '5207', 'a']