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, ['4707', '6321', '5683', '5743', '6133', 'f', 'g', '5897', 'f', 'b', '4609', '8739', 'D', '7671', 'n', '7827', '5559', 'z', '5929', 'w', '4519', 'W', 'L', '9149', 'F', 'C', 'N', '4559']