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.
--------
Question: 2, ['3999', '8117', '6037', 'Q']

Answer: 3999, 8117


Question: 2, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']

Answer: c, 2337, 5909, 2409, 6989, 7645, 469


Question: 11, ['w', '3769', '7435', '3113', '7547', 'X', '3743', 'O', 'j', 'X', '7535', 'A', 'a', 'f', 'W', 'D', '4409', '4181', '1009', '569', 'A', '6663', '7621']

Answer:
w, 3769, 7435, 3113, 7547, X, 3743, O, j, X, 7535, A