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, ['x', 'P', 'P', '5915', 'c', '1339']
answer:
x, P, P


question:
1, ['3541', 'c', '7535', '7105', '5225']
answer:
3541, c, 7535, 7105


question:
3, ['g', 'N', '6869', '13', 'H', '7113', '7949', 'J', '513', '261', 'a', 'h']
answer:

g, N, 6869, 13, H, 7113, 7949, J, 513