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: 7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']

Answer: 4871, 3897, B, t, V, 7127, 8163, R, c, o, w


Question: 6, ['7151', 'S', '4193', '6261', 'H', '4623', '1455', 't', '1421', 'e', '4227', '4719', 'g', 'V', 'Z', 't', 'z', '5603', '5745']

Answer: 7151, S, 4193, 6261, H, 4623, 1455, t, 1421, e, 4227, 4719, g


Question: 9, ['8193', '3503', 'A', '3483', '8771', 'V', '9605', 'c', '4543', 'J', '4223', '1581', '7227', 'U', 'd', '3315', '3467', '6455', '8629', '4055', 'd', 'f', 'H', '1157', '1839', 'l']

Answer:
8193, 3503, A, 3483, 8771, V, 9605, c, 4543, J, 4223, 1581, 7227, U, d, 3315, 3467