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.
7, ['9259', '745', '5723', 'V', '6787', 'c', '6545', '5023', '8103', '589', 'C', '1259', '3005', 'U', '2931', 'g', '3775', '181', 'V', 'u', '13', '5219', '1985', '3663', 'i', '9713']