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.
6, ['9061', 'U', 't', '4513', '2687', '2171', '3519', '9309', '4979', 'u', 'F', '9439', '1529', '1853', '1725', 'C', 'B', 'G', '6359', '4503', 'N', 'o', 'N', '9967', '3167', 'W', '4999', '8353', '5009']