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.
11, ['8043', 'C', '4189', '3253', 'C', '6813', 'i', '8623', '3167', 'U', '5907', '7577', '7687', 'S', 'J', 'Y', 'f', 'q', 'b', '793', 'b', '8523', '2475', '5691', '4665', '9893']