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: 4, ['c', '3351', '5559', 'A', 'g', 'v', '2673', '9251', 's', 'g', '5563', 't', 'j']

Answer: c, 3351, 5559, A, g, v, 2673, 9251, s


Question: 11, ['3835', '749', 'Y', '3367', 'h', 'U', 'O', 'o', 'Q', 'o', 'v', '5533', 'c', '1089', 'U', 'R', 'a', '3967', 'h', 's', '8523', 'X', '2009', '6383', 'U', '8921']

Answer: 3835, 749, Y, 3367, h, U, O, o, Q, o, v, 5533, c, 1089, U


Question: 8, ['4647', '6043', 'f', '6015', '289', 'f', 'E', '1355', 'e', 'y', 'i', '1279', '9563', 'c', 'U', 'd', '4333', '2351', 'Y', 'E', 'o', '4973', '475', '7943', '3199']

Answer:
4647, 6043, f, 6015, 289, f, E, 1355, e, y, i, 1279, 9563, c, U, d, 4333