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, ['z', 'C', '1787', 'P', 'i', 'M', 'V', '7833', 'i', '189', '6017', 'I']

Answer: z, C, 1787, P, i, M, V, 7833, i, 189


Question: 8, ['H', '2329', 'K', 'q', '4749', '2395', '3297', '3515', 'r', 'K', 'a', 'S', 'Q', '3097', 'k', 'B', 'P', '869', 'x', 'u', 'h', 'I', 'e', 'j', '3709', '7675', '2473']

Answer: H, 2329, K, q, 4749, 2395, 3297, 3515, r, K, a, S, Q, 3097, k, B, P, 869, x


Question: 12, ['y', 'c', '6251', '8679', '6297', 'L', '8639', 'w', '1087', '4429', 'v', 'R', 'b', '2219', 'd', 'Q', 'n', '9721', '973', 'E', 'c', 'Y', '6707', '2047', '1269', '4051']

Answer:
y, c, 6251, 8679, 6297, L, 8639, w, 1087, 4429, v, R, b, 2219