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.
13, ['k', 'U', 's', '6813', 'I', 'o', 'e', 's', 'e', 'F', 'U', '4877', '9559', 's', 'v', '8275', 'Y', '1085', '5169', '2051', 'g', 'a', '4641', 'u', 'a', '3999', 'W']