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, ['2245', 'O', '6633', 'o', '5713', 'N', '3649', 'm', 'F', 'e', '9651', 'm', '9031', 'n', 'W', 'O', 'f', 'g', 'v', 'L', '9285', 'w', 'K', '2227', 'C', 'P', 'I', 'Y']