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.
9, ['6217', '1467', '1897', 'S', '9601', 'l', '1947', 'x', '7345', '4767', '4773', 'C', '8915', '3143', '4143', '7721', '5331', 'f', '1449', 'T', 'o', '5545', '3473', 'i', '9057']