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, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']
answer:
4745, 1001, z, c, 143, d, 3291, r, 5543


question:
2, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']
answer:
G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909


question:
1, ['i', '4793', 'V', 'c', 'R', '8875', '873', '7279', 'B', 'U', '6411']
answer:

i, 4793, V, c, R, 8875, 873, 7279, B, U