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, ['7713', '7825', '8527', '7453', '8099', '8401', 'q', 'i', '3231', 'y', '1757', '8789', 'C', '7261', 'z', 'A', 'M', '649', '6013']