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, ['I', '8109', '3115', 'J', 'T', 'n', 'A', '707', 'M', 'U', '3377', '481', '1407', '9999', '6343', '1945', 'H', 'P', 'Y', 'i', 'K', '7157', 'C', '8445', 'n', 'd', '6401']