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: 5, ['n', '1643', 'T', '7613', '8719', 'y', 'n', '6077', '727', 'I', 's', '229', 'h', '6299']

Answer: n, 1643, T, 7613, 8719, y, n, 6077, 727


Question: 7, ['6359', 'e', 'm', '9405', 'G', '1111', '7629', 'j', '1499', 'a', '683', '2853', 'j', 'l', 'g', '8575', '6289', 'B', '5161', '2487', 'z', 'J', 'v', 'K']

Answer: 6359, e, m, 9405, G, 1111, 7629, j, 1499, a, 683, 2853, j, l, g, 8575, 6289


Question: 8, ['r', 'B', '4003', 'I', 'M', 'f', '5321', 'G', 'Z', 'z', '3463', '6383', 'Q', '5901', 'o', 'F', 'w', 'c', 'd', '9927', '5813', '1851', 'q']

Answer:
r, B, 4003, I, M, f, 5321, G, Z, z, 3463, 6383, Q, 5901, o