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.
11, ['9305', '5103', 'f', '3735', 'G', 'h', '7897', '2931', '8513', '8293', '9593', '6517', '4015', 'e', 'l', 'o', 'X', 'l', 'O', '399', '287', 'w', 'h']