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, ['s', '5597', '6835', 'p', '171', 'C']
answer:
s, 5597, 6835, p, 171


question:
1, ['s', 'C', 'B', 'L', 'f']
answer:
s, C, B, L


question:
10, ['K', '7289', '5127', 'J', 'K', '6587', 'g', '6767', 'i', '5969', 'g', 'A', 'k', '3717', '4461', 'A', 'J', '8079', 'T', '1731', '5215', 'c', '661', 'P', '4979', '449']
answer:

K, 7289, 5127, J, K, 6587, g, 6767, i, 5969, g, A, k, 3717, 4461, A