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, ['1989', 'H', '3491', 'V', 'o', '847', '3373', '2347', 'A', 'J', 'L', '289', '6275', 'o', 'H', '5923', 'c', '4341', '2257', '4685', '1377', '149', 'U', '1859', '6687', 'M']