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, ['673', 's', 'f', 'J', '2605', '5311', 'p', '4403', 'K', 'I', 'e', '7665', 'G', '5787', 'S', '3589', '8205', '5545', 'T', '9189', 'N', '3577', '7509', 'k', '657', '2725', 'i', '4687', 'L']