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.
3, ['m', '983', '9395', '1185', '7085', 'C', 'f', 'R', 'C', 'e', '3319', '8759', '7807', '9139', 'n', '3927', 'd', 'z', '9345', 'r', '5715', 'S', 'x', '3677', '9859', 'B', 'l', '9357', 'n']