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, ['3089', 'V', 'K', 'f', '9029', 'H', '9889', '7113', '2455', '2089', 'D', '6195', '8169', 'n', '1779']