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:
3, ['9165', 'N', 'f', '5277', 'J', 'g', '833', '3227']
answer:
9165, N, f, 5277, J


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


question:
1, ['2421', '3275', '6027', 'W', 'x', '2837', 'Z', 'Q', 'U', '739']
answer:

2421, 3275, 6027, W, x, 2837, Z, Q, U