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.
14, ['y', '4531', 'C', 'B', '5387', '4277', '9827', 'Z', 'u', '9293', 'H', 'x', 'z', '8207', '3537', '6929', 'H', 'X', 'e', 'L', 'X', '2181', '79', 'p', 'z', 'e', 'q', '2355', '755', 'k']