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.
5, ['3369', '5129', 'a', 'c', 'D', 'm', '4411', 'C', '1015', 'H', 'Q', '4689', '2059', '1217', 'O', '553', 'D', '451', '5059', '1113', 'O', '7593', '6663']