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', '4873', '6699', '8729', '1105', '4851', 'm', '8075', 'H', '9247', '3593', '7641', '6949', 'i', 'A', '2735', '5733', '377', 'b', 'R', 'U', '5119', 'L', '1179', 'A', 'O', '2257', '3559', 'B']