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.
13, ['975', 'Q', '4849', '467', '3705', '6083', '1657', 'c', '8883', '1487', 'O', 'M', '6485', 'z', '8797', '8577', 'd', 'g', '5193', 'p', 'K', '9261', '1589', '7475', 'I', '6191', '8267']