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:
4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
answer:
S, 9397, 3571, 6173, 5707, 3343


question:
7, ['8783', '5381', '2769', '6961', '5223', 's', 'U', 'i', 'd', 'F', '8159', 't', 'H', 'e', 't', '3747', '8047', '8479', '4807', 'T']
answer:
8783, 5381, 2769, 6961, 5223, s, U, i, d, F, 8159, t, H


question:
8, ['r', 'P', '3311', 'z', 'r', '4029', 'C', 'U', '251', 'A', 'h', '7011', 'k', 'v', 'H', '849', '5971', '4367', 'n', 'C']
answer:

r, P, 3311, z, r, 4029, C, U, 251, A, h, 7011