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.
4, ['3997', '3473', 'C', '313', 'b', 'i', 'Q', '7563', '3923', 'C', '737', 'f', 'a', 'N', '9115', 'K', '2735', 'A', 'd', '9635', '6111', 'F', '8187', '9953', 'o']