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, ['8745', '1687', '191', '1075', 'b', '7619', '2391', '4797', '7723', 'N', 'K', '7729', '6999', '7573', 'y', 'i', 'm', 'e', 'I', 'r', 'F', '19', '8095', 'N', '6965', 'J', '239', 's', '5165', 'Q']