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.
1, ['8741', '7925', '2435', '3329', 'E', '5735', 'N', '5907', 'u', '7901', 'p', '4819', 'E', 'V', '1657', '9095', 'T', 'D', 'k', '9221', 'A', '8739', '8303', '9609', 'b', 'm', '8839', '3931', 'T', 'w']