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.
1, ['5711', '9215', '5737', '5243', 'i', 'E', 'X', '4837', '5081', '3577', '3191', '9433', 'L', 'A', '3535', '8185', '5677', '5097', 'p', 'x', '5987', 'U', '4273', '2697', '8345', 'K', 'S', 'y', '3025']