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:
2, ['559', '8799', '4791', '6513', '5939', '3477', 'w']
answer:
559, 8799, 4791, 6513, 5939


question:
4, ['5555', '403', 'a', '7381', 'Q', 'h', '1825', 'e', '9281', '5277', '2639', '8775', '7623']
answer:
5555, 403, a, 7381, Q, h, 1825, e, 9281


question:
3, ['9867', 'S', 'P', 'h', '5615', 'f', 'G', '9829', '1035', 'k', 'A', 'k', '4307', '5665', '361', 'f', '5167', 'D', 'O', 'x', 'u']
answer:

9867, S, P, h, 5615, f, G, 9829, 1035, k, A, k, 4307, 5665, 361, f, 5167, D