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, ['5945', '3475', '7789', '5501', 'V', 'Y', '4109', '1799', '585', '2855', 's', '3577', 'E', '3845', 'B', 'H', 'L', 'D']

Answer: 5945, 3475, 7789, 5501, V, Y, 4109, 1799, 585, 2855, s, 3577, E


Question: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']

Answer: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q


Question: 5, ['T', '2977', 'C', '4859', 'p', 'z', '4903', 'h', '8179', 'H', 'F', '1705', '2977', 'C', '1527', '1281', 'f', 'G', '4463', '4665', '3077', '3389', '2609', 'J', 'p', 'Z', '1593', '2345', 'e']

Answer:
T, 2977, C, 4859, p, z, 4903, h, 8179, H, F, 1705, 2977, C, 1527, 1281, f, G, 4463, 4665, 3077, 3389, 2609, J