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: 6, ['3677', '7083', 'F', 'y', '9257', 'c', 'J', '8095', '8747', '7145', 'D', '1779', '7223', 'W', '177', '1635', '2055', 'z', 'O', 'M', 'z', 'I', 'A', '1809', '1629', 'j', 'j', 'e']

Answer: 3677, 7083, F, y, 9257, c, J, 8095, 8747, 7145, D, 1779, 7223, W, 177, 1635, 2055, z, O, M, z, I


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, ['9505', '541', 'm', 'F', 'r', 'c', 'j', 'I', '3759', 'M', 'C', 'H', '1187', '7597', '1605', 'S', '4685', 'U', 'g', '8939', 'x', 'c', 'i', '795', '767', '7439']

Answer:
9505, 541, m, F, r, c, j, I, 3759, M, C, H, 1187, 7597, 1605, S, 4685, U, g