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.
12, ['P', 'P', '4177', 's', '2715', '1301', 'b', '7229', '2963', 'L', 'l', 'q', '1937', 'b', 'z', '527', 'v', '2509', '4579', 'F', '6633', '4049', '2259', '7573', 'k', '7953', '6483', '6643', '8601', 'w']