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.
1, ['6657', '7595', 'G', 'V', '4745', 'g', 'D', 'w', '4613', 'b', '711', '9787', 's', '9233', 'U', '3715', '1875', 'o', 'k', '9969', '4729', '7443', 'M', '451', 'U', '6693']