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, ['5957', '3849', '607', '7883', 'y', 'y', '3165', '2541', 'z', 'g', '6123', 'q', '527', 'q', '8515', '1189', 't', 'e', 'j', '1389', '7571', '7485', '1017', '3799', '6519']

Answer: 5957, 3849, 607, 7883, y, y, 3165, 2541, z, g, 6123, q, 527, q, 8515, 1189, t, e, j, 1389, 7571, 7485, 1017


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: 12, ['507', 'x', 'u', '6155', '8861', '5247', '1707', 'R', '5255', 'm', '1053', 's', 'Y', '5159', '5711', 'x', '4335', 'G', 'e', 'W', '8921', '8637', '8441', '8167', '7443', '6953', 'E']

Answer:
507, x, u, 6155, 8861, 5247, 1707, R, 5255, m, 1053, s, Y, 5159, 5711