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, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']

Answer: h, 5371, Y, E, 4733, 9039, w, p


Question: 3, ['4885', 'j', '8139', 'u', 'e', '1617', '5899', 'v', '1121', '8275', 'l', 'F', 'V', '5603', 'a', 'f', '565', 'B', '8819']

Answer: 4885, j, 8139, u, e, 1617, 5899, v, 1121, 8275, l, F, V, 5603, a, f


Question: 1, ['8603', '9713', 'l', '9539', 'j', '5511', '2887', '7197', '6955', 'U', '9081', '7077', 'd', 'f', '7579', '481', '7219', 'r', 'T', '8581', '1739', 'Q', '977', '4875']

Answer:
8603, 9713, l, 9539, j, 5511, 2887, 7197, 6955, U, 9081, 7077, d, f, 7579, 481, 7219, r, T, 8581, 1739, Q, 977