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, ['5821', '5977', '5433', 'V', 'r', '8257', '9097', '1943', '8199', 'u', '6249', '559']
answer:
5821, 5977, 5433, V, r, 8257, 9097, 1943


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:
8, ['371', '2861', 't', 'W', '4283', '3705', '6817', '3797', 'g', '7871', '6235', 'L', 'D', 'G', 'H', '6221', '4269', 'M', '8997']
answer:

371, 2861, t, W, 4283, 3705, 6817, 3797, g, 7871, 6235