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.
5, ['c', 'T', '4243', '8453', 'b', 'Y', 'k', 'f', '4903', '2945', 'j', 'c', 'n', 'S', 't', '699', 'z', 'N', 'Q', '1607', 'z', '3715', '419', 'S', 'u', 'k', 'Z', 'y', '2545']