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, ['k', '1367', '8313', '5561', '3913', '5859', '8875', '2019', 'K', '7527', '5167', 'U', '7509', 'N', 'C', '9299', 'T', '4385', 't', '9317', 'w', '6819', '9905', 'b', 'o']