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, ['t', '5653', '571', 'h', 'w', '417', '8353', '2413', '589', '7417', '5923', 'S', '3273', 'l', 'b', '6141', '2225', 'Q', '7799', '6173', 'x', 'N', 'F', '25', '7619', 'w', '4133', '7933']