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, ['8031', 'E', '1943', 'R', 'b', 'o', '4755', '3071', 't', '4733', 'V', 's', '1631', '4689', '5137', '6839', '2559', 'C', 'V', 't', '7141', '1053', 'C', 'r', '7971', '6175', '5077']