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, ['3207', 'w', 'B', '4179', 'g', '1839', 'L', '8075', 's', '7479', 'f', '6717', '6499']

Answer: 3207, w, B, 4179, g, 1839, L, 8075, s, 7479, f


Question: 4, ['b', 'j', '5513', '2675', 'X', 't', '5799', '3691', 'q', 'v', 'X', 'F', 'Z', '3995', 'K', '5143', 'W', 'L', 'D', 'Y', 'G', 'E']

Answer: b, j, 5513, 2675, X, t, 5799, 3691, q, v, X, F, Z, 3995, K, 5143, W, L


Question: 9, ['J', 'M', 'W', '5759', 'n', 'U', 'C', '5041', '5711', '111', 'h', '5727', '7081', 'E', '3415', '6225', 'x', '9647', '7323', 'I', '4119', '7409', 'X']

Answer:
J, M, W, 5759, n, U, C, 5041, 5711, 111, h, 5727, 7081, E