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.
14, ['c', 'w', 'v', 'K', 'D', '6327', '1361', 'F', 's', 'O', 'K', 'm', 's', 'p', '3447', '7045', '8259', '2721', '7891', 'B', '6673', '4499', '1713', 'N', '333', 'b', '8725', 'j', '827', 'X']