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.
3, ['2069', '4471', '2767', 'Y', '1143', '1183', 'H', '7983', 'L', '5265', 'u', '2533', '8901', 'g', '3229', '8797', '2897', '825', '9573', '975', 's', '2983', 'U', 'T', '2661', '117', 'B']