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, ['U', 'l', 'M', '1741']

Answer: U, l


Question: 1, ['T', '3241', 'k', 'r', 'x', '6509', 'Z']

Answer: T, 3241, k, r, x, 6509


Question: 2, ['s', 'I', '3347', '8539']

Answer:
s, I