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: 7, ['6359', 'e', 'm', '9405', 'G', '1111', '7629', 'j', '1499', 'a', '683', '2853', 'j', 'l', 'g', '8575', '6289', 'B', '5161', '2487', 'z', 'J', 'v', 'K']

Answer: 6359, e, m, 9405, G, 1111, 7629, j, 1499, a, 683, 2853, j, l, g, 8575, 6289


Question: 5, ['s', 'i', '3295', 'n', '1193', 'c', 'Z', 'x', '6739', 's', '8097', '3231', 'D', 'Q', '5999', 'E']

Answer: s, i, 3295, n, 1193, c, Z, x, 6739, s, 8097


Question: 9, ['2879', 'I', 'W', '5879', '3013', 'F', '9259', 'R', '5517', '3349', '1191', 'l', '5405', '9503', '2515', 'H', '1641', 'r', '6907', 'r']

Answer:
2879, I, W, 5879, 3013, F, 9259, R, 5517, 3349, 1191