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.
9, ['G', '807', 'l', 'H', '6167', 'E', '6025', 'M', 'p', '375', 'z', '9043', 'd', 'D', 'D', '4193', '3089', '2297', '1907', 'O', 'O', 'r', 'O', 'P', 'c', '291', 'v']