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.
10, ['6739', '9875', '6351', 'v', '8003', 'D', 'L', '203', 'N', '7431', 'I', '2453', 'g', '1783', 'w', '3359', '1859', 'P', '4655', '415', '2803', '6867', '8811', 'n', '2111', 'R', 'n', '5359']