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: 4, ['F', 'k', '5745', 'T', 'p', '1283', 'A', '3837', 'y', 'j', '4083', 'm', '879', '1907', '2417', 'Q', '5303', '8327', 'd', '8699', '4873', '4291']

Answer: F, k, 5745, T, p, 1283, A, 3837, y, j, 4083, m, 879, 1907, 2417, Q, 5303, 8327


Question: 10, ['b', 'x', '7977', 'W', '1709', '9149', 'F', '375', '6819', 'c', '6487', 'W', '7829', '4627', 'f', 'k', '5761', 'u', '4451', '7011', 'v', 'C', 'K', 'n', '41', '7439', 'h', 'u']

Answer: b, x, 7977, W, 1709, 9149, F, 375, 6819, c, 6487, W, 7829, 4627, f, k, 5761, u


Question: 2, ['W', 'n', '7081', '5271', 't', '6993', 'x', 'c', 'z', '8067', 'N', 'i', '4129', '4881', 'm', '8441', 'H', '8737', 'v', '1221', 'c', '6019', '5623', 'l', '3403', '8539', 'b', 'c']

Answer:
W, n, 7081, 5271, t, 6993, x, c, z, 8067, N, i, 4129, 4881, m, 8441, H, 8737, v, 1221, c, 6019, 5623, l, 3403, 8539