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, ['5697', '7693', '2467', 'G', 'a', 'Q', '7179', '2733', '2523', '3973', 'L', 'u', 'x', '2647', '5685', '5193', '2193', 'c', '2985', '5369', 'I', 'J', 'x', '2183', '4709', '9133', '1833', '9457']