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.
11, ['n', '8295', 'v', '2985', 'v', '5063', '9021', 'y', '4315', 'x', '837', 'C', '6363', '2035', 'y', '5609', 'O', '8121', 'X', '4641', '5925', '9287', '3675']