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: 3, ['R', '7505', 'z', '3269', 'r', 'L', 'Q', '3693', '4919', '963', 'R', 'i', 'C', 'O']

Answer: R, 7505, z, 3269, r, L, Q, 3693, 4919, 963, R


Question: 10, ['B', '9661', 'L', 'A', '8735', '5487', 'n', 'd', 'h', '6199', '5419', 't', '7899', '2907', '725', '4153', '6577', 'Q', '5947', 'B']

Answer: B, 9661, L, A, 8735, 5487, n, d, h, 6199


Question: 6, ['3311', 's', 'D', '3145', 'I', '5301', '5441', '8329', '3307', '4745', 'O', '5071', 'm', '9349']

Answer:
3311, s, D, 3145, I, 5301, 5441, 8329