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, ['U', 'a', '5763', 'b', 'B', '1855', '9083', 'f', '2933', 'V', '6081', '9723', '8183', 'v', 'k', '9493', '2977', '3983', 'U', '8803', 'B', '4197', 'F', '2819', '8113', '5643', '4833', 'd']