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, ['q', '9759', '6779', '3625', 'x', 'c', '7817', '3689', '2847', '3485', 'H', '9353', '9309', 'I', '8671', 'K', 'Y', '1823', '913', 'e', '9221', '3563', 'x', 'J', 'f', '9777', '1379', '7183']