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.
5, ['9077', 'G', 'B', '8617', '9063', 'U', '5613', 'M', 'V', '1225', 'S', 'S', 'f', 'H', '7199', 'W', '4673', '4329', 'F', 'z', '425', '7639', '9367', 'w', 'E', 'V', 'L', 'g', 'H', 'n']