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.
1, ['7917', '8133', 'M', 'r', '9759', '205', '8505', 't', 'j', 'f', '7363', 'q', '7799', 'l', 'R', 'I', '3757', 'f', '1073', 'e', 'A', '9965', '3561', '5381']