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.
1, ['f', '8403', '247', '5463', '2683', '8851', '7195', 'p', '2407', 'k', 'I', '4757', 'f', '995', '3427', '5941', '2953', 'e', '4825', 'k', '5553', 'S', 'j', 't', '1343', '3519', '2497']