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, ['8363', 'm', 'i', '9887', '7645', '815', '9555', '2541', '2947', 'r', '7885', '6389', '3', '6109', '5441', '8731', 'N', 'J', '7977', 'C', '1683', '5875', '1105']

Answer: 8363, m, i, 9887, 7645, 815, 9555, 2541, 2947, r, 7885, 6389, 3, 6109, 5441, 8731


Question: 3, ['T', 'g', '4755', 'O', 'G', 'Z', 'r', '9337', '2691', 'h', 'j', '4271', 'T', '5217', 'a', '9671']

Answer: T, g, 4755, O, G, Z, r, 9337, 2691, h, j, 4271, T


Question: 7, ['T', 'F', '9597', 'w', 'd', '3665', '2333', 'C', '4785', '8101', 'q', '3879', '8283', '9937', '3215', 'M', 'l', 'a', 'Q', 'D', 'F', '6761', '5353', '3673', '7461', '6041', 'r', '8679', 'n']

Answer:
T, F, 9597, w, d, 3665, 2333, C, 4785, 8101, q, 3879, 8283, 9937, 3215, M, l, a, Q, D, F, 6761