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, ['a', '3799', '5509', 'r']

Answer: a, 3799


Question: 6, ['6761', '7905', '5853', 'a', 'T', '8867', '6233', 'Q', '2069', '7369', '2497', 'r']

Answer: 6761, 7905, 5853, a, T, 8867


Question: 11, ['h', '2433', '4821', 'v', '8049', '6253', 'H', 'J', 'p', '2453', 'A', '9721', '9265', 'P', '83', '2195', 'A', '5305', '717', '6407', 'd', '1663', 'H', '4021', 'A', 's', '1383']

Answer:
h, 2433, 4821, v, 8049, 6253, H, J, p, 2453, A, 9721, 9265, P, 83, 2195