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.
8, ['b', '4223', '9807', 'x', '3457', '5039', 'D', 'X', 'C', '7361', 'P', 'r', 'I', '1449', 'o', '9315', 'x', '5973', '8745', '9769', 's', '8519', '8567', '8919', '6125', 'u', 'H', 'X', '9609']