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, ['m', '8913', '8767', 'o', 'V', '3455', 'z', 'Q', 'D', 'y', '8551', 'd', '9031', 'L', '553', 'g', 'R', '9809', 'C', 'n', 'J', 'h', '9261', '9751', '3085', 'h', '3603', '5591']