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, ['7553', 'S', 'O', 'b', '3913', 'g', 'B', '6495', '3511', 'l', 'r', '3191', 'a', 'o', '2015', '5149', '6925', 'N', '8257', '6707', 'K', '8523', 'n', 'R', 'P', '7535', 'K', '1243', 'E']