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.
14, ['W', '6525', 'T', 'h', '9973', '3147', 'p', '5597', '9879', 'Y', 'G', 'Z', 'o', '7099', '835', 'z', '1823', '6015', '7077', 'Z', 'y', 'J', '5537', 'A', 's', '5859', 'x', 'A', 'T', 'V']