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.
3, ['3911', 'D', '1603', 'b', '9167', '5761', 'o', '7115', '633', 'a', '1953', '1125', 'T', 'V', '8119', '3633', '4131', 'Y', '3941', 'j', 'e', 'p', '2985', 'i', '4041', 'e', '1067']