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, ['3087', 'J', 'o', '6193', 'd', '3197', 'u', '2817', '7577', 't', '3919', 'X', '3661', '6409', 'O', '471', 'o', 'C', 'I', '4695', '6485', 'y', '5481', 'l', '2479', 'X', '1653', 'Q', '9925', 'V']