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: 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: 7, ['t', 'K', 'i', '2959', 't', '6067', 'R', 'B', 'i', 'S', 'k', '3319', 'c', '4817', 'U', 'Z', '1965', '7611', 'r', 'C']

Answer: t, K, i, 2959, t, 6067, R, B, i, S, k, 3319, c


Question: 11, ['n', '8295', 'v', '2985', 'v', '5063', '9021', 'y', '4315', 'x', '837', 'C', '6363', '2035', 'y', '5609', 'O', '8121', 'X', '4641', '5925', '9287', '3675']

Answer:
n, 8295, v, 2985, v, 5063, 9021, y, 4315, x, 837, C