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, ['9329', 'S', '4741', 'f', '6595', 'v', '6823', 'z', 'r', 'g', 'n', 'k', '4129', 'b', 'p', 'g', 'b', 'S', 'I', '687', '6407', 'q', '4675', '1115', 'i', '2319']