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, ['7101', 'o', '7867', 'h', 'C', 'V', '1347', '6231', '2649', '7351', 'm', '4203', 'C', 's', '3653', '1211', '8715', '9375', '9805', '9763', 'd', '6973', '3773', '6565', '7923']