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: 5, ['8139', 'u', '9539', 'y', 'w', 'X', 'P', 'f', '3325', 'l', 'M', 'R', 'd', '907', '4147', '9831', '3401', '4645']

Answer: 8139, u, 9539, y, w, X, P, f, 3325, l, M, R, d


Question: 11, ['e', '8171', 'J', '5119', '8649', 'Y', '8227', 'e', 'd', 'e', '7543', 'Q', '1181', 'E', 'z', '4183', 'q', '6261', '6159', 'l', '6315', '3225', '1479', 'i', '2827', '2231', 'l']

Answer: e, 8171, J, 5119, 8649, Y, 8227, e, d, e, 7543, Q, 1181, E, z, 4183


Question: 8, ['O', '6413', 'F', '1129', 'N', 'c', 'v', '9883', '4557', 'd', '8915', 'p', '6975', 'n', 'N', '9245', '1759', 'R', 'p']

Answer:
O, 6413, F, 1129, N, c, v, 9883, 4557, d, 8915