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.
7, ['7775', '4249', 'W', '2949', '8243', '5385', '7005', '1321', 'V', '7101', 'x', '4169', '869', 'E', '4197', '1865', 'd', 'D', '7441', 'I', '921', '9955', 'S', 'N', 'B', 'm', 'U']