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, ['3523', '239', '5893', 'Z', '9285', 'N', 'M', 'w', 'G', '3083', 'Z', 'q', '6791', '1999', 'v', '2529', 's', '4737', 'm', '7381', 'F', '2775', '3769', 'z', '4499', 'J', '8091']