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.
9, ['9695', 'y', 'g', '9543', 'I', 'x', '6399', 'e', '4571', 'h', '3901', '6645', '817', 'j', '2705', '2151', '3039', '4401', '9491', '567', '6741', '4817', '4361', '2115', '9715', 'R', 's', 'L']