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, ['6615', 't', '3557', '9309', 'L', '5481', '4109', '3637', '4787', 's', '6151', 'l', '5371', '6239', '2571', '6231', '6585', '2917', 'O', 'G', '5315', 't', 'r', '8341', '6871', 't', '4547', 'w']