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: 13, ['5269', 'f', 'A', 'y', 'b', '587', '5561', 't', '2711', '247', '6127', 'D', 'y', '2341', '2063', '8487', 'K', 'V', 'M', 'N', '7655', 'U', 'R', 'X', 'k', '2053', '5467']

Answer: 5269, f, A, y, b, 587, 5561, t, 2711, 247, 6127, D, y, 2341


Question: 2, ['4463', '8889', 's', '7611', '8491', '1295']

Answer: 4463, 8889, s, 7611


Question: 5, ['T', '4309', 'x', '9211', 'o', '1127', '7077', '2167', '8159', 'G', 'r', '9671']

Answer:
T, 4309, x, 9211, o, 1127, 7077