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.
11, ['8365', '5249', 'e', '9793', '5785', '2371', '4619', '9835', '6589', 'm', 'k', '8183', 'G', '6895', 'f', '5993', 'U', 't', '2257', '3941', '9339', '1125', '4635', '6553', 'x', '899', '4383', 'L']