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: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']

Answer: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591


Question: 2, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']

Answer: 4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723


Question: 3, ['o', 'T', 'N', '4773', 'O', 'n']

Answer:
o, T, N