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, ['V', '5139', 'G', 'L', '9827', 'm', 'E', '8499', '4761', 'W', '6731', '1859', '2187', '365', 'L', 'C', '4113', '6693', 'N', '5881', '4955', '293', 'W', 'h', '4913', 'P', '5193', '4385', '2819']

Answer: V, 5139, G, L, 9827, m, E, 8499, 4761, W, 6731, 1859, 2187, 365, L, C, 4113, 6693, N, 5881, 4955, 293, W, h, 4913, P, 5193


Question: 6, ['K', '3083', '3121', '2705', 'z', 'm', '3911', 'L', '3587', '9209', 'B', 'I', '4555', '2721', '7415', '9423', 'q', 'D', 'K', 'E', '5119', '7613', 'J', 'R']

Answer: K, 3083, 3121, 2705, z, m, 3911, L, 3587, 9209, B, I, 4555, 2721, 7415, 9423, q, D


Question: 12, ['l', 'D', 'A', '8449', '5019', 'K', 'g', 'v', 'H', '7541', 'm', '5457', '1331', 'Q', '2875', 'd', 'r', '4889', 'B', 't', 'j', 't', 'j', 'z']

Answer:
l, D, A, 8449, 5019, K, g, v, H, 7541, m, 5457