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, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']

Answer: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z


Question: 1, ['p', '1469', '7097']

Answer: p, 1469


Question: 9, ['k', 'E', 'H', '2619', 'h', 'O', '7469', 'I', 'Y', 'j', '8213', '5919', 'K', '241', 'x', 'C', '5649', '751', 'P']

Answer:
k, E, H, 2619, h, O, 7469, I, Y, j