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, ['8813', '4103', 'B', '639', 'N', '9001', '7943', '1049', 'm', 'f', '9381', 'q', 'S', 'w', '2199', '4197', '9815', 'X', 'n', 'T', '4481', '9345', '4327', '3993', '4187', '9505']