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.
3, ['c', 'd', '5033', 'I', '5729', '2633', '9807', 'c', 'c', 'M', '7729', '4335', '9945', '119', 't', 'R', '2169', 'A', '2521', 'G', '1957', '7233', 'W', 'I', 'v', 'V']