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, ['1853', '8279', 't', 'B', '1367', '4741', '2413', 'M', '7667', '9113', '9247', 'y', '7743', '2551', 'G', 'I', 'c', 'u', 'n', 'I', 'a', '4291', '143', '3769', 'b', '8911', '9695', '287']