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, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']

Answer: 6381, u, d, 7355, t, X, n, S, s


Question: 2, ['e', 'G', 'r', '2757', '4199', 'g', 'C', '3207', '3681', 'E', 'l', 'q', '7323', 'P', 'f', 'k']

Answer: e, G, r, 2757, 4199, g, C, 3207, 3681, E, l, q, 7323, P


Question: 4, ['8017', 'Z', 'w', '6137', '8727', '6849', '8499', '3995', '5903', '8037', 'k', '6777', '3017', '9239', '9319', '2575', '8921', 'o', '7007', '5923', '2591', 'a', '4575', '1549', 'C', '4225', '9663']

Answer:
8017, Z, w, 6137, 8727, 6849, 8499, 3995, 5903, 8037, k, 6777, 3017, 9239, 9319, 2575, 8921, o, 7007, 5923, 2591, a, 4575