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, ['1135', '9103', '3339', '121', 'l', '8663', '2781', 'N', '9209', '1681', 'T', '2087', '6415', 'Y', 'c', 'e', 'g', 'q', '1369', '1361', 'C', '1483', 'E']