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, ['B', '1983', '183', '1701', '1653', '2491', '5077', 'W', 'x', 'W', '9505', '63', 'x', 'u', '1955', '3613', 'N', 'e', 'h', 'M', '4913', '1293', 'S', '1753', '5915', '7023', 'e']