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.
15, ['7819', 'w', '6065', 'd', '123', 's', 'h', 'w', 'W', 'f', 'i', 'u', '8275', 'X', '2279', '9479', '7577', 'G', 'u', 'e', '7007', '2277', 'U', '5113', '7171', 'i', '3601', 'c', '2591', '2925']