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.
3, ['j', '607', 'I', '9265', '4157', 'K', '467', '7177', 't', 'm', 'y', 'E', '2549', 'L', 'H', '8673', 'S', '6385', 'O', '2457', '4277', 'l', '5211', 'l', '3801', 't', 'l', '6365']