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, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']

Answer: 4745, 1001, z, c, 143, d, 3291, r, 5543


Question: 2, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']

Answer: G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909


Question: 11, ['4927', 'f', '6023', 'x', '727', '1329', 't', '3873', 'Z', '2327', 'S', 'h', 's', '7175', '801', '2897', '3215', '5117', 'E', '5297', 'q', 'X', '5265', 'c', '4081', '8223', 'N', '363', 'P', '3633']

Answer:
4927, f, 6023, x, 727, 1329, t, 3873, Z, 2327, S, h, s, 7175, 801, 2897, 3215, 5117, E