instruction:
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:
2, ['e', 'G', 'r', '2757', '4199', 'g', 'C', '3207', '3681', 'E', 'l', 'q', '7323', 'P', 'f', 'k']
answer:
e, G, r, 2757, 4199, g, C, 3207, 3681, E, l, q, 7323, P

question:
5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']
answer:
6395, 6931, e, 6777, x, k, r, 8745, 6787

question:
9, ['2053', 'M', 'r', 'Y', '459', 'o', 'c', '9915', 'G', 'M', 'm', 'R', '8963', '1003', '9307', '4385', '5501', '2323']
answer:
2053, M, r, Y, 459, o, c, 9915, G