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.
2, ['4103', 'v', '4201', 'W', '8653', 'Z', '8487', 'y', 'd', 'x', '4315', '9477', 'n', 'o', '4409', 'j', '9335', '3221', '2693', 'i', 't', 'd', '4729', '6029', 'E', 'j', 'n', 'z']