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', '1207', '7805', '1969', 'I', 'K', '1139', '5867', 'G', 'C', 'h', 'q', '2679', '2571', '6509', '6869', 'P', 'y', '4399', '763', '999', 'T', '8855', '4887', 'j', 'K', 'P', '8981']