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.
2, ['j', 'y', '8329', '8767', '4317', 'V', 'E', '5071', 'C', '113', '3427', '1173', 'V', 'E', '2483', '2867', '1477', 'z', 'D', '8767', '9969']