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, ['821', 'U', '8533', 'q', '6011', '3347', '3055', '5687', '9103', 'C']

Answer: 821, U, 8533, q, 6011, 3347, 3055, 5687


Question: 6, ['1885', 'x', '2593', 'b', '2775', 'W', '2521', '793', 'r', '6917', '1673', '1963', 'w', 'P', 'O', '3655', '319', '6861', 'l', 'g', '9857', '2095', '1275', 'j', '9523']

Answer: 1885, x, 2593, b, 2775, W, 2521, 793, r, 6917, 1673, 1963, w, P, O, 3655, 319, 6861, l


Question: 8, ['y', '5153', '569', '895', 'e', '4247', '6641', 'q', '8859', '11', '5487', 'w', '4557', '4187', 'g', '2005', '8907', '1699', '763', 'V', '8445', '9275', '2111', 'W', '3187', 's', '6931', 'F', 'R']

Answer:
y, 5153, 569, 895, e, 4247, 6641, q, 8859, 11, 5487, w, 4557, 4187, g, 2005, 8907, 1699, 763, V, 8445