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, ['g', 'j', 'a', 'h']

Answer: g, j


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

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


Question: 7, ['4909', '8255', 'o', '5105', '9655', '7121', 'T', 'T', '3245', 'r', '367', 'S', '2591', '7163', 'L', 'n', 'k']

Answer:
4909, 8255, o, 5105, 9655, 7121, T, T, 3245, r