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, ['e', '3257', '2801', '7161', '4587', '6371', 'G', 'O', '1201', 'D', 'l', '1977', 'A', 'D', 'Y', '3297', '1609', 'F', '5449', '7031', 'y', 't', '481']