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, ['3491', '3761', '6971', 'g', '6751', '6113', '8579', 'f', 'F', 'T', '6889', '8651', 'S', '7893', 'G', '4443', '9711', 'Y', 'G', 'F', '9081', 'Y', 'V', '4937', '5721', '1899', 'v', 'd', 'M', 'f']