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, ['P', '4745', '4089', '9623', 'y', 'H', '265', 'b', '4689', '7359', 'E', '3247', 'y', '3371', '1203', '7315', '951', '4745', '4381', '901', 'b', '1871', '9831', 'q', '7527', 'd']
answer:
P, 4745, 4089, 9623, y, H, 265, b, 4689, 7359, E, 3247, y, 3371, 1203, 7315, 951, 4745, 4381


question:
5, ['h', '1845', 't', '45', 'N', 'j', '4161', 'n', 'I', 'Y', '4091', 'W', 'y', 'C', 'i', 'H', 'd', 'E', '5529', 'e']
answer:
h, 1845, t, 45, N, j, 4161, n, I, Y, 4091, W, y, C, i


question:
8, ['7209', 'e', 'D', 'S', 'D', 'p', '701', '5189', '4227', '8987', '233', '1271', '6543', 'g', '1719', 'x', 'R', '2381', 'D', '1109', '871', '5151', 'x', 'o']
answer:

7209, e, D, S, D, p, 701, 5189, 4227, 8987, 233, 1271, 6543, g, 1719, x