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.
9, ['5461', '1673', '8155', 'c', 'V', 'W', 'M', 'e', 'n', 'n', 'i', 'F', '8049', '1829', '3305', 'i', 'W', '2921', '3959', '5009', '7263']