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.
13, ['7425', 'V', 'M', '4091', 'h', 'i', '4849', '2207', 'N', 'K', '8423', '6643', 'e', 'P', '9053', '8171', '3533', 'u', 'o', 'L', '7987', '1251', '2651', 'A', 'm', '7367', 'a', 'M', 'Y']