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, ['2711', '6013', '6759', 't', '3603', '3755', 'M', '3011', '1211', '8869', '4441', 'z', '4731', 'd', 'H', '3803', 'O', 'G', 'R', 'P', '4599', '5989', 'a', '6221', '8243', '6697']