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.
6, ['907', '3761', '6147', 'e', 'M', 't', '3389', 'e', 'd', 'f', 'D', 'S', 'w', 'j', '443', '731', '3179', '9951', '5963', '7369', 'K', '1449', '6169', '6935', '2451', 'f', 'C', 'f']