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.
12, ['8899', 'Y', 'F', '5271', '9', '1271', '1461', 'w', 'A', 'A', '8277', 't', 'g', '3277', 'H', 'a', 'Q', '5361', '1017', 'F', '6609', 'x', 'e', '5253', 'U', '4529', 'o', '2597']