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:
7, ['D', 'K', '9949', 'T', '8527', 'c', 'P', 'm', 'R', '2179', '8543', '5025', 'F', '2843', '9401', 'd', '8081', '567']
answer:
D, K, 9949, T, 8527, c, P, m, R, 2179, 8543

question:
14, ['G', '5405', '4479', 'V', '9657', 't', 'M', '3929', '4503', '4741', 'k', 's', 'R', 'K', '2139', '9701', '3753', '5369', 'd', '29', 'u', '8415', 'Z', 'x', 'Q', '7263', '7257', '6581', 'V']
answer:
G, 5405, 4479, V, 9657, t, M, 3929, 4503, 4741, k, s, R, K, 2139

question:
10, ['4097', 'A', '2199', 'm', 'Y', '6065', '9761', '6491', 'N', 'i', '7003', '9077', '589', 'x', 'W', '4763', 't', '9819', '2899', '3591', '4827', '7219', 'Y', 'a', 'g', 'q', 'm']
answer:
4097, A, 2199, m, Y, 6065, 9761, 6491, N, i, 7003, 9077, 589, x, W, 4763, t