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.
4, ['v', 'g', 't', 'G', '33', 'q', 'G', '2307', '9213', 'C', 'v', '2953', '887', '2791', 'P', '7443', 'I', 'S', '4819', '5707', 'B', 'k', '3827', 'j', '5133']