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.
9, ['5745', '441', '6005', '7613', '2713', 'k', '7663', '357', 'q', 'W', 'X', '7277', 'z', 'z', 'N', 'b', '7905', 'K', '305', '3993', '743', '2749', '4251']