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.
6, ['6035', '3307', '5599', '4267', 'i', 'v', '7253', '9393', '2773', 'l', '8695', 'I', '6873', '601', '7231', 'j', 'V', 'o', '3983', '5127', '6029', 'j', '2661', 'D']