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.
1, ['m', 'D', 's', 'c', '5233', '1455', 'F', '6253', 'z', 'i', '7181', 'c', 'w', '8065', '4505', '8581', 'p', '437', '9087', '3785', '1641', '9321']