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, ['W', 's', 's', 'F', 'J', '9565', '3221', '8125', 'p', 'F', 'V', '4257', '7759', '7035', 'D', '4755', '9061', '5457', '5393', 'v', 'R', 'd', '6485', '7229']