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.
11, ['6307', 'r', '9853', 'v', 'u', '9247', '3095', 't', '9411', '4941', '5503', '5773', '6489', 'y', '4421', 'p', 'z', '8179', '7475', 'D', '5057', 'C', '1997', 'f', 'S', 'O', 'z', '3669', 'L']