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.
12, ['8099', '5245', '7577', '8539', 'v', 'j', '2145', '8335', '1947', 'X', '4241', '9779', '1985', '1881', 'H', 'k', '1425', 'Q', 'w', 'L', '1263', 'e', 'r', 'A', '9691', '1405', '1675']