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.
12, ['6951', 'k', 'c', 'i', 'r', 'V', '8969', '3191', 'R', '6055', '4941', 'M', 'B', 'O', 'V', 'g', '6385', 'T', 'e', '8719', '7043', '2277', 'd', '6167', 'r']