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: 1, ['p', '8309', '1559', 'M', '9065']

Answer: p, 8309, 1559, M


Question: 1, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']

Answer: 413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L


Question: 11, ['6307', 'r', '9853', 'v', 'u', '9247', '3095', 't', '9411', '4941', '5503', '5773', '6489', 'y', '4421', 'p', 'z', '8179', '7475', 'D', '5057', 'C', '1997', 'f', 'S', 'O', 'z', '3669', 'L']

Answer:
6307, r, 9853, v, u, 9247, 3095, t, 9411, 4941, 5503, 5773, 6489, y, 4421, p, z, 8179