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, ['5463', '8901', '7451', 's', 'e', '6745', '8731', '5405', '4231', '2045', 'J', '9721', 'n', 'h', 's', 'G', 'D', '9325', '561', 'E', 'G', 'h', 'n', '5591', '2299']