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, ['J', '6067', 'P', 'D', 'F', '8021', '1149', '2373', 'v', 'y', 'i', '6367', 'Z', '5199', 'H', '8037', 'N', 'y', 'W', '4975', 'D', 'l', '4715', '159', '5211', '41', '4327', '6113', 'G', 'T']