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, ['4075', 'h', '6311', 'B', 'g', 'u', '6103', '3717', 's', 'h', 'i', 'I', 'p', 'L', '5809', '7509', 'G', '3183', 'I', '7571', '2241', '2851', 'x', '3365', 'u', 'E', '6033']