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.
3, ['8761', '8327', 'U', 'q', '3797', '9115', '7565', 'K', 'y', '7591', '3411', 'Z', '9419', '4503', 'w', '217', '9109', 'v', '55', 't', 'H']