Teacher: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.
Teacher: Now, understand the problem? Solve this instance: 14, ['x', 'b', '1929', '1667', '153', '2933', '5469', 'Z', 'w', 'O', 'Q', '3307', 'f', '5393', '1273', '7171', '1761', 'e', 'S', 'R', '71', '3997', '2385', '2659', 'f', '8205', '8533', '2981', 'v', 'd']
Student:
x, b, 1929, 1667, 153, 2933, 5469, Z, w, O, Q, 3307, f, 5393, 1273, 7171