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, ['8485', 'u', 'M', 'U', '7251', 'H', '5047', '2895', '2853', '3991', '2189', '5363', '4135', '9561', 'i', 'M', '1655', '1617', 'u', '4625', '6027', '5077', 'D', '2033', '7347', 'e', '6155']