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.
7, ['91', '3037', '1791', 'C', 'R', 'r', '2169', 'c', 'T', '829', '1213', 'p', 'n', '2761', '2789', 'r', '7521', '8749', 'y', 'm', '175', '3713', 'A', 'l', 'K', '1489']