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.

[Q]: 1, ['6107', '9057', '3107', 'Y', '9471']
[A]: 6107, 9057, 3107, Y


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


[Q]: 6, ['t', 'T', 'r', '7853', 'S', 'y', 'q', '6045', 'G', 't', '4711', 'O', '7893', '9589', 'h', '6465', '4717', '8989', '5519', '8381', '6571', '3047', 'F']
[A]:
t, T, r, 7853, S, y, q, 6045, G, t, 4711, O, 7893, 9589, h, 6465, 4717