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.
7, ['L', 'b', '4411', 'w', 'c', '2259', '197', '1933', 'j', 'r', 'a', '8159', 'v', 'e', 'W', 'F', 'I', 'G', '1549', 'R', '7743', 'T', '5329', 'x', 'B', 'j', 'W']