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, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']
answer:
4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723


question:
3, ['3395', '1491', '6533', 'W', 'Q', 'I', 'R']
answer:
3395, 1491, 6533, W


question:
1, ['E', '67', '3763', 's', 'u', '7707', 'K']
answer:

E, 67, 3763, s, u, 7707