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:
1, ['e', 'M', '5065', 'T', 'm', 'f', 'a', 'a', '5383', 'H', 'D', '7711', '5143', '6705', 't', 'E', 'o', '1853', '4821']
answer:
e, M, 5065, T, m, f, a, a, 5383, H, D, 7711, 5143, 6705, t, E, o, 1853

question:
5, ['5145', '3227', 'E', 'S', '3051', 'J', 'Y', '7723', 'e', '5787', '2113', 'D']
answer:
5145, 3227, E, S, 3051, J, Y

question:
9, ['1965', 'Z', 'K', '4999', '2605', 'g', 'a', '153', '6039', '7343', '2027', 'e', '6077', '2311', 'k', 'J', '2917', 'b', '9623', '6301', 'o', '6733', '5535', 'p', 'V']
answer:
1965, Z, K, 4999, 2605, g, a, 153, 6039, 7343, 2027, e, 6077, 2311, k, J