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, ['T', '5235', '123', '785', '6491', '8285', '9337', 'K', '9771', '8181', '4531', '6587', 'm', 'F', 'E', 'R', '171', '7431', '1083', '6327', 'I', '3075', 'i', 'O', 'S', 'a', '5323', '9123', 'G', '1269']