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.
6, ['C', '2687', '7963', '8615', 'f', '4423', '2015', '5225', 'v', '5581', '2803', '5333', 'A', 'O', 'w', 'd', '4819', 'p', 'B', 'U', '6807', '4687', '4447', 'J', 'M', 'U', '9881', 'e', 's']