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, ['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: 1, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']

Answer: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915


Question: 1, ['2481', 'g', 'o', 'F', '841', 'Z', 'F', '151', '1731', 'h', 'n', '5735', 'K']

Answer:
2481, g, o, F, 841, Z, F, 151, 1731, h, n, 5735