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: 6, ['7151', 'S', '4193', '6261', 'H', '4623', '1455', 't', '1421', 'e', '4227', '4719', 'g', 'V', 'Z', 't', 'z', '5603', '5745']

Answer: 7151, S, 4193, 6261, H, 4623, 1455, t, 1421, e, 4227, 4719, g


Question: 12, ['125', 'm', 'Z', 'U', '5187', '1847', '3597', 'x', 'l', '5521', '6473', '3801', 'E', '3577', '6383', '7463', '7343', '6981', 'E', 'p', 'H', '7193', 'K', '4875']

Answer: 125, m, Z, U, 5187, 1847, 3597, x, l, 5521, 6473, 3801


Question: 7, ['8405', 'i', 'v', 'W', '5995', 'I', '4903', '3851', 'M', 'D', '493', '8255', '823', '8803', '3765', '4599', '3889', 's', 'e', '7361', '8213', 'g', '307', '4977', 'd', 'X', '3803', 'c', 'E', '6821']

Answer:
8405, i, v, W, 5995, I, 4903, 3851, M, D, 493, 8255, 823, 8803, 3765, 4599, 3889, s, e, 7361, 8213, g, 307