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.
10, ['u', '2957', 'R', 'u', 'S', 'Z', 'W', 'f', 'g', '559', 'P', 'l', 'w', '9711', '3841', 'l', 'n', '5929', 'F', 'x', 'q', '5455', '6371', '5155', 't', '9531', '5007', '9463', 'e', '6067']