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.
1, ['6083', '3265', 'l', 'h', 'A', 'Z', 'a', '1161', '8291', '1157', '5695', 'z', '5093', '6133', '3473', 'g', 'Y', '4129', 'V', '2013', '6883', '7271']