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, ['5207', '7115', 'J', 't', 'H', 'V', '757', '6055', 'Z', '8945', '909', '9159', 'i', 'W', 'E', '5003', 'N', 'a', '9565', '5033', '827', 'w', '6321', 'r', '2271', 'l']