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, ['2677', '6885', 'C', '8799', '1119', 'i', 'K', 'o', 'b', '5993', '783', '6295', '4545', 'G', '1959', '3057', 'j', 'f', '6349', '7725', '8771', 'Z', '7169', '8411', 'h', 'C', '8055']