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, ['7471', '981', '5705', 'O', 'U', '6941', '5009', 'E', 'S', 'H', 't', '2023', '2103', 'b', 'y', 'T', '6853', '5037', 'O', 'c', '7053', '3319', 'I', '997', '1783', 'B', '7847', '4555', '3395', 'p']