Detailed Instructions: 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: 6, ['2541', '9195', '4373', '1803', 'G', 'J', 'W', '9827', '199', '2391', '8799', '1095', 'A', '3227', 'L']
A:
2541, 9195, 4373, 1803, G, J, W, 9827, 199