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, ['6109', 'd']
answer:
6109


question:
2, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']
answer:
977, Z, R, 8793, 2449, 2051


question:
7, ['v', 'h', 'h', 'd', '3629', 'P', '9501', '9031', '8547', 'v', '621', 'Q', 'L', '4557', '181', 'J', 'L', '5861', '7093', '3247', '7877', '2369', '2235', '8623', '4615', '7305', 'J', '5841', '3337']
answer:

v, h, h, d, 3629, P, 9501, 9031, 8547, v, 621, Q, L, 4557, 181, J, L, 5861, 7093, 3247, 7877, 2369