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, ['6865', '6499', 'Y', 'b', 'O', '3167', 'X', '2921', '3415', 'L', '8695', '3735', 'O', '2505', '7965', 'F', '1091', 'E', 'S', '883', '5149', 'g', 'n', 'D', '9507', 'b', 'B', 'd']