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: 3, ['5109', 'f', 'c', '8429', 'e', 'k', 'q', 'h', '9773', 'j', '6643', '2019', '2625', 'y', '375', '649', '9901', '6511', '9219', 'd']

Answer: 5109, f, c, 8429, e, k, q, h, 9773, j, 6643, 2019, 2625, y, 375, 649, 9901


Question: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

Answer: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759


Question: 3, ['Z', 't', '8689', 'j', '7065', 'g', 'i', '5261', '7243', 'z', 'Q', 'V', '9083', 'L', 'X', '4439']

Answer:
Z, t, 8689, j, 7065, g, i, 5261, 7243, z, Q, V, 9083