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: 9, ['U', 'D', 't', 'q', 'h', '2909', '9001', '79', 'V', 'A', 'H', '5597', 'p', '4475', '9295', '6835', 'o', '8759', '8845', 'i', '2277', '445', 'i', '199', '8793', '9463', 'l', 'S']

Answer: U, D, t, q, h, 2909, 9001, 79, V, A, H, 5597, p, 4475, 9295, 6835, o, 8759, 8845


Question: 3, ['8479', 'I', 'b', '3759', 'P', '4853']

Answer: 8479, I, b


Question: 3, ['c', 'd', '5033', 'I', '5729', '2633', '9807', 'c', 'c', 'M', '7729', '4335', '9945', '119', 't', 'R', '2169', 'A', '2521', 'G', '1957', '7233', 'W', 'I', 'v', 'V']

Answer:
c, d, 5033, I, 5729, 2633, 9807, c, c, M, 7729, 4335, 9945, 119, t, R, 2169, A, 2521, G, 1957, 7233, W