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, ['7835', '8157', 'q', '1331', '9025', '8057', '1681', '4049', '5333', 'H', '8769', 'h', 'y']
answer:
7835, 8157, q, 1331, 9025, 8057, 1681, 4049, 5333, H


question:
5, ['5315', '8773', 'Z', '4873', 'r', '2929', 'K', 'y', '4997', '6739', 'U', 'j']
answer:
5315, 8773, Z, 4873, r, 2929, K


question:
1, ['621', 'b', '301']
answer:

621, b